p PatchFirst

PatchFirst · Latest vulnerabilities

linux-gcp-5.4 vulnerabilities · Page 7

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 1757

  1. CVE-2022-50545

    Medium · CVSS 5.5EPSS 0.21%Fix available

    r6040: Fix kmemleak in probe and remove

    In the Linux kernel, the following vulnerability has been resolved: r6040: Fix kmemleak in probe and remove There is a memory leaks reported by kmemleak: unreferenced object 0xffff888116111000 (size 2048): comm "modprobe", pid 817, jiffies 4294759745 (age 76.502s) hex dump (first 32 bytes): 00 c4 0a 04 81 88 ff ff 08 10 11 16 81 88 ff ff ................ 08 10 11 16 81 88 ff ff 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffff815bcd82>] kmalloc_trace+0x22/0x60 [<ffffffff827e20ee>] phy_device_create+0x4e/0x90 [<ffffffff827e6072>] get_phy_device+0xd2/0x220 [<ffffffff827e7844>]

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  2. CVE-2022-50544

    Medium · CVSS 5.5EPSS 0.16%Fix available

    usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()

    In the Linux kernel, the following vulnerability has been resolved: usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info() xhci_alloc_stream_info() allocates stream context array for stream_info ->stream_ctx_array with xhci_alloc_stream_ctx(). When some error occurs, stream_info->stream_ctx_array is not released, which will lead to a memory leak. We can fix it by releasing the stream_info->stream_ctx_array with xhci_free_stream_ctx() on the error path to avoid the potential memory leak.

    • Update to 5.4.0-1100.109~18.04.1
    Published Updated
  3. CVE-2022-50542

    High · CVSS 7.8EPSS 0.17%Fix available

    media: si470x: Fix use-after-free in si470x_int_in_callback()

    In the Linux kernel, the following vulnerability has been resolved: media: si470x: Fix use-after-free in si470x_int_in_callback() syzbot reported use-after-free in si470x_int_in_callback() [1]. This indicates that urb->context, which contains struct si470x_device object, is freed when si470x_int_in_callback() is called. The cause of this issue is that si470x_int_in_callback() is called for freed urb. si470x_usb_driver_probe() calls si470x_start_usb(), which then calls usb_submit_urb() and si470x_start(). If si470x_start_usb() fails, si470x_usb_driver_probe() doesn't kill urb, but it just frees struct si470x_device object, as depicted be

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  4. CVE-2022-50538

    Medium · CVSS 5.5EPSS 0.16%Fix available

    vme: Fix error not catched in fake_init()

    In the Linux kernel, the following vulnerability has been resolved: vme: Fix error not catched in fake_init() In fake_init(), __root_device_register() is possible to fail but it's ignored, which can cause unregistering vme_root fail when exit. general protection fault, probably for non-canonical address 0xdffffc000000008c KASAN: null-ptr-deref in range [0x0000000000000460-0x0000000000000467] RIP: 0010:root_device_unregister+0x26/0x60 Call Trace: <TASK> __x64_sys_delete_module+0x34f/0x540 do_syscall_64+0x38/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd Return error when __root_device_register() fails.

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  5. CVE-2022-50536

    High · CVSS 7.8EPSS 0.17%Fix available

    bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data

    In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data In tcp_bpf_send_verdict() redirection, the eval variable is assigned to __SK_REDIRECT after the apply_bytes data is sent, if msg has more_data, sock_put() will be called multiple times. We should reset the eval variable to __SK_NONE every time more_data starts. This causes: IPv4: Attempt to release TCP socket in state 1 00000000b4c925d7 ------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 5 PID: 4482 at lib/refcount.c:25 refcount_warn_saturate+0x7d/0x110 Modules

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  6. CVE-2022-50534

    Medium · CVSS 5.5EPSS 0.16%Fix available

    dm thin: Use last transaction's pmd->root when commit failed

    In the Linux kernel, the following vulnerability has been resolved: dm thin: Use last transaction's pmd->root when commit failed Recently we found a softlock up problem in dm thin pool btree lookup code due to corrupted metadata: Kernel panic - not syncing: softlockup: hung tasks CPU: 7 PID: 2669225 Comm: kworker/u16:3 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) Workqueue: dm-thin do_worker [dm_thin_pool] Call Trace: <IRQ> dump_stack+0x9c/0xd3 panic+0x35d/0x6b9 watchdog_timer_fn.cold+0x16/0x25 __run_hrtimer+0xa2/0x2d0 </IRQ> RIP: 0010:__relink_lru+0x102/0x220 [dm_bufio] __bufio_new+0x11f/0x4f0 [dm_buf

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  7. CVE-2022-50532

    Medium · CVSS 5.5EPSS 0.16%Fix available

    scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()

    In the Linux kernel, the following vulnerability has been resolved: scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add() In mpt3sas_transport_port_add(), if sas_rphy_add() returns error, sas_rphy_free() needs be called to free the resource allocated in sas_end_device_alloc(). Otherwise a kernel crash will happen: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000108 CPU: 45 PID: 37020 Comm: bash Kdump: loaded Tainted: G W 6.1.0-rc1+ #189 pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : device_del+0x54/0x3d0 lr : device_del+0x37c/0x3d0 Call trace: devi

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  8. CVE-2022-50531

    Medium · CVSS 5.5EPSS 0.16%Fix available

    tipc: fix an information leak in tipc_topsrv_kern_subscr

    In the Linux kernel, the following vulnerability has been resolved: tipc: fix an information leak in tipc_topsrv_kern_subscr Use a 8-byte write to initialize sub.usr_handle in tipc_topsrv_kern_subscr(), otherwise four bytes remain uninitialized when issuing setsockopt(..., SOL_TIPC, ...). This resulted in an infoleak reported by KMSAN when the packet was received: ===================================================== BUG: KMSAN: kernel-infoleak in copyout+0xbc/0x100 lib/iov_iter.c:169 instrument_copy_to_user ./include/linux/instrumented.h:121 copyout+0xbc/0x100 lib/iov_iter.c:169 _copy_to_iter+0x5c0/0x20a0 lib/iov_iter.c:527

    • Update to 5.4.0-1100.109~18.04.1
    Published Updated
  9. CVE-2022-50529

    Medium · CVSS 5.5EPSS 0.16%Fix available

    test_firmware: fix memory leak in test_firmware_init()

    In the Linux kernel, the following vulnerability has been resolved: test_firmware: fix memory leak in test_firmware_init() When misc_register() failed in test_firmware_init(), the memory pointed by test_fw_config->name is not released. The memory leak information is as follows: unreferenced object 0xffff88810a34cb00 (size 32): comm "insmod", pid 7952, jiffies 4294948236 (age 49.060s) hex dump (first 32 bytes): 74 65 73 74 2d 66 69 72 6d 77 61 72 65 2e 62 69 test-firmware.bi 6e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 n............... backtrace: [<ffffffff81b21fcb>] __kmalloc_node_track_caller+0x4b/0xc0 [<ffffffff

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  10. CVE-2022-50525

    Medium · CVSS 5.5EPSS 0.16%Fix available

    iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()

    In the Linux kernel, the following vulnerability has been resolved: iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe() The fsl_pamu_probe() returns directly when create_csd() failed, leaving irq and memories unreleased. Fix by jumping to error if create_csd() returns error.

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  11. CVE-2022-50523

    Medium · CVSS 5.5EPSS 0.16%Fix available

    clk: rockchip: Fix memory leak in rockchip_clk_register_pll()

    In the Linux kernel, the following vulnerability has been resolved: clk: rockchip: Fix memory leak in rockchip_clk_register_pll() If clk_register() fails, @pll->rate_table may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  12. CVE-2022-50522

    Low · CVSS 3.3EPSS 0.16%Fix available

    mcb: mcb-parse: fix error handing in chameleon_parse_gdd()

    In the Linux kernel, the following vulnerability has been resolved: mcb: mcb-parse: fix error handing in chameleon_parse_gdd() If mcb_device_register() returns error in chameleon_parse_gdd(), the refcount of bus and device name are leaked. Fix this by calling put_device() to give up the reference, so they can be released in mcb_release_dev() and kobject_cleanup().

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  13. CVE-2022-50521

    Medium · CVSS 5.5EPSS 0.16%Fix available

    platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()

    In the Linux kernel, the following vulnerability has been resolved: platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]() The ACPI buffer memory (out.pointer) returned by wmi_evaluate_method() is not freed after the call, so it leads to memory leak. The method results in ACPI buffer is not used, so just pass NULL to wmi_evaluate_method() which fixes the memory leak.

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  14. CVE-2022-50520

    Medium · CVSS 5.5EPSS 0.17%Fix available

    drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()

    In the Linux kernel, the following vulnerability has been resolved: drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios() As comment of pci_get_class() says, it returns a pci_device with its refcount increased and decreased the refcount for the input parameter @from if it is not NULL. If we break the loop in radeon_atrm_get_bios() with 'pdev' not NULL, we need to call pci_dev_put() to decrease the refcount. Add the missing pci_dev_put() to avoid refcount leak.

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  15. CVE-2022-50519

    Medium · CVSS 5.5EPSS 0.16%Fix available

    nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure

    In the Linux kernel, the following vulnerability has been resolved: nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure If creation or finalization of a checkpoint fails due to anomalies in the checkpoint metadata on disk, a kernel warning is generated. This patch replaces the WARN_ONs by nilfs_error, so that a kernel, booted with panic_on_warn, does not panic. A nilfs_error is appropriate here to handle the abnormal filesystem condition. This also replaces the detected error codes with an I/O error so that neither of the internal error codes is returned to callers.

    • Update to 5.4.0-1097.106~18.04.1
    Published Updated
  16. CVE-2022-50514

    Medium · CVSS 5.5EPSS 0.16%Fix available

    usb: gadget: f_hid: fix refcount leak on error path

    In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_hid: fix refcount leak on error path When failing to allocate report_desc, opts->refcnt has already been incremented so it needs to be decremented to avoid leaving the options structure permanently locked.

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  17. CVE-2022-50513

    Medium · CVSS 5.5EPSS 0.16%Fix available

    staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()

    In the Linux kernel, the following vulnerability has been resolved: staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv() In rtw_init_cmd_priv(), if `pcmdpriv->rsp_allocated_buf` is allocated in failure, then `pcmdpriv->cmd_allocated_buf` will be not properly released. Besides, considering there are only two error paths and the first one can directly return, so we do not need implicitly jump to the `exit` tag to execute the error handler. So this patch added `kfree(pcmdpriv->cmd_allocated_buf);` on the error path to release the resource and simplified the return logic of rtw_init_cmd_priv(). As there is no proper device to

    • Update to 5.4.0-1100.109~18.04.1
    Published Updated
  18. CVE-2022-50511

    Medium · CVSS 5.5EPSS 0.16%Fix available

    lib/fonts: fix undefined behavior in bit shift for get_default_font

    In the Linux kernel, the following vulnerability has been resolved: lib/fonts: fix undefined behavior in bit shift for get_default_font Shifting signed 32-bit value by 31 bits is undefined, so changing significant bit to unsigned. The UBSAN warning calltrace like below: UBSAN: shift-out-of-bounds in lib/fonts/fonts.c:139:20 left shift of 1 by 31 places cannot be represented in type 'int' <TASK> dump_stack_lvl+0x7d/0xa5 dump_stack+0x15/0x1b ubsan_epilogue+0xe/0x4e __ubsan_handle_shift_out_of_bounds+0x1e7/0x20c get_default_font+0x1c7/0x1f0 fbcon_startup+0x347/0x3a0 do_take_over_console+0xce/0x270 do_fbcon_takeover+0xa1/0x170 do_fb

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  19. CVE-2022-50510

    Medium · CVSS 5.5EPSS 0.16%Fix available

    perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()

    In the Linux kernel, the following vulnerability has been resolved: perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init() arm_smmu_pmu_init() won't remove the callback added by cpuhp_setup_state_multi() when platform_driver_register() failed. Remove the callback by cpuhp_remove_multi_state() in fail path. Similar to the handling of arm_ccn_init() in commit 26242b330093 ("bus: arm-ccn: Prevent hotplug callback leak")

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated
  20. CVE-2022-50509

    Medium · CVSS 5.5EPSS 0.16%Fix available

    media: coda: Add check for kmalloc

    In the Linux kernel, the following vulnerability has been resolved: media: coda: Add check for kmalloc As the kmalloc may return NULL pointer, it should be better to check the return value in order to avoid NULL poineter dereference, same as the others.

    • Update to 5.4.0-1101.110~18.04.1
    Published Updated

Check your server

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

Check your server →