p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in linux-bluefield · Seite 115

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für linux-bluefield: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 3291

  1. CVE-2021-47237

    Mittel · CVSS 5.5EPSS 0,23%Korrektur verfügbar

    net: hamradio: fix memory leak in mkiss_close

    In the Linux kernel, the following vulnerability has been resolved: net: hamradio: fix memory leak in mkiss_close My local syzbot instance hit memory leak in mkiss_open()[1]. The problem was in missing free_netdev() in mkiss_close(). In mkiss_open() netdevice is allocated and then registered, but in mkiss_close() netdevice was only unregistered, but not freed. Fail log: BUG: memory leak unreferenced object 0xffff8880281ba000 (size 4096): comm "syz-executor.1", pid 11443, jiffies 4295046091 (age 17.660s) hex dump (first 32 bytes): 61 78 30 00 00 00 00 00 00 00 00 00 00 00 00 00 ax0............. 00 27 fa 2a 80 88 ff ff 00 00 0

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2021-47236

    Mittel · CVSS 5.5EPSS 0,23%Korrektur verfügbar

    net: cdc_eem: fix tx fixup skb leak

    In the Linux kernel, the following vulnerability has been resolved: net: cdc_eem: fix tx fixup skb leak when usbnet transmit a skb, eem fixup it in eem_tx_fixup(), if skb_copy_expand() failed, it return NULL, usbnet_start_xmit() will have no chance to free original skb. fix it by free orginal skb in eem_tx_fixup() first, then check skb clone status, if failed, return NULL to usbnet.

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  3. CVE-2021-47235

    Hoch · CVSS 7.8EPSS 0,23%Korrektur verfügbar

    net: ethernet: fix potential use-after-free in ec_bhf_remove

    In the Linux kernel, the following vulnerability has been resolved: net: ethernet: fix potential use-after-free in ec_bhf_remove static void ec_bhf_remove(struct pci_dev *dev) { ... struct ec_bhf_priv *priv = netdev_priv(net_dev); unregister_netdev(net_dev); free_netdev(net_dev); pci_iounmap(dev, priv->dma_io); pci_iounmap(dev, priv->io); ... } priv is netdev private data, but it is used after free_netdev(). It can cause use-after-free when accessing priv pointer. So, fix it by moving free_netdev() after pci_iounmap() calls.

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2021-47232

    Kritisch · CVSS 9.8EPSS 0,62%Korrektur verfügbar

    can: j1939: fix Use-after-Free, hold skb ref while in use

    In the Linux kernel, the following vulnerability has been resolved: can: j1939: fix Use-after-Free, hold skb ref while in use This patch fixes a Use-after-Free found by the syzbot. The problem is that a skb is taken from the per-session skb queue, without incrementing the ref count. This leads to a Use-after-Free if the skb is taken concurrently from the session queue due to a CTS.

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  5. CVE-2021-47231

    Mittel · CVSS 5.5EPSS 0,23%Korrektur verfügbar

    can: mcba_usb: fix memory leak in mcba_usb

    In the Linux kernel, the following vulnerability has been resolved: can: mcba_usb: fix memory leak in mcba_usb Syzbot reported memory leak in SocketCAN driver for Microchip CAN BUS Analyzer Tool. The problem was in unfreed usb_coherent. In mcba_usb_start() 20 coherent buffers are allocated and there is nothing, that frees them: 1) In callback function the urb is resubmitted and that's all 2) In disconnect function urbs are simply killed, but URB_FREE_BUFFER is not set (see mcba_usb_start) and this flag cannot be used with coherent buffers. Fail log: | [ 1354.053291][ T8413] mcba_usb 1-1:0.0 can0: device disconnected | [ 1367.059384

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  6. CVE-2021-47230

    Mittel · CVSS 6.6EPSS 0,23%Korrektur verfügbar

    KVM: x86: Immediately reset the MMU context when the SMM flag is cleared

    In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Immediately reset the MMU context when the SMM flag is cleared Immediately reset the MMU context when the vCPU's SMM flag is cleared so that the SMM flag in the MMU role is always synchronized with the vCPU's flag. If RSM fails (which isn't correctly emulated), KVM will bail without calling post_leave_smm() and leave the MMU in a bad state. The bad MMU role can lead to a NULL pointer dereference when grabbing a shadow page's rmap for a page fault as the initial lookups for the gfn will happen with the vCPU's SMM flag (=0), whereas the rmap lookup will use the sh

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  7. CVE-2021-47229

    Mittel · CVSS 5.5EPSS 0,23%Korrektur verfügbar

    PCI: aardvark: Fix kernel panic during PIO transfer

    In the Linux kernel, the following vulnerability has been resolved: PCI: aardvark: Fix kernel panic during PIO transfer Trying to start a new PIO transfer by writing value 0 in PIO_START register when previous transfer has not yet completed (which is indicated by value 1 in PIO_START) causes an External Abort on CPU, which results in kernel panic: SError Interrupt on CPU0, code 0xbf000002 -- SError Kernel panic - not syncing: Asynchronous SError Interrupt To prevent kernel panic, it is required to reject a new PIO transfer when previous one has not finished yet. If previous PIO transfer is not finished yet, the kernel may issue a

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  8. CVE-2021-47228

    Mittel · CVSS 6.2EPSS 0,24%Korrektur verfügbar

    x86/ioremap: Map EFI-reserved memory as encrypted for SEV

    In the Linux kernel, the following vulnerability has been resolved: x86/ioremap: Map EFI-reserved memory as encrypted for SEV Some drivers require memory that is marked as EFI boot services data. In order for this memory to not be re-used by the kernel after ExitBootServices(), efi_mem_reserve() is used to preserve it by inserting a new EFI memory descriptor and marking it with the EFI_MEMORY_RUNTIME attribute. Under SEV, memory marked with the EFI_MEMORY_RUNTIME attribute needs to be mapped encrypted by Linux, otherwise the kernel might crash at boot like below: EFI Variables Facility v0.08 2004-May-17 general protection fault, proba

    • Auf 5.4.0-1025.28 aktualisieren
    Veröffentlicht Aktualisiert
  9. CVE-2021-47224

    Hoch · CVSS 7.8EPSS 0,23%Korrektur verfügbar

    net: ll_temac: Make sure to free skb when it is completely used

    In the Linux kernel, the following vulnerability has been resolved: net: ll_temac: Make sure to free skb when it is completely used With the skb pointer piggy-backed on the TX BD, we have a simple and efficient way to free the skb buffer when the frame has been transmitted. But in order to avoid freeing the skb while there are still fragments from the skb in use, we need to piggy-back on the TX BD of the skb, not the first. Without this, we are doing use-after-free on the DMA side, when the first BD of a multi TX BD packet is seen as completed in xmit_done, and the remaining BDs are still being processed.

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  10. CVE-2021-47223

    Mittel · CVSS 5.7EPSS 0,24%Korrektur verfügbar

    net: bridge: fix vlan tunnel dst null pointer dereference

    In the Linux kernel, the following vulnerability has been resolved: net: bridge: fix vlan tunnel dst null pointer dereference This patch fixes a tunnel_dst null pointer dereference due to lockless access in the tunnel egress path. When deleting a vlan tunnel the tunnel_dst pointer is set to NULL without waiting a grace period (i.e. while it's still usable) and packets egressing are dereferencing it without checking. Use READ/WRITE_ONCE to annotate the lockless use of tunnel_id, use RCU for accessing tunnel_dst and make sure it is read only once and checked in the egress path. The dst is already properly RCU protected so we don't need to do

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  11. CVE-2021-47222

    Hoch · CVSS 7.8EPSS 0,25%Korrektur verfügbar

    net: bridge: fix vlan tunnel dst refcnt when egressing

    In the Linux kernel, the following vulnerability has been resolved: net: bridge: fix vlan tunnel dst refcnt when egressing The egress tunnel code uses dst_clone() and directly sets the result which is wrong because the entry might have 0 refcnt or be already deleted, causing number of problems. It also triggers the WARN_ON() in dst_hold()[1] when a refcnt couldn't be taken. Fix it by using dst_hold_safe() and checking if a reference was actually taken before setting the dst. [1] dmesg WARN_ON log and following refcnt errors WARNING: CPU: 5 PID: 38 at include/net/dst.h:230 br_handle_egress_vlan_tunnel+0x10b/0x134 [bridge] Modules linked i

    • Auf 5.4.0-1019.22 aktualisieren
    Veröffentlicht Aktualisiert
  12. CVE-2024-36007

    Hoch · CVSS 7.8EPSS 0,23%Korrektur verfügbar

    mlxsw: spectrum_acl_tcam: Fix warning during rehash

    In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_acl_tcam: Fix warning during rehash As previously explained, the rehash delayed work migrates filters from one region to another. This is done by iterating over all chunks (all the filters with the same priority) in the region and in each chunk iterating over all the filters. When the work runs out of credits it stores the current chunk and entry as markers in the per-work context so that it would know where to resume the migration from the next time the work is scheduled. Upon error, the chunk marker is reset to NULL, but without resetting the entry marke

    • Auf 5.4.0-1088.95 aktualisieren
    Veröffentlicht Aktualisiert
  13. CVE-2024-36006

    Mittel · CVSS 5.6EPSS 0,23%Korrektur verfügbar

    mlxsw: spectrum_acl_tcam: Fix incorrect list API usage

    In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_acl_tcam: Fix incorrect list API usage Both the function that migrates all the chunks within a region and the function that migrates all the entries within a chunk call list_first_entry() on the respective lists without checking that the lists are not empty. This is incorrect usage of the API, which leads to the following warning [1]. Fix by returning if the lists are empty as there is nothing to migrate in this case. [1] WARNING: CPU: 0 PID: 6437 at drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c:1266 mlxsw_sp_acl_tcam_vchunk_migrate_all+0x1f1/0>

    • Auf 5.4.0-1088.95 aktualisieren
    Veröffentlicht Aktualisiert
  14. CVE-2024-36004

    Mittel · CVSS 5.7EPSS 0,25%Korrektur verfügbar

    i40e: Do not use WQ_MEM_RECLAIM flag for workqueue

    In the Linux kernel, the following vulnerability has been resolved: i40e: Do not use WQ_MEM_RECLAIM flag for workqueue Issue reported by customer during SRIOV testing, call trace: When both i40e and the i40iw driver are loaded, a warning in check_flush_dependency is being triggered. This seems to be because of the i40e driver workqueue is allocated with the WQ_MEM_RECLAIM flag, and the i40iw one is not. Similar error was encountered on ice too and it was fixed by removing the flag. Do the same for i40e too. [Feb 9 09:08] ------------[ cut here ]------------ [ +0.000004] workqueue: WQ_MEM_RECLAIM i40e:i40e_service_task [i40e] is flushing

    • Auf 5.4.0-1088.95 aktualisieren
    Veröffentlicht Aktualisiert
  15. CVE-2024-35997

    Mittel · CVSS 5.5EPSS 0,18%Korrektur verfügbar

    HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up

    In the Linux kernel, the following vulnerability has been resolved: HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up The flag I2C_HID_READ_PENDING is used to serialize I2C operations. However, this is not necessary, because I2C core already has its own locking for that. More importantly, this flag can cause a lock-up: if the flag is set in i2c_hid_xfer() and an interrupt happens, the interrupt handler (i2c_hid_irq) will check this flag and return immediately without doing anything, then the interrupt handler will be invoked again in an infinite loop. Since interrupt handler is an RT task, it takes over the CPU and the fla

    • Auf 5.4.0-1088.95 aktualisieren
    Veröffentlicht Aktualisiert
  16. CVE-2024-35984

    Mittel · CVSS 5.5EPSS 0,26%Korrektur verfügbar

    i2c: smbus: fix NULL function pointer dereference

    In the Linux kernel, the following vulnerability has been resolved: i2c: smbus: fix NULL function pointer dereference Baruch reported an OOPS when using the designware controller as target only. Target-only modes break the assumption of one transfer function always being available. Fix this by always checking the pointer in __i2c_transfer. [wsa: dropped the simplification in core-smbus to avoid theoretical regressions]

    • Auf 5.4.0-1088.95 aktualisieren
    Veröffentlicht Aktualisiert
  17. CVE-2024-35982

    Mittel · CVSS 5.1EPSS 0,26%Korrektur verfügbar

    batman-adv: Avoid infinite loop trying to resize local TT

    In the Linux kernel, the following vulnerability has been resolved: batman-adv: Avoid infinite loop trying to resize local TT If the MTU of one of an attached interface becomes too small to transmit the local translation table then it must be resized to fit inside all fragments (when enabled) or a single packet. But if the MTU becomes too low to transmit even the header + the VLAN specific part then the resizing of the local TT will never succeed. This can for example happen when the usable space is 110 bytes and 11 VLANs are on top of batman-adv. In this case, at least 116 byte would be needed. There will just be an endless spam of ba

    • Auf 5.4.0-1088.95 aktualisieren
    Veröffentlicht Aktualisiert
  18. CVE-2024-35978

    Mittel · CVSS 6.8EPSS 0,28%Korrektur verfügbar

    Bluetooth: Fix memory leak in hci_req_sync_complete()

    In the Linux kernel, the following vulnerability has been resolved: Bluetooth: Fix memory leak in hci_req_sync_complete() In 'hci_req_sync_complete()', always free the previous sync request state before assigning reference to a new one.

    • Auf 5.4.0-1088.95 aktualisieren
    Veröffentlicht Aktualisiert
  19. CVE-2024-35976

    Hoch · CVSS 7.1EPSS 0,26%Korrektur verfügbar

    xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING

    In the Linux kernel, the following vulnerability has been resolved: xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING syzbot reported an illegal copy in xsk_setsockopt() [1] Make sure to validate setsockopt() @optlen parameter. [1] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in xsk_setsockopt+0x909/0xa40 net/xdp/xsk.c:1420 Read of size 4 at addr ffff888028c6cde3 by task syz-executor.0/7549 CPU: 0 PID: 7549 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-0

    • Auf 5.4.0-1090.97 aktualisieren
    Veröffentlicht Aktualisiert
  20. CVE-2024-35973

    Mittel · CVSS 5.5EPSS 0,25%Korrektur verfügbar

    geneve: fix header validation in geneve[6]_xmit_skb

    In the Linux kernel, the following vulnerability has been resolved: geneve: fix header validation in geneve[6]_xmit_skb syzbot is able to trigger an uninit-value in geneve_xmit() [1] Problem : While most ip tunnel helpers (like ip_tunnel_get_dsfield()) uses skb_protocol(skb, true), pskb_inet_may_pull() is only using skb->protocol. If anything else than ETH_P_IPV6 or ETH_P_IP is found in skb->protocol, pskb_inet_may_pull() does nothing at all. If a vlan tag was provided by the caller (af_packet in the syzbot case), the network header might not point to the correct location, and skb linear part could be smaller than expected. Add skb_vlan

    • Auf 5.4.0-1088.95 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →