p PatchFirst

PatchFirst · Latest vulnerabilities

linux-ibm-5.4 vulnerabilities · Page 30

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 1295

  1. CVE-2022-49524

    High · CVSS 7.8EPSS 0.27%Fix available

    media: pci: cx23885: Fix the error handling in cx23885_initdev()

    In the Linux kernel, the following vulnerability has been resolved: media: pci: cx23885: Fix the error handling in cx23885_initdev() When the driver fails to call the dma_set_mask(), the driver will get the following splat: [ 55.853884] BUG: KASAN: use-after-free in __process_removed_driver+0x3c/0x240 [ 55.854486] Read of size 8 at addr ffff88810de60408 by task modprobe/590 [ 55.856822] Call Trace: [ 55.860327] __process_removed_driver+0x3c/0x240 [ 55.861347] bus_for_each_dev+0x102/0x160 [ 55.861681] i2c_del_driver+0x2f/0x50 This is because the driver has initialized the i2c related resources in cx23885_dev_setup() but not

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  2. CVE-2022-49522

    Medium · CVSS 5.5EPSS 0.26%Fix available

    mmc: jz4740: Apply DMA engine limits to maximum segment size

    In the Linux kernel, the following vulnerability has been resolved: mmc: jz4740: Apply DMA engine limits to maximum segment size Do what is done in other DMA-enabled MMC host drivers (cf. host/mmci.c) and limit the maximum segment size based on the DMA engine's capabilities. This is needed to avoid warnings like the following with CONFIG_DMA_API_DEBUG=y. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 21 at kernel/dma/debug.c:1162 debug_dma_map_sg+0x2f4/0x39c DMA-API: jz4780-dma 13420000.dma-controller: mapping sg segment longer than device claims to support [len=98304] [max=65536] CPU: 0 PID: 21 Comm: kworker/0:1H Not tainted 5.

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  3. CVE-2022-49520

    Medium · CVSS 5.5EPSS 0.3%Fix available

    arm64: compat: Do not treat syscall number as ESR_ELx for a bad syscall

    In the Linux kernel, the following vulnerability has been resolved: arm64: compat: Do not treat syscall number as ESR_ELx for a bad syscall If a compat process tries to execute an unknown system call above the __ARM_NR_COMPAT_END number, the kernel sends a SIGILL signal to the offending process. Information about the error is printed to dmesg in compat_arm_syscall() -> arm64_notify_die() -> arm64_force_sig_fault() -> arm64_show_signal(). arm64_show_signal() interprets a non-zero value for current->thread.fault_code as an exception syndrome and displays the message associated with the ESR_ELx.EC field (bits 31:26). current->thread.fault_cod

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  4. CVE-2022-49517

    Medium · CVSS 5.5EPSS 0.27%Fix available

    ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe This node pointer is returned by of_parse_phandle() with refcount incremented in this function. Calling of_node_put() to avoid the refcount leak.

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  5. CVE-2022-49508

    High · CVSS 7.8EPSS 0.3%Fix available

    HID: elan: Fix potential double free in elan_input_configured

    In the Linux kernel, the following vulnerability has been resolved: HID: elan: Fix potential double free in elan_input_configured 'input' is a managed resource allocated with devm_input_allocate_device(), so there is no need to call input_free_device() explicitly or there will be a double free. According to the doc of devm_input_allocate_device(): * Managed input devices do not need to be explicitly unregistered or * freed as it will be done automatically when owner device unbinds from * its driver (or binding fails).

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  6. CVE-2022-49505

    High · CVSS 7.8EPSS 0.28%Fix available

    NFC: NULL out the dev->rfkill to prevent UAF

    In the Linux kernel, the following vulnerability has been resolved: NFC: NULL out the dev->rfkill to prevent UAF Commit 3e3b5dfcd16a ("NFC: reorder the logic in nfc_{un,}register_device") assumes the device_is_registered() in function nfc_dev_up() will help to check when the rfkill is unregistered. However, this check only take effect when device_del(&dev->dev) is done in nfc_unregister_device(). Hence, the rfkill object is still possible be dereferenced. The crash trace in latest kernel (5.18-rc2): [ 68.760105] ================================================================== [ 68.760330] BUG: KASAN: use-after-free in __lock_acquire

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  7. CVE-2022-49503

    High · CVSS 7.1EPSS 0.28%Fix available

    ath9k_htc: fix potential out of bounds access with invalid rxstatus->rs_keyix

    In the Linux kernel, the following vulnerability has been resolved: ath9k_htc: fix potential out of bounds access with invalid rxstatus->rs_keyix The "rxstatus->rs_keyix" eventually gets passed to test_bit() so we need to ensure that it is within the bitmap. drivers/net/wireless/ath/ath9k/common.c:46 ath9k_cmn_rx_accept() error: passing untrusted data 'rx_stats->rs_keyix' to 'test_bit()'

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  8. CVE-2022-49495

    Medium · CVSS 5.5EPSS 0.28%Fix available

    drm/msm/hdmi: check return value after calling platform_get_resource_byname()

    In the Linux kernel, the following vulnerability has been resolved: drm/msm/hdmi: check return value after calling platform_get_resource_byname() It will cause null-ptr-deref if platform_get_resource_byname() returns NULL, we need check the return value. Patchwork: https://patchwork.freedesktop.org/patch/482992/

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  9. CVE-2022-49493

    High · CVSS 7.8EPSS 0.27%Fix available

    ASoC: rt5645: Fix errorenous cleanup order

    In the Linux kernel, the following vulnerability has been resolved: ASoC: rt5645: Fix errorenous cleanup order There is a logic error when removing rt5645 device as the function rt5645_i2c_remove() first cancel the &rt5645->jack_detect_work and delete the &rt5645->btn_check_timer latter. However, since the timer handler rt5645_btn_check_callback() will re-queue the jack_detect_work, this cleanup order is buggy. That is, once the del_timer_sync in rt5645_i2c_remove is concurrently run with the rt5645_btn_check_callback, the canceled jack_detect_work will be rescheduled again, leading to possible use-after-free. This patch fix the issue by

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  10. CVE-2022-49492

    Medium · CVSS 5.5EPSS 0.29%Fix available

    nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags

    In the Linux kernel, the following vulnerability has been resolved: nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags In nvme_alloc_admin_tags, the admin_q can be set to an error (typically -ENOMEM) if the blk_mq_init_queue call fails to set up the queue, which is checked immediately after the call. However, when we return the error message up the stack, to nvme_reset_work the error takes us to nvme_remove_dead_ctrl() nvme_dev_disable() nvme_suspend_queue(&dev->queues[0]). Here, we only check that the admin_q is non-NULL, rather than not an error or NULL, and begin quiescing a queue that never existed, leading to bad /

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  11. CVE-2022-49491

    Medium · CVSS 5.5EPSS 0.28%Fix available

    drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()

    In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: vop: fix possible null-ptr-deref in vop_bind() It will cause null-ptr-deref in resource_size(), if platform_get_resource() returns NULL, move calling resource_size() after devm_ioremap_resource() that will check 'res' to avoid null-ptr-deref.

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  12. CVE-2022-49490

    Medium · CVSS 5.5EPSS 0.27%Fix available

    drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected

    In the Linux kernel, the following vulnerability has been resolved: drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected mdp5_get_global_state runs the risk of hitting a -EDEADLK when acquiring the modeset lock, but currently mdp5_pipe_release doesn't check for if an error is returned. Because of this, there is a possibility of mdp5_pipe_release hitting a NULL dereference error. To avoid this, let's have mdp5_pipe_release check if mdp5_get_global_state returns an error and propogate that error. Changes since v1: - Separated declaration and initialization of *new_state to avoid compiler warning - Fixed some spel

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  13. CVE-2022-49489

    High · CVSS 7.8EPSS 0.28%Fix available

    drm/msm/disp/dpu1: set vbif hw config to NULL to avoid use after memory free during pm runtime resume

    In the Linux kernel, the following vulnerability has been resolved: drm/msm/disp/dpu1: set vbif hw config to NULL to avoid use after memory free during pm runtime resume BUG: Unable to handle kernel paging request at virtual address 006b6b6b6b6b6be3 Call trace: dpu_vbif_init_memtypes+0x40/0xb8 dpu_runtime_resume+0xcc/0x1c0 pm_generic_runtime_resume+0x30/0x44 __genpd_runtime_resume+0x68/0x7c genpd_runtime_resume+0x134/0x258 __rpm_callback+0x98/0x138 rpm_callback+0x30/0x88 rpm_resume+0x36c/0x49c __pm_runtime_resume+0x80/0xb0 dpu_core_irq_uninstall+0x30/0xb0 dpu_irq_uninstall+0x18/0x24 msm_drm_uninit+0xd8/0x16c Patchw

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  14. CVE-2022-49488

    Medium · CVSS 5.7EPSS 0.27%Fix available

    drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected

    In the Linux kernel, the following vulnerability has been resolved: drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected There is a possibility for mdp5_get_global_state to return -EDEADLK when acquiring the modeset lock, but currently global_state in mdp5_mixer_release doesn't check for if an error is returned. To avoid a NULL dereference error, let's have mdp5_mixer_release check if an error is returned and propagate that error. Patchwork: https://patchwork.freedesktop.org/patch/485181/

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  15. CVE-2022-49486

    Medium · CVSS 5.5EPSS 0.26%Fix available

    ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe of_find_i2c_device_by_node() takes a reference, In error paths, we should call put_device() to drop the reference to aviod refount leak.

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  16. CVE-2022-49482

    Medium · CVSS 5.5EPSS 0.27%Fix available

    ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when done.

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  17. CVE-2022-49481

    Medium · CVSS 5.5EPSS 0.27%Fix available

    regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt

    In the Linux kernel, the following vulnerability has been resolved: regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt of_node_get() returns a node with refcount incremented. Calling of_node_put() to drop the reference when not needed anymore.

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  18. CVE-2022-49478

    High · CVSS 7.8EPSS 0.29%Fix available

    media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init

    In the Linux kernel, the following vulnerability has been resolved: media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init Syzbot reported that -1 is used as array index. The problem was in missing validation check. hdw->unit_number is initialized with -1 and then if init table walk fails this value remains unchanged. Since code blindly uses this member for array indexing adding sanity check is the easiest fix for that. hdw->workpoll initialization moved upper to prevent warning in __flush_work.

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated
  19. CVE-2022-49474

    High · CVSS 7.8EPSS 0.28%Fix available

    Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout

    In the Linux kernel, the following vulnerability has been resolved: Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout Connecting the same socket twice consecutively in sco_sock_connect() could lead to a race condition where two sco_conn objects are created but only one is associated with the socket. If the socket is closed before the SCO connection is established, the timer associated with the dangling sco_conn object won't be canceled. As the sock object is being freed, the use-after-free problem happens when the timer callback function sco_sock_timeout() accesses the socket. Here's the call trace: dump_stack+0x107/0

    • Update to 5.4.0-1033.37~18.04.1
    Published Updated

Check your server

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

Check your server →