p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de linux-hwe-5.4 · Page n° 62

Vulnérabilité publiée pour linux-hwe-5.4 au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 1775

  1. CVE-2021-47086

    Moyenne · CVSS 5.5EPSS 0,23%Correctif disponible

    phonet/pep: refuse to enable an unbound pipe

    In the Linux kernel, the following vulnerability has been resolved: phonet/pep: refuse to enable an unbound pipe This ioctl() implicitly assumed that the socket was already bound to a valid local socket name, i.e. Phonet object. If the socket was not bound, two separate problems would occur: 1) We'd send an pipe enablement request with an invalid source object. 2) Later socket calls could BUG on the socket unexpectedly being connected yet not bound to a valid object.

    • Mettez à jour vers 5.4.0-105.119~18.04.1
    Publication Mise à jour
  2. CVE-2021-47078

    Élevée · CVSS 7.8EPSS 0,28%Correctif disponible

    RDMA/rxe: Clear all QP fields if creation failed

    In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Clear all QP fields if creation failed rxe_qp_do_cleanup() relies on valid pointer values in QP for the properly created ones, but in case rxe_qp_from_init() failed it was filled with garbage and caused tot the following error. refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 12560 at lib/refcount.c:28 refcount_warn_saturate+0x1d1/0x1e0 lib/refcount.c:28 Modules linked in: CPU: 1 PID: 12560 Comm: syz-executor.4 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010

    • Mettez à jour vers 5.4.0-80.90~18.04.1
    Publication Mise à jour
  3. CVE-2021-47073

    Moyenne · CVSS 5.5EPSS 0,24%Correctif disponible

    platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios

    In the Linux kernel, the following vulnerability has been resolved: platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios init_dell_smbios_wmi() only registers the dell_smbios_wmi_driver on systems where the Dell WMI interface is supported. While exit_dell_smbios_wmi() unregisters it unconditionally, this leads to the following oops: [ 175.722921] ------------[ cut here ]------------ [ 175.722925] Unexpected driver unregister! [ 175.722939] WARNING: CPU: 1 PID: 3630 at drivers/base/driver.c:194 driver_unregister+0x38/0x40 ... [ 175.723089] Call Trace: [ 175.723094] cleanup_module+0x5/0xedd [dell_smbios] ... [ 175.723148] ---[

    • Mettez à jour vers 5.4.0-80.90~18.04.1
    Publication Mise à jour
  4. CVE-2021-47071

    Moyenne · CVSS 5.5EPSS 0,24%Correctif disponible

    uio_hv_generic: Fix a memory leak in error handling paths

    In the Linux kernel, the following vulnerability has been resolved: uio_hv_generic: Fix a memory leak in error handling paths If 'vmbus_establish_gpadl()' fails, the (recv|send)_gpadl will not be updated and 'hv_uio_cleanup()' in the error handling path will not be able to free the corresponding buffer. In such a case, we need to free the buffer explicitly.

    • Mettez à jour vers 5.4.0-80.90~18.04.1
    Publication Mise à jour
  5. CVE-2021-47068

    Élevée · CVSS 7.8EPSS 0,23%Correctif disponible

    net/nfc: fix use-after-free llcp_sock_bind/connect

    In the Linux kernel, the following vulnerability has been resolved: net/nfc: fix use-after-free llcp_sock_bind/connect Commits 8a4cd82d ("nfc: fix refcount leak in llcp_sock_connect()") and c33b1cc62 ("nfc: fix refcount leak in llcp_sock_bind()") fixed a refcount leak bug in bind/connect but introduced a use-after-free if the same local is assigned to 2 different sockets. This can be triggered by the following simple program: int sock1 = socket( AF_NFC, SOCK_STREAM, NFC_SOCKPROTO_LLCP ); int sock2 = socket( AF_NFC, SOCK_STREAM, NFC_SOCKPROTO_LLCP ); memset( &addr, 0, sizeof(struct sockaddr_nfc_llcp) ); addr.sa_family = AF_N

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  6. CVE-2021-47065

    Élevée · CVSS 7.8EPSS 0,24%Correctif disponible

    rtw88: Fix array overrun in rtw_get_tx_power_params()

    In the Linux kernel, the following vulnerability has been resolved: rtw88: Fix array overrun in rtw_get_tx_power_params() Using a kernel with the Undefined Behaviour Sanity Checker (UBSAN) enabled, the following array overrun is logged: ================================================================================ UBSAN: array-index-out-of-bounds in /home/finger/wireless-drivers-next/drivers/net/wireless/realtek/rtw88/phy.c:1789:34 index 5 is out of range for type 'u8 [5]' CPU: 2 PID: 84 Comm: kworker/u16:3 Tainted: G O 5.12.0-rc5-00086-gd88bba47038e-dirty #651 Hardware name: TOSHIBA TECRA A50-A/TECRA A50-A, BIOS Version 4

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  7. CVE-2021-47060

    Élevée · CVSS 7.8EPSS 0,24%Correctif disponible

    KVM: Stop looking for coalesced MMIO zones if the bus is destroyed

    In the Linux kernel, the following vulnerability has been resolved: KVM: Stop looking for coalesced MMIO zones if the bus is destroyed Abort the walk of coalesced MMIO zones if kvm_io_bus_unregister_dev() fails to allocate memory for the new instance of the bus. If it can't instantiate a new bus, unregister_dev() destroys all devices _except_ the target device. But, it doesn't tell the caller that it obliterated the bus and invoked the destructor for all devices that were on the bus. In the coalesced MMIO case, this can result in a deleted list entry dereference due to attempting to continue iterating on coalesced_zones after future ent

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  8. CVE-2021-47058

    Élevée · CVSS 7.8EPSS 0,25%Correctif disponible

    regmap: set debugfs_name to NULL after it is freed

    In the Linux kernel, the following vulnerability has been resolved: regmap: set debugfs_name to NULL after it is freed There is a upstream commit cffa4b2122f5("regmap:debugfs: Fix a memory leak when calling regmap_attach_dev") that adds a if condition when create name for debugfs_name. With below function invoking logical, debugfs_name is freed in regmap_debugfs_exit(), but it is not created again because of the if condition introduced by above commit. regmap_reinit_cache() regmap_debugfs_exit() ... regmap_debugfs_init() So, set debugfs_name to NULL after it is freed.

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  9. CVE-2021-47056

    Moyenne · CVSS 5.5EPSS 0,23%Correctif disponible

    crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init

    In the Linux kernel, the following vulnerability has been resolved: crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init ADF_STATUS_PF_RUNNING is (only) used and checked by adf_vf2pf_shutdown() before calling adf_iov_putmsg()->mutex_lock(vf2pf_lock), however the vf2pf_lock is initialized in adf_dev_init(), which can fail and when it fail, the vf2pf_lock is either not initialized or destroyed, a subsequent use of vf2pf_lock will cause issue. To fix this issue, only set this flag if adf_dev_init() returns 0. [ 7.178404] BUG: KASAN: user-memory-access in __mutex_lock.isra.0+0x1ac/0x7c0 [ 7.180345] Call Trace: [ 7.1825

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  10. CVE-2021-47055

    Élevée · CVSS 7.1EPSS 0,2%Correctif disponible

    mtd: require write permissions for locking and badblock ioctls

    In the Linux kernel, the following vulnerability has been resolved: mtd: require write permissions for locking and badblock ioctls MEMLOCK, MEMUNLOCK and OTPLOCK modify protection bits. Thus require write permission. Depending on the hardware MEMLOCK might even be write-once, e.g. for SPI-NOR flashes with their WP# tied to GND. OTPLOCK is always write-once. MEMSETBADBLOCK modifies the bad block table.

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  11. CVE-2021-47054

    Moyenne · CVSS 5.5EPSS 0,24%Correctif disponible

    bus: qcom: Put child node before return

    In the Linux kernel, the following vulnerability has been resolved: bus: qcom: Put child node before return Put child node before return to fix potential reference count leak. Generally, the reference count of child is incremented and decremented automatically in the macro for_each_available_child_of_node() and should be decremented manually if the loop is broken in loop body.

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  12. CVE-2021-47020

    Moyenne · CVSS 5.5EPSS 0,23%Correctif disponible

    soundwire: stream: fix memory leak in stream config error path

    In the Linux kernel, the following vulnerability has been resolved: soundwire: stream: fix memory leak in stream config error path When stream config is failed, master runtime will release all slave runtime in the slave_rt_list, but slave runtime is not added to the list at this time. This patch frees slave runtime in the config error path to fix the memory leak.

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  13. CVE-2021-47016

    Moyenne · CVSS 5.5EPSS 0,22%Correctif disponible

    m68k: mvme147,mvme16x: Don't wipe PCC timer config bits

    In the Linux kernel, the following vulnerability has been resolved: m68k: mvme147,mvme16x: Don't wipe PCC timer config bits Don't clear the timer 1 configuration bits when clearing the interrupt flag and counter overflow. As Michael reported, "This results in no timer interrupts being delivered after the first. Initialization then hangs in calibrate_delay as the jiffies counter is not updated." On mvme16x, enable the timer after requesting the irq, consistent with mvme147.

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  14. CVE-2021-46959

    Élevée · CVSS 7.8EPSS 0,24%Correctif disponible

    spi: Fix use-after-free with devm_spi_alloc_*

    In the Linux kernel, the following vulnerability has been resolved: spi: Fix use-after-free with devm_spi_alloc_* We can't rely on the contents of the devres list during spi_unregister_controller(), as the list is already torn down at the time we perform devres_find() for devm_spi_release_controller. This causes devices registered with devm_spi_alloc_{master,slave}() to be mistakenly identified as legacy, non-devm managed devices and have their reference counters decremented below 0. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 660 at lib/refcount.c:28 refcount_warn_saturate+0x108/0x174 [<b0396f04>] (refcount_warn_saturate) fr

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  15. CVE-2021-47051

    Moyenne · CVSS 5.5EPSS 0,22%Correctif disponible

    spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()

    In the Linux kernel, the following vulnerability has been resolved: spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware() pm_runtime_get_sync will increment pm usage counter even it failed. Forgetting to putting operation will result in reference leak here. Fix it by replacing it with pm_runtime_resume_and_get to keep usage counter balanced.

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  16. CVE-2021-47041

    Élevée · CVSS 7.5EPSS 0,49%Correctif disponible

    nvmet-tcp: fix incorrect locking in state_change sk callback

    In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix incorrect locking in state_change sk callback We are not changing anything in the TCP connection state so we should not take a write_lock but rather a read lock. This caused a deadlock when running nvmet-tcp and nvme-tcp on the same system, where state_change callbacks on the host and on the controller side have causal relationship and made lockdep report on this with blktests: ================================ WARNING: inconsistent lock state 5.12.0-rc3 #1 Tainted: G I -------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-R} u

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  17. CVE-2021-47034

    Moyenne · CVSS 4.4EPSS 0,22%Correctif disponible

    powerpc/64s: Fix pte update for kernel memory on radix

    In the Linux kernel, the following vulnerability has been resolved: powerpc/64s: Fix pte update for kernel memory on radix When adding a PTE a ptesync is needed to order the update of the PTE with subsequent accesses otherwise a spurious fault may be raised. radix__set_pte_at() does not do this for performance gains. For non-kernel memory this is not an issue as any faults of this kind are corrected by the page fault handler. For kernel memory these faults are not handled. The current solution is that there is a ptesync in flush_cache_vmap() which should be called when mapping from the vmalloc region. However, map_kernel_page() does not c

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  18. CVE-2021-47015

    Moyenne · CVSS 5.5EPSS 0,25%Correctif disponible

    bnxt_en: Fix RX consumer index logic in the error path.

    In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix RX consumer index logic in the error path. In bnxt_rx_pkt(), the RX buffers are expected to complete in order. If the RX consumer index indicates an out of order buffer completion, it means we are hitting a hardware bug and the driver will abort all remaining RX packets and reset the RX ring. The RX consumer index that we pass to bnxt_discard_rx() is not correct. We should be passing the current index (tmp_raw_cons) instead of the old index (raw_cons). This bug can cause us to be at the wrong index when trying to abort the next RX packet. It can crash like

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  19. CVE-2021-47013

    Critique · CVSS 9.8EPSS 0,79%Correctif disponible

    net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send

    In the Linux kernel, the following vulnerability has been resolved: net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send In emac_mac_tx_buf_send, it calls emac_tx_fill_tpd(..,skb,..). If some error happens in emac_tx_fill_tpd(), the skb will be freed via dev_kfree_skb(skb) in error branch of emac_tx_fill_tpd(). But the freed skb is still used via skb->len by netdev_sent_queue(,skb->len). As i observed that emac_tx_fill_tpd() haven't modified the value of skb->len, thus my patch assigns skb->len to 'len' before the possible free and use 'len' instead of skb->len later.

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour
  20. CVE-2021-47012

    Élevée · CVSS 7.8EPSS 0,27%Correctif disponible

    RDMA/siw: Fix a use after free in siw_alloc_mr

    In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix a use after free in siw_alloc_mr Our code analyzer reported a UAF. In siw_alloc_mr(), it calls siw_mr_add_mem(mr,..). In the implementation of siw_mr_add_mem(), mem is assigned to mr->mem and then mem is freed via kfree(mem) if xa_alloc_cyclic() failed. Here, mr->mem still point to a freed object. After, the execution continue up to the err_out branch of siw_alloc_mr, and the freed mr->mem is used in siw_mr_drop_mem(mr). My patch moves "mr->mem = mem" behind the if (xa_alloc_cyclic(..)<0) {} section, to avoid the uaf.

    • Mettez à jour vers 5.4.0-77.86~18.04.1
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →