p PatchFirst

PatchFirst · Latest vulnerabilities

linux-raspi-5.4 vulnerabilities · Page 23

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 1755

  1. CVE-2022-49775

    High · CVSS 7.8EPSS 0.21%Fix available

    tcp: cdg: allow tcp_cdg_release() to be called multiple times

    In the Linux kernel, the following vulnerability has been resolved: tcp: cdg: allow tcp_cdg_release() to be called multiple times Apparently, mptcp is able to call tcp_disconnect() on an already disconnected flow. This is generally fine, unless current congestion control is CDG, because it might trigger a double-free [1] Instead of fixing MPTCP, and future bugs, we can make tcp_disconnect() more resilient. [1] BUG: KASAN: double-free in slab_free mm/slub.c:3539 [inline] BUG: KASAN: double-free in kfree+0xe2/0x580 mm/slub.c:4567 CPU: 0 PID: 3645 Comm: kworker/0:7 Not tainted 6.0.0-syzkaller-02734-g0326074ff465 #0 Hardware name: Google Goo

    • Update to 5.4.0-1081.92~18.04.1
    Published Updated
  2. CVE-2022-49772

    Medium · CVSS 5.5EPSS 0.2%Fix available

    ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()

    In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open() snd_usbmidi_output_open() has a check of the NULL port with snd_BUG_ON(). snd_BUG_ON() was used as this shouldn't have happened, but in reality, the NULL port may be seen when the device gives an invalid endpoint setup at the descriptor, hence the driver skips the allocation. That is, the check itself is valid and snd_BUG_ON() should be dropped from there. Otherwise it's confusing as if it were a real bug, as recently syzbot stumbled on it.

    • Update to 5.4.0-1081.92~18.04.1
  3. CVE-2022-49771

    Medium · CVSS 4.7EPSS 0.16%Fix available

    dm ioctl: fix misbehavior if list_versions races with module loading

    In the Linux kernel, the following vulnerability has been resolved: dm ioctl: fix misbehavior if list_versions races with module loading __list_versions will first estimate the required space using the "dm_target_iterate(list_version_get_needed, &needed)" call and then will fill the space using the "dm_target_iterate(list_version_get_info, &iter_info)" call. Each of these calls locks the targets using the "down_read(&_lock)" and "up_read(&_lock)" calls, however between the first and second "dm_target_iterate" there is no lock held and the target modules can be loaded at this point, so the second "dm_target_iterate" call may need more space

    • Update to 5.4.0-1081.92~18.04.1
  4. CVE-2022-49770

    Critical · CVSS 9.8EPSS 0.57%Fix available

    ceph: avoid putting the realm twice when decoding snaps fails

    In the Linux kernel, the following vulnerability has been resolved: ceph: avoid putting the realm twice when decoding snaps fails When decoding the snaps fails it maybe leaving the 'first_realm' and 'realm' pointing to the same snaprealm memory. And then it'll put it twice and could cause random use-after-free, BUG_ON, etc issues.

    • Update to 5.4.0-1081.92~18.04.1
    Published Updated
  5. CVE-2022-49769

    High · CVSS 7.1EPSS 0.22%Fix available

    gfs2: Check sb_bsize_shift after reading superblock

    In the Linux kernel, the following vulnerability has been resolved: gfs2: Check sb_bsize_shift after reading superblock Fuzzers like to scribble over sb_bsize_shift but in reality it's very unlikely that this field would be corrupted on its own. Nevertheless it should be checked to avoid the possibility of messy mount errors due to bad calculations. It's always a fixed value based on the block size so we can just check that it's the expected value. Tested with: mkfs.gfs2 -O -p lock_nolock /dev/vdb for i in 0 -1 64 65 32 33; do gfs2_edit -p sb field sb_bsize_shift $i /dev/vdb mount /dev/vdb /mnt/test && umount /mnt/

    • Update to 5.4.0-1081.92~18.04.1
  6. CVE-2022-49768

    High · CVSS 7.5EPSS 0.39%Fix available

    9p: trans_fd/p9_conn_cancel: drop client lock earlier

    In the Linux kernel, the following vulnerability has been resolved: 9p: trans_fd/p9_conn_cancel: drop client lock earlier syzbot reported a double-lock here and we no longer need this lock after requests have been moved off to local list: just drop the lock earlier.

    • Update to 5.4.0-1081.92~18.04.1
    Published Updated
  7. CVE-2022-49767

    Medium · CVSS 5.5EPSS 0.2%Fix available

    9p/trans_fd: always use O_NONBLOCK read/write

    In the Linux kernel, the following vulnerability has been resolved: 9p/trans_fd: always use O_NONBLOCK read/write syzbot is reporting hung task at p9_fd_close() [1], for p9_mux_poll_stop() from p9_conn_destroy() from p9_fd_close() is failing to interrupt already started kernel_read() from p9_fd_read() from p9_read_work() and/or kernel_write() from p9_fd_write() from p9_write_work() requests. Since p9_socket_open() sets O_NONBLOCK flag, p9_mux_poll_stop() does not need to interrupt kernel_read()/kernel_write(). However, since p9_fd_open() does not set O_NONBLOCK flag, but pipe blocks unless signal is pending, p9_mux_poll_stop() needs to in

    • Update to 5.4.0-1081.92~18.04.1
  8. CVE-2022-49763

    High · CVSS 7.8EPSS 0.22%Fix available

    ntfs: fix use-after-free in ntfs_attr_find()

    In the Linux kernel, the following vulnerability has been resolved: ntfs: fix use-after-free in ntfs_attr_find() Patch series "ntfs: fix bugs about Attribute", v2. This patchset fixes three bugs relative to Attribute in record: Patch 1 adds a sanity check to ensure that, attrs_offset field in first mft record loading from disk is within bounds. Patch 2 moves the ATTR_RECORD's bounds checking earlier, to avoid dereferencing ATTR_RECORD before checking this ATTR_RECORD is within bounds. Patch 3 adds an overflow checking to avoid possible forever loop in ntfs_attr_find(). Without patch 1 and patch 2, the kernel triggersa KASAN use-after-f

    • Update to 5.4.0-1081.92~18.04.1
    Published Updated
  9. CVE-2022-49762

    Medium · CVSS 5.5EPSS 0.22%Fix available

    ntfs: check overflow when iterating ATTR_RECORDs

    In the Linux kernel, the following vulnerability has been resolved: ntfs: check overflow when iterating ATTR_RECORDs Kernel iterates over ATTR_RECORDs in mft record in ntfs_attr_find(). Because the ATTR_RECORDs are next to each other, kernel can get the next ATTR_RECORD from end address of current ATTR_RECORD, through current ATTR_RECORD length field. The problem is that during iteration, when kernel calculates the end address of current ATTR_RECORD, kernel may trigger an integer overflow bug in executing `a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length))`. This may wrap, leading to a forever iteration on 32bit systems. This patch sol

    • Update to 5.4.0-1081.92~18.04.1
  10. CVE-2021-47670

    High · CVSS 8.8EPSS 0.22%Fix available

    can: peak_usb: fix use after free bugs

    In the Linux kernel, the following vulnerability has been resolved: can: peak_usb: fix use after free bugs After calling peak_usb_netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the peak_usb_netif_rx_ni(). Reordering the lines solves the issue.

    • Update to 5.4.0-1030.33~18.04.1
    Published Updated
  11. CVE-2021-47669

    High · CVSS 7.8EPSS 0.19%Fix available

    can: vxcan: vxcan_xmit: fix use after free bug

    In the Linux kernel, the following vulnerability has been resolved: can: vxcan: vxcan_xmit: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the canfd_frame cfd which aliases skb memory is accessed after the netif_rx_ni().

    • Update to 5.4.0-1030.33~18.04.1
    Published Updated
  12. CVE-2021-47668

    High · CVSS 8.8EPSS 0.24%Fix available

    can: dev: can_restart: fix use after free bug

    In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len; Reordering the lines solves the issue.

    • Update to 5.4.0-1030.33~18.04.1
    Published Updated
  13. CVE-2020-36789

    Medium · CVSS 5.5EPSS 0.19%Fix available

    can: dev: can_get_echo_skb(): prevent call to kfree_skb() in hard IRQ context

    In the Linux kernel, the following vulnerability has been resolved: can: dev: can_get_echo_skb(): prevent call to kfree_skb() in hard IRQ context If a driver calls can_get_echo_skb() during a hardware IRQ (which is often, but not always, the case), the 'WARN_ON(in_irq)' in net/core/skbuff.c#skb_release_head_state() might be triggered, under network congestion circumstances, together with the potential risk of a NULL pointer dereference. The root cause of this issue is the call to kfree_skb() instead of dev_kfree_skb_irq() in net/core/dev.c#enqueue_to_backlog(). This patch prevents the skb to be freed within the call to netif_rx() by incre

    • Update to 5.4.0-1026.29~18.04.1
    Published Updated
  14. CVE-2023-53032

    Medium · CVSS 5.5EPSS 0.2%Fix available

    netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.

    In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function. When first_ip is 0, last_ip is 0xFFFFFFFF, and netmask is 31, the value of an arithmetic expression 2 << (netmask - mask_bits - 1) is subject to overflow due to a failure casting operands to a larger data type before performing the arithmetic. Note that it's harmless since the value will be checked at the next step. Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE.

    • Update to 5.4.0-1081.92~18.04.1
    Published Updated
  15. CVE-2023-53031

    Medium · CVSS 5.5EPSS 0.15%Fix available

    powerpc/imc-pmu: Fix use of mutex in IRQs disabled section

    In the Linux kernel, the following vulnerability has been resolved: powerpc/imc-pmu: Fix use of mutex in IRQs disabled section Current imc-pmu code triggers a WARNING with CONFIG_DEBUG_ATOMIC_SLEEP and CONFIG_PROVE_LOCKING enabled, while running a thread_imc event. Command to trigger the warning: # perf stat -e thread_imc/CPM_CS_FROM_L4_MEM_X_DPTEG/ sleep 5 Performance counter stats for 'sleep 5': 0 thread_imc/CPM_CS_FROM_L4_MEM_X_DPTEG/ 5.002117947 seconds time elapsed 0.000131000 seconds user 0.001063000 seconds sys Below is snippet of the warning in dmesg: BUG: sleeping fun

    • Update to 5.4.0-1081.92~18.04.1
    Published Updated
  16. CVE-2023-53026

    High · CVSS 7.8EPSS 0.2%Fix available

    RDMA/core: Fix ib block iterator counter overflow

    In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix ib block iterator counter overflow When registering a new DMA MR after selecting the best aligned page size for it, we iterate over the given sglist to split each entry to smaller, aligned to the selected page size, DMA blocks. In given circumstances where the sg entry and page size fit certain sizes and the sg entry is not aligned to the selected page size, the total size of the aligned pages we need to cover the sg entry is >= 4GB. Under this circumstances, while iterating page aligned blocks, the counter responsible for counting how much we advanced from

    • Update to 5.4.0-1083.94~18.04.1
    Published Updated
  17. CVE-2023-53024

    High · CVSS 7.1EPSS 0.21%Fix available

    bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation

    In the Linux kernel, the following vulnerability has been resolved: bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation To mitigate Spectre v4, 2039f26f3aca ("bpf: Fix leakage due to insufficient speculative store bypass mitigation") inserts lfence instructions after 1) initializing a stack slot and 2) spilling a pointer to the stack. However, this does not cover cases where a stack slot is first initialized with a pointer (subject to sanitization) but then overwritten with a scalar (not subject to sanitization because the slot was already initialized). In this case, the second write may be subject to speculative

    • Update to 5.4.0-1083.94~18.04.1
    Published Updated
  18. CVE-2023-53023

    High · CVSS 7.8EPSS 0.2%Fix available

    net: nfc: Fix use-after-free in local_cleanup()

    In the Linux kernel, the following vulnerability has been resolved: net: nfc: Fix use-after-free in local_cleanup() Fix a use-after-free that occurs in kfree_skb() called from local_cleanup(). This could happen when killing nfc daemon (e.g. neard) after detaching an nfc device. When detaching an nfc device, local_cleanup() called from nfc_llcp_unregister_device() frees local->rx_pending and decreases local->ref by kref_put() in nfc_llcp_local_put(). In the terminating process, nfc daemon releases all sockets and it leads to decreasing local->ref. After the last release of local->ref, local_cleanup() called from local_release() frees local->

    • Update to 5.4.0-1083.94~18.04.1
    Published Updated
  19. CVE-2023-53021

    High · CVSS 7.8EPSS 0.2%Fix available

    net/sched: sch_taprio: fix possible use-after-free

    In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_taprio: fix possible use-after-free syzbot reported a nasty crash [1] in net_tx_action() which made little sense until we got a repro. This repro installs a taprio qdisc, but providing an invalid TCA_RATE attribute. qdisc_create() has to destroy the just initialized taprio qdisc, and taprio_destroy() is called. However, the hrtimer used by taprio had already fired, therefore advance_sched() called __netif_schedule(). Then net_tx_action was trying to use a destroyed qdisc. We can not undo the __netif_schedule(), so we must wait until one cpu serviced the

    • Update to 5.4.0-1083.94~18.04.1
    Published Updated

Check your server

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

Check your server →