p PatchFirst

PatchFirst · Latest vulnerabilities

linux-raspi vulnerabilities · Page 35

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 3427

  1. CVE-2022-50029

    Medium · CVSS 5.5EPSS 0.19%Fix available

    clk: qcom: ipq8074: dont disable gcc_sleep_clk_src

    In the Linux kernel, the following vulnerability has been resolved: clk: qcom: ipq8074: dont disable gcc_sleep_clk_src Once the usb sleep clocks are disabled, clock framework is trying to disable the sleep clock source also. However, it seems that it cannot be disabled and trying to do so produces: [ 245.436390] ------------[ cut here ]------------ [ 245.441233] gcc_sleep_clk_src status stuck at 'on' [ 245.441254] WARNING: CPU: 2 PID: 223 at clk_branch_wait+0x130/0x140 [ 245.450435] Modules linked in: xhci_plat_hcd xhci_hcd dwc3 dwc3_qcom leds_gpio [ 245.456601] CPU: 2 PID: 223 Comm: sh Not tainted 5.18.0-rc4 #215 [ 245.463889] Hardw

    • Update to 5.4.0-1074.85
    Published Updated
  2. CVE-2022-50028

    High · CVSS 7.8EPSS 0.2%Fix available

    gadgetfs: ep_io - wait until IRQ finishes

    In the Linux kernel, the following vulnerability has been resolved: gadgetfs: ep_io - wait until IRQ finishes after usb_ep_queue() if wait_for_completion_interruptible() is interrupted we need to wait until IRQ gets finished. Otherwise complete() from epio_complete() can corrupt stack.

    • Update to 5.4.0-1074.85
    Published Updated
  3. CVE-2022-50022

    High · CVSS 7.8EPSS 0.26%Fix available

    drivers:md:fix a potential use-after-free bug

    In the Linux kernel, the following vulnerability has been resolved: drivers:md:fix a potential use-after-free bug In line 2884, "raid5_release_stripe(sh);" drops the reference to sh and may cause sh to be released. However, sh is subsequently used in lines 2886 "if (sh->batch_head && sh != sh->batch_head)". This may result in an use-after-free bug. It can be fixed by moving "raid5_release_stripe(sh);" to the bottom of the function.

    • Update to 5.4.0-1074.85
    Published Updated
  4. CVE-2022-50020

    Medium · CVSS 6.7EPSS 0.21%Fix available

    ext4: avoid resizing to a partial cluster size

    In the Linux kernel, the following vulnerability has been resolved: ext4: avoid resizing to a partial cluster size This patch avoids an attempt to resize the filesystem to an unaligned cluster boundary. An online resize to a size that is not integral to cluster size results in the last iteration attempting to grow the fs by a negative amount, which trips a BUG_ON and leaves the fs with a corrupted in-memory superblock.

    • Update to 5.4.0-1074.85
    Published Updated
  5. CVE-2022-50019

    Medium · CVSS 5.5EPSS 0.19%Fix available

    tty: serial: Fix refcount leak bug in ucc_uart.c

    In the Linux kernel, the following vulnerability has been resolved: tty: serial: Fix refcount leak bug in ucc_uart.c In soc_info(), of_find_node_by_type() will return a node pointer with refcount incremented. We should use of_node_put() when it is not used anymore.

    • Update to 5.4.0-1074.85
    Published Updated
  6. CVE-2022-50017

    Medium · CVSS 5.5EPSS 0.19%Fix available

    mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start

    In the Linux kernel, the following vulnerability has been resolved: mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start We should call of_node_put() for the reference 'uctl_node' returned by of_get_parent() which will increase the refcount. Otherwise, there will be a refcount leak bug.

    • Update to 5.4.0-1074.85
    Published Updated
  7. CVE-2022-50013

    Medium · CVSS 6EPSS 0.25%Fix available

    f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page()

    In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page() As Dipanjan Das <[email protected]> reported, syzkaller found a f2fs bug as below: RIP: 0010:f2fs_new_node_page+0x19ac/0x1fc0 fs/f2fs/node.c:1295 Call Trace: write_all_xattrs fs/f2fs/xattr.c:487 [inline] __f2fs_setxattr+0xe76/0x2e10 fs/f2fs/xattr.c:743 f2fs_setxattr+0x233/0xab0 fs/f2fs/xattr.c:790 f2fs_xattr_generic_set+0x133/0x170 fs/f2fs/xattr.c:86 __vfs_setxattr+0x115/0x180 fs/xattr.c:182 __vfs_setxattr_noperm+0x125/0x5f0 fs/xattr.c:216 __vfs_setxattr_locked+0x1cf/0x260 fs/xattr.c:277 vfs_set

    • Update to 5.4.0-1074.85
    Published Updated
  8. CVE-2022-50010

    Medium · CVSS 6.7EPSS 0.25%Fix available

    video: fbdev: i740fb: Check the argument of i740_calc_vclk()

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: i740fb: Check the argument of i740_calc_vclk() Since the user can control the arguments of the ioctl() from the user space, under special arguments that may result in a divide-by-zero bug. If the user provides an improper 'pixclock' value that makes the argumet of i740_calc_vclk() less than 'I740_RFREQ_FIX', it will cause a divide-by-zero bug in: drivers/video/fbdev/i740fb.c:353 p_best = min(15, ilog2(I740_MAX_VCO_FREQ / (freq / I740_RFREQ_FIX))); The following log can reveal it: divide error: 0000 [#1] PREEMPT SMP KASAN PTI RIP: 0010:i740_calc_vclk dri

    • Update to 5.4.0-1074.85
    Published Updated
  9. CVE-2022-50008

    Medium · CVSS 5.5EPSS 0.25%Fix available

    kprobes: don't call disarm_kprobe() for disabled kprobes

    In the Linux kernel, the following vulnerability has been resolved: kprobes: don't call disarm_kprobe() for disabled kprobes The assumption in __disable_kprobe() is wrong, and it could try to disarm an already disarmed kprobe and fire the WARN_ONCE() below. [0] We can easily reproduce this issue. 1. Write 0 to /sys/kernel/debug/kprobes/enabled. # echo 0 > /sys/kernel/debug/kprobes/enabled 2. Run execsnoop. At this time, one kprobe is disabled. # /usr/share/bcc/tools/execsnoop & [1] 2460 PCOMM PID PPID RET ARGS # cat /sys/kernel/debug/kprobes/list ffffffff91345650 r __x64_sys_execve+0x0 [FTRACE] ffff

    • Update to 5.4.0-1074.85
    Published Updated
  10. CVE-2022-50007

    Medium · CVSS 5.5EPSS 0.25%Fix available

    xfrm: fix refcount leak in __xfrm_policy_check()

    In the Linux kernel, the following vulnerability has been resolved: xfrm: fix refcount leak in __xfrm_policy_check() The issue happens on an error path in __xfrm_policy_check(). When the fetching process of the object `pols[1]` fails, the function simply returns 0, forgetting to decrement the reference count of `pols[0]`, which is incremented earlier by either xfrm_sk_policy_lookup() or xfrm_policy_lookup(). This may result in memory leaks. Fix it by decreasing the reference count of `pols[0]` in that path.

    • Update to 5.4.0-1074.85
    Published Updated
  11. CVE-2022-50001

    Medium · CVSS 6.8EPSS 0.19%Fix available

    netfilter: nft_tproxy: restrict to prerouting hook

    In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_tproxy: restrict to prerouting hook TPROXY is only allowed from prerouting, but nft_tproxy doesn't check this. This fixes a crash (null dereference) when using tproxy from e.g. output.

    • Update to 5.4.0-1085.96
    Published Updated
  12. CVE-2022-49993

    Medium · CVSS 5.5EPSS 0.25%Fix available

    loop: Check for overflow while configuring loop

    In the Linux kernel, the following vulnerability has been resolved: loop: Check for overflow while configuring loop The userspace can configure a loop using an ioctl call, wherein a configuration of type loop_config is passed (see lo_ioctl()'s case on line 1550 of drivers/block/loop.c). This proceeds to call loop_configure() which in turn calls loop_set_status_from_info() (see line 1050 of loop.c), passing &config->info which is of type loop_info64*. This function then sets the appropriate values, like the offset. loop_device has lo_offset of type loff_t (see line 52 of loop.c), which is typdef-chained to long long, whereas loop_info64 has

    • Update to 5.4.0-1074.85
    Published Updated
  13. CVE-2022-49990

    High · CVSS 7.8EPSS 0.27%Fix available

    s390: fix double free of GS and RI CBs on fork() failure

    In the Linux kernel, the following vulnerability has been resolved: s390: fix double free of GS and RI CBs on fork() failure The pointers for guarded storage and runtime instrumentation control blocks are stored in the thread_struct of the associated task. These pointers are initially copied on fork() via arch_dup_task_struct() and then cleared via copy_thread() before fork() returns. If fork() happens to fail after the initial task dup and before copy_thread(), the newly allocated task and associated thread_struct memory are freed via free_task() -> arch_release_task_struct(). This results in a double free of the guarded storage and runtim

    • Update to 5.4.0-1074.85
    Published Updated
  14. CVE-2022-49987

    Medium · CVSS 5.5EPSS 0.25%Fix available

    md: call __md_stop_writes in md_stop

    In the Linux kernel, the following vulnerability has been resolved: md: call __md_stop_writes in md_stop From the link [1], we can see raid1d was running even after the path raid_dtr -> md_stop -> __md_stop. Let's stop write first in destructor to align with normal md-raid to fix the KASAN issue. [1]. https://lore.kernel.org/linux-raid/CAPhsuW5gc4AakdGNdF8ubpezAuDLFOYUO_sfMZcec6hQFm8nhg@mail.gmail.com/T/#m7f12bf90481c02c6d2da68c64aeed4779b7df74a

    • Update to 5.4.0-1074.85
    Published Updated
  15. CVE-2022-49986

    Medium · CVSS 5.5EPSS 0.19%Fix available

    scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq

    In the Linux kernel, the following vulnerability has been resolved: scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq storvsc_error_wq workqueue should not be marked as WQ_MEM_RECLAIM as it doesn't need to make forward progress under memory pressure. Marking this workqueue as WQ_MEM_RECLAIM may cause deadlock while flushing a non-WQ_MEM_RECLAIM workqueue. In the current state it causes the following warning: [ 14.506347] ------------[ cut here ]------------ [ 14.506354] workqueue: WQ_MEM_RECLAIM storvsc_error_wq_0:storvsc_remove_lun is flushing !WQ_MEM_RECLAIM events_freezable_power_:disk_events_workfn [ 14.506360] WARNING

    • Update to 5.4.0-1074.85
    Published Updated
  16. CVE-2022-49984

    Medium · CVSS 5.5EPSS 0.25%Fix available

    HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report

    In the Linux kernel, the following vulnerability has been resolved: HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report It is possible for a malicious device to forgo submitting a Feature Report. The HID Steam driver presently makes no prevision for this and de-references the 'struct hid_report' pointer obtained from the HID devices without first checking its validity. Let's change that.

    • Update to 5.4.0-1074.85
    Published Updated
  17. CVE-2022-49983

    Medium · CVSS 5.5EPSS 0.24%Fix available

    udmabuf: Set the DMA mask for the udmabuf device (v2)

    In the Linux kernel, the following vulnerability has been resolved: udmabuf: Set the DMA mask for the udmabuf device (v2) If the DMA mask is not set explicitly, the following warning occurs when the userspace tries to access the dma-buf via the CPU as reported by syzbot here: WARNING: CPU: 1 PID: 3595 at kernel/dma/mapping.c:188 __dma_map_sg_attrs+0x181/0x1f0 kernel/dma/mapping.c:188 Modules linked in: CPU: 0 PID: 3595 Comm: syz-executor249 Not tainted 5.17.0-rc2-syzkaller-00316-g0457e5153e0e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__dma_map_sg_attrs+0x181/0x1f0 kernel/dma/mapp

    • Update to 5.4.0-1074.85
    Published Updated
  18. CVE-2022-49982

    Medium · CVSS 5.5EPSS 0.25%Fix available

    media: pvrusb2: fix memory leak in pvr_probe

    In the Linux kernel, the following vulnerability has been resolved: media: pvrusb2: fix memory leak in pvr_probe The error handling code in pvr2_hdw_create forgets to unregister the v4l2 device. When pvr2_hdw_create returns back to pvr2_context_create, it calls pvr2_context_destroy to destroy context, but mp->hdw is NULL, which leads to that pvr2_hdw_destroy directly returns. Fix this by adding v4l2_device_unregister to decrease the refcount of usb interface.

    • Update to 5.4.0-1074.85
    Published Updated
  19. CVE-2022-49981

    Medium · CVSS 5.5EPSS 0.25%Fix available

    HID: hidraw: fix memory leak in hidraw_release()

    In the Linux kernel, the following vulnerability has been resolved: HID: hidraw: fix memory leak in hidraw_release() Free the buffered reports before deleting the list entry. BUG: memory leak unreferenced object 0xffff88810e72f180 (size 32): comm "softirq", pid 0, jiffies 4294945143 (age 16.080s) hex dump (first 32 bytes): 64 f3 c6 6a d1 88 07 04 00 00 00 00 00 00 00 00 d..j............ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffff814ac6c3>] kmemdup+0x23/0x50 mm/util.c:128 [<ffffffff8357c1d2>] kmemdup include/linux/fortify-string.h:440 [inline] [<ffffffff8357c1d2>] hidraw

    • Update to 5.4.0-1074.85
    Published Updated

Check your server

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

Check your server →