p PatchFirst

PatchFirst · Latest vulnerabilities

linux-hwe-5.15 vulnerabilities · Page 77

Vulnerabilities published for linux-hwe-5.15 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 4395

  1. CVE-2023-52976

    Medium · CVSS 5.5EPSS 0.28%Fix available

    efi: fix potential NULL deref in efi_mem_reserve_persistent

    In the Linux kernel, the following vulnerability has been resolved: efi: fix potential NULL deref in efi_mem_reserve_persistent When iterating on a linked list, a result of memremap is dereferenced without checking it for NULL. This patch adds a check that falls back on allocating a new page in case memremap doesn't succeed. Found by Linux Verification Center (linuxtesting.org) with SVACE. [ardb: return -ENOMEM instead of breaking out of the loop]

    • Update to 5.15.0-72.79~20.04.1
    Published Updated
  2. CVE-2023-52975

    High · CVSS 7.8EPSS 0.3%Fix available

    scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress

    In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Fix UAF during logout when accessing the shost ipaddress Bug report and analysis from Ding Hui. During iSCSI session logout, if another task accesses the shost ipaddress attr, we can get a KASAN UAF report like this: [ 276.942144] BUG: KASAN: use-after-free in _raw_spin_lock_bh+0x78/0xe0 [ 276.942535] Write of size 4 at addr ffff8881053b45b8 by task cat/4088 [ 276.943511] CPU: 2 PID: 4088 Comm: cat Tainted: G E 6.1.0-rc8+ #3 [ 276.943997] Hardware name: VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform, BIOS 6.00 11

    • Update to 5.15.0-72.79~20.04.1
    Published Updated
  3. CVE-2023-52974

    High · CVSS 7.8EPSS 0.29%Fix available

    scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress

    In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress If during iscsi_sw_tcp_session_create() iscsi_tcp_r2tpool_alloc() fails, userspace could be accessing the host's ipaddress attr. If we then free the session via iscsi_session_teardown() while userspace is still accessing the session we will hit a use after free bug. Set the tcp_sw_host->session after we have completed session creation and can no longer fail.

    • Update to 5.15.0-72.79~20.04.1
    Published Updated
  4. CVE-2023-52973

    High · CVSS 7.8EPSS 0.29%Fix available

    vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF

    In the Linux kernel, the following vulnerability has been resolved: vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF After a call to console_unlock() in vcs_read() the vc_data struct can be freed by vc_deallocate(). Because of that, the struct vc_data pointer load must be done at the top of while loop in vcs_read() to avoid a UAF when vcs_size() is called. Syzkaller reported a UAF in vcs_size(). BUG: KASAN: use-after-free in vcs_size (drivers/tty/vt/vc_screen.c:215) Read of size 4 at addr ffff8881137479a8 by task 4a005ed81e27e65/1537 CPU: 0 PID: 1537 Comm: 4a005ed81e27e65 Not tainted 6.2.0-rc5 #1 Hardware name: R

    • Update to 5.15.0-72.79~20.04.1
    Published Updated
  5. CVE-2022-49761

    High · CVSS 7.8EPSS 0.2%Fix available

    btrfs: always report error in run_one_delayed_ref()

    In the Linux kernel, the following vulnerability has been resolved: btrfs: always report error in run_one_delayed_ref() Currently we have a btrfs_debug() for run_one_delayed_ref() failure, but if end users hit such problem, there will be no chance that btrfs_debug() is enabled. This can lead to very little useful info for debugging. This patch will: - Add extra info for error reporting Including: * logical bytenr * num_bytes * type * action * ref_mod - Replace the btrfs_debug() with btrfs_err() - Move the error reporting into run_one_delayed_ref() This is to avoid use-after-free, the @node can be freed in the caller. Thi

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  6. CVE-2022-49757

    Medium · CVSS 5.5EPSS 0.21%Fix available

    EDAC/highbank: Fix memory leak in highbank_mc_probe()

    In the Linux kernel, the following vulnerability has been resolved: EDAC/highbank: Fix memory leak in highbank_mc_probe() When devres_open_group() fails, it returns -ENOMEM without freeing memory allocated by edac_mc_alloc(). Call edac_mc_free() on the error handling path to avoid a memory leak. [ bp: Massage commit message. ]

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  7. CVE-2022-49755

    High · CVSS 7.8EPSS 0.23%Fix available

    usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait

    In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait While performing fast composition switch, there is a possibility that the process of ffs_ep0_write/ffs_ep0_read get into a race condition due to ep0req being freed up from functionfs_unbind. Consider the scenario that the ffs_ep0_write calls the ffs_ep0_queue_wait by taking a lock &ffs->ev.waitq.lock. However, the functionfs_unbind isn't bounded so it can go ahead and mark the ep0req to NULL, and since there is no NULL check in ffs_ep0_queue_wait we will end up in use-after-free. Fix this by making a serialized exe

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  8. CVE-2022-49753

    High · CVSS 7.8EPSS 0.23%Fix available

    dmaengine: Fix double increment of client_count in dma_chan_get()

    In the Linux kernel, the following vulnerability has been resolved: dmaengine: Fix double increment of client_count in dma_chan_get() The first time dma_chan_get() is called for a channel the channel client_count is incorrectly incremented twice for public channels, first in balance_ref_count(), and again prior to returning. This results in an incorrect client count which will lead to the channel resources not being freed when they should be. A simple test of repeated module load and unload of async_tx on a Dell Power Edge R7425 also shows this resulting in a kref underflow warning. [ 124.329662] async_tx: api initialized (async) [ 12

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  9. CVE-2022-49752

    Medium · CVSS 5.5EPSS 0.21%Fix available

    device property: fix of node refcount leak in fwnode_graph_get_next_endpoint()

    In the Linux kernel, the following vulnerability has been resolved: device property: fix of node refcount leak in fwnode_graph_get_next_endpoint() The 'parent' returned by fwnode_graph_get_port_parent() with refcount incremented when 'prev' is not NULL, it needs be put when finish using it. Because the parent is const, introduce a new variable to store the returned fwnode, then put it before returning from fwnode_graph_get_next_endpoint().

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  10. CVE-2022-49751

    Medium · CVSS 5.5EPSS 0.19%Fix available

    w1: fix WARNING after calling w1_process()

    In the Linux kernel, the following vulnerability has been resolved: w1: fix WARNING after calling w1_process() I got the following WARNING message while removing driver(ds2482): ------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [<000000002d50bfb6>] w1_process+0x9e/0x1d0 [wire] WARNING: CPU: 0 PID: 262 at kernel/sched/core.c:9817 __might_sleep+0x98/0xa0 CPU: 0 PID: 262 Comm: w1_bus_master1 Tainted: G N 6.1.0-rc3+ #307 RIP: 0010:__might_sleep+0x98/0xa0 Call Trace: exit_signals+0x6c/0x550 do_exit+0x2b4/0x17e0 kthread_exit+0x52/0x60 kthread+0x16d/0x1e0 ret_from_fork+0x1f/0x30

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  11. CVE-2022-49749

    Medium · CVSS 5.5EPSS 0.19%Fix available

    i2c: designware: use casting of u64 in clock multiplication to avoid overflow

    In the Linux kernel, the following vulnerability has been resolved: i2c: designware: use casting of u64 in clock multiplication to avoid overflow In functions i2c_dw_scl_lcnt() and i2c_dw_scl_hcnt() may have overflow by depending on the values of the given parameters including the ic_clk. For example in our use case where ic_clk is larger than one million, multiplication of ic_clk * 4700 will result in 32 bit overflow. Add cast of u64 to the calculation to avoid multiplication overflow, and use the corresponding define for divide.

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  12. CVE-2022-49748

    Medium · CVSS 5.5EPSS 0.19%Fix available

    perf/x86/amd: fix potential integer overflow on shift of a int

    In the Linux kernel, the following vulnerability has been resolved: perf/x86/amd: fix potential integer overflow on shift of a int The left shift of int 32 bit integer constant 1 is evaluated using 32 bit arithmetic and then passed as a 64 bit function argument. In the case where i is 32 or more this can lead to an overflow. Avoid this by shifting using the BIT_ULL macro instead.

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  13. CVE-2022-49747

    Medium · CVSS 6.8EPSS 0.19%Fix available

    erofs/zmap.c: Fix incorrect offset calculation

    In the Linux kernel, the following vulnerability has been resolved: erofs/zmap.c: Fix incorrect offset calculation Effective offset to add to length was being incorrectly calculated, which resulted in iomap->length being set to 0, triggering a WARN_ON in iomap_iter_done(). Fix that, and describe it in comments. This was reported as a crash by syzbot under an issue about a warning encountered in iomap_iter_done(), but unrelated to erofs. C reproducer: https://syzkaller.appspot.com/text?tag=ReproC&x=1037a6b2880000 Kernel config: https://syzkaller.appspot.com/text?tag=KernelConfig&x=e2021a61197ebe02 Dashboard link: https://syzkaller.appspot

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  14. CVE-2022-49746

    Medium · CVSS 5.5EPSS 0.19%Fix available

    dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init

    In the Linux kernel, the following vulnerability has been resolved: dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init If the function sdma_load_context() fails, the sdma_desc will be freed, but the allocated desc->bd is forgot to be freed. We already met the sdma_load_context() failure case and the log as below: [ 450.699064] imx-sdma 30bd0000.dma-controller: Timeout waiting for CH0 ready ... In this case, the desc->bd will not be freed without this change.

    • Update to 5.15.0-70.77~20.04.1
    Published Updated
  15. CVE-2022-49743

    High · CVSS 7.5EPSS 0.45%Fix available

    ovl: Use "buf" flexible array for memcpy() destination

    In the Linux kernel, the following vulnerability has been resolved: ovl: Use "buf" flexible array for memcpy() destination The "buf" flexible array needs to be the memcpy() destination to avoid false positive run-time warning from the recent FORTIFY_SOURCE hardening: memcpy: detected field-spanning write (size 93) of single field "&fh->fb" at fs/overlayfs/export.c:799 (size 21)

    • Update to 5.15.0-72.79~20.04.1
    Published Updated
  16. CVE-2022-49741

    Medium · CVSS 5.5EPSS 0.19%Fix available

    fbdev: smscufx: fix error handling code in ufx_usb_probe

    In the Linux kernel, the following vulnerability has been resolved: fbdev: smscufx: fix error handling code in ufx_usb_probe The current error handling code in ufx_usb_probe have many unmatching issues, e.g., missing ufx_free_usb_list, destroy_modedb label should only include framebuffer_release, fb_dealloc_cmap only matches fb_alloc_cmap. My local syzkaller reports a memory leak bug: memory leak in ufx_usb_probe BUG: memory leak unreferenced object 0xffff88802f879580 (size 128): comm "kworker/0:7", pid 17416, jiffies 4295067474 (age 46.710s) hex dump (first 32 bytes): 80 21 7c 2e 80 88 ff ff 18 d0 d0 0c 80 88 ff ff .!|.........

    • Update to 5.15.0-72.79~20.04.1
    Published Updated
  17. CVE-2022-49740

    High · CVSS 7.1EPSS 0.2%Fix available

    wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads

    In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads This patch fixes slab-out-of-bounds reads in brcmfmac that occur in brcmf_construct_chaninfo() and brcmf_enable_bw40_2g() when the count value of channel specifications provided by the device is greater than the length of 'list->element[]', decided by the size of the 'list' allocated with kzalloc(). The patch adds checks that make the functions free the buffer and return -EINVAL if that is the case. Note that the negative return is handled by the caller, brcmf_setup_wiphybands() or brcmf_cf

    • Update to 5.15.0-72.79~20.04.1
    Published Updated
  18. CVE-2022-49739

    High · CVSS 7.1EPSS 0.2%Fix available

    gfs2: Always check inode size of inline inodes

    In the Linux kernel, the following vulnerability has been resolved: gfs2: Always check inode size of inline inodes Check if the inode size of stuffed (inline) inodes is within the allowed range when reading inodes from disk (gfs2_dinode_in()). This prevents us from on-disk corruption. The two checks in stuffed_readpage() and gfs2_unstuffer_page() that just truncate inline data to the maximum allowed size don't actually make sense, and they can be removed now as well.

    • Update to 5.15.0-72.79~20.04.1
    Published Updated
  19. CVE-2022-49738

    High · CVSS 7.1EPSS 0.2%Fix available

    f2fs: fix to do sanity check on i_extra_isize in is_alive()

    In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to do sanity check on i_extra_isize in is_alive() syzbot found a f2fs bug: BUG: KASAN: slab-out-of-bounds in data_blkaddr fs/f2fs/f2fs.h:2891 [inline] BUG: KASAN: slab-out-of-bounds in is_alive fs/f2fs/gc.c:1117 [inline] BUG: KASAN: slab-out-of-bounds in gc_data_segment fs/f2fs/gc.c:1520 [inline] BUG: KASAN: slab-out-of-bounds in do_garbage_collect+0x386a/0x3df0 fs/f2fs/gc.c:1734 Read of size 4 at addr ffff888076557568 by task kworker/u4:3/52 CPU: 1 PID: 52 Comm: kworker/u4:3 Not tainted 6.1.0-rc4-syzkaller-00362-gfef7fd48922d #0 Hardware name: Google Google Com

    • Update to 5.15.0-72.79~20.04.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →