p PatchFirst

PatchFirst · Latest vulnerabilities

linux-azure-5.4 vulnerabilities · Page 25

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 1756

  1. 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.4.0-1106.112~18.04.1
    Published Updated
  2. 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.4.0-1106.112~18.04.1
    Published Updated
  3. 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.4.0-1106.112~18.04.1
    Published Updated
  4. 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.4.0-1106.112~18.04.1
    Published Updated
  5. 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.4.0-1108.114~18.04.1
    Published Updated
  6. 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.4.0-1108.114~18.04.1
    Published Updated
  7. 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.4.0-1108.114~18.04.1
    Published Updated
  8. CVE-2023-52933

    High · CVSS 7.1EPSS 0.27%Fix available

    Squashfs: fix handling and sanity checking of xattr_ids count

    In the Linux kernel, the following vulnerability has been resolved: Squashfs: fix handling and sanity checking of xattr_ids count A Sysbot [1] corrupted filesystem exposes two flaws in the handling and sanity checking of the xattr_ids count in the filesystem. Both of these flaws cause computation overflow due to incorrect typing. In the corrupted filesystem the xattr_ids value is 4294967071, which stored in a signed variable becomes the negative number -225. Flaw 1 (64-bit systems only): The signed integer xattr_ids variable causes sign extension. This causes variable overflow in the SQUASHFS_XATTR_*(A) macros. The variable is first m

    • Update to 5.4.0-1108.114~18.04.1
    Published Updated
  9. CVE-2023-52932

    Medium · CVSS 5.5EPSS 0.2%Fix available

    mm/swapfile: add cond_resched() in get_swap_pages()

    In the Linux kernel, the following vulnerability has been resolved: mm/swapfile: add cond_resched() in get_swap_pages() The softlockup still occurs in get_swap_pages() under memory pressure. 64 CPU cores, 64GB memory, and 28 zram devices, the disksize of each zram device is 50MB with same priority as si. Use the stress-ng tool to increase memory pressure, causing the system to oom frequently. The plist_for_each_entry_safe() loops in get_swap_pages() could reach tens of thousands of times to find available space (extreme case: cond_resched() is not called in scan_swap_map_slots()). Let's add cond_resched() into get_swap_pages() when fail

    • Update to 5.4.0-1108.114~18.04.1
    Published Updated
  10. CVE-2021-4454

    High · CVSS 7.5EPSS 0.59%Fix available

    can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate

    In the Linux kernel, the following vulnerability has been resolved: can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate The conclusion "j1939_session_deactivate() should be called with a session ref-count of at least 2" is incorrect. In some concurrent scenarios, j1939_session_deactivate can be called with the session ref-count less than 2. But there is not any problem because it will check the session active state before session putting in j1939_session_deactivate_locked(). Here is the concurrent scenario of the problem reported by syzbot and my reproduction log. cpu0 cpu1

    • Update to 5.4.0-1108.114~18.04.1
    Published Updated
  11. CVE-2022-49733

    High · CVSS 7.8EPSS 0.16%Fix available

    ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC

    In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC There is a small race window at snd_pcm_oss_sync() that is called from OSS PCM SNDCTL_DSP_SYNC ioctl; namely the function calls snd_pcm_oss_make_ready() at first, then takes the params_lock mutex for the rest. When the stream is set up again by another thread between them, it leads to inconsistency, and may result in unexpected results such as NULL dereference of OSS buffer as a fuzzer spotted recently. The fix is simply to cover snd_pcm_oss_make_ready() call into the same params_lock mutex with snd_pcm_oss_make_ready_locked() v

    • Update to 5.4.0-1100.106~18.04.1
    Published Updated
  12. CVE-2022-49731

    Medium · CVSS 5.5EPSS 0.28%Fix available

    ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()

    In the Linux kernel, the following vulnerability has been resolved: ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo() In an unlikely (and probably wrong?) case that the 'ppi' parameter of ata_host_alloc_pinfo() points to an array starting with a NULL pointer, there's going to be a kernel oops as the 'pi' local variable won't get reassigned from the initial value of NULL. Initialize 'pi' instead to '&ata_dummy_port_info' to fix the possible kernel oops for good... Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool.

    • Update to 5.4.0-1091.96~18.04.1
    Published Updated
  13. CVE-2022-49729

    Medium · CVSS 5.5EPSS 0.27%Fix available

    nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred

    In the Linux kernel, the following vulnerability has been resolved: nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred Similar to the handling of play_deferred in commit 19cfe912c37b ("Bluetooth: btusb: Fix memory leak in play_deferred"), we thought a patch might be needed here as well. Currently usb_submit_urb is called directly to submit deferred tx urbs after unanchor them. So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb and cause memory leak. Put those urbs in tx_anchor to avoid the leak, and also fix the error handling.

    • Update to 5.4.0-1091.96~18.04.1
    Published Updated
  14. CVE-2022-49727

    Medium · CVSS 5.5EPSS 0.28%Fix available

    ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg

    In the Linux kernel, the following vulnerability has been resolved: ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg When len >= INT_MAX - transhdrlen, ulen = len + transhdrlen will be overflow. To fix, we can follow what udpv6 does and subtract the transhdrlen from the max.

    • Update to 5.4.0-1091.96~18.04.1
    Published Updated
  15. CVE-2022-49726

    Medium · CVSS 5.5EPSS 0.27%Fix available

    clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()

    In the Linux kernel, the following vulnerability has been resolved: clocksource: hyper-v: unexport __init-annotated hv_init_clocksource() EXPORT_SYMBOL and __init is a bad combination because the .init.text section is freed up after the initialization. Hence, modules cannot use symbols annotated __init. The access to a freed symbol may end up with kernel panic. modpost used to detect it, but it has been broken for a decade. Recently, I fixed modpost so it started to warn it again, then this showed up in linux-next builds. There are two ways to fix it: - Remove __init - Remove EXPORT_SYMBOL I chose the latter for this case because t

    • Update to 5.4.0-1091.96~18.04.1
    Published Updated
  16. CVE-2022-49725

    High · CVSS 7.8EPSS 0.3%Fix available

    i40e: Fix call trace in setup_tx_descriptors

    In the Linux kernel, the following vulnerability has been resolved: i40e: Fix call trace in setup_tx_descriptors After PF reset and ethtool -t there was call trace in dmesg sometimes leading to panic. When there was some time, around 5 seconds, between reset and test there were no errors. Problem was that pf reset calls i40e_vsi_close in prep_for_reset and ethtool -t calls i40e_vsi_close in diag_test. If there was not enough time between those commands the second i40e_vsi_close starts before previous i40e_vsi_close was done which leads to crash. Add check to diag_test if pf is in reset and don't start offline tests if it is true. Add neti

    • Update to 5.4.0-1091.96~18.04.1
    Published Updated
  17. CVE-2022-49724

    High · CVSS 7.8EPSS 0.28%Fix available

    tty: goldfish: Fix free_irq() on remove

    In the Linux kernel, the following vulnerability has been resolved: tty: goldfish: Fix free_irq() on remove Pass the correct dev_id to free_irq() to fix this splat when the driver is unbound: WARNING: CPU: 0 PID: 30 at kernel/irq/manage.c:1895 free_irq Trying to free already-free IRQ 65 Call Trace: warn_slowpath_fmt free_irq goldfish_tty_remove platform_remove device_remove device_release_driver_internal device_driver_detach unbind_store drv_attr_store ...

    • Update to 5.4.0-1091.96~18.04.1
    Published Updated
  18. CVE-2022-49719

    Medium · CVSS 5.5EPSS 0.27%Fix available

    irqchip/gic/realview: Fix refcount leak in realview_gic_of_init

    In the Linux kernel, the following vulnerability has been resolved: irqchip/gic/realview: Fix refcount leak in realview_gic_of_init of_find_matching_node_and_match() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.

    • Update to 5.4.0-1091.96~18.04.1
    Published Updated

Check your server

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

Check your server →