By day of publication

Vulnerabilities published on June 18, 2025

417 records12critical150high253medium2low

  • CVE-2022-50163ax25: fix incorrect dev_tracker usage

    In the Linux kernel, the following vulnerability has been resolved: ax25: fix incorrect devtracker usage While investigating a separate rose issue [1], and enabling CONFIGNETDEVREFCNTTRACKER=y, Bernard reported an orthogonal ax25 issue [2] An ax25dev can be used by one (or many) struct ax25cb. We thus need different...

    7.8high
    cvelistnvd
  • CVE-2022-50162wifi: libertas: Fix possible refcount leak in if_usb_probe()

    In the Linux kernel, the following vulnerability has been resolved: wifi: libertas: Fix possible refcount leak in ifusbprobe() usbgetdev will be called before lbsgetfirmwareasync which means that usbputdev need to be called when lbsgetfirmwareasync fails.

    5.5medium
    cvelistnvd
  • CVE-2022-50161mtd: maps: Fix refcount leak in of_flash_probe_versatile

    In the Linux kernel, the following vulnerability has been resolved: mtd: maps: Fix refcount leak in offlashprobeversatile offindmatchingnodeandmatch() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50160mtd: maps: Fix refcount leak in ap_flash_init

    In the Linux kernel, the following vulnerability has been resolved: mtd: maps: Fix refcount leak in apflashinit offindmatchingnode() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50159of: check previous kernel's ima-kexec-buffer against memory bounds

    In the Linux kernel, the following vulnerability has been resolved: of: check previous kernel's ima-kexec-buffer against memory bounds Presently imagetkexecbuffer() doesn't check if the previous kernel's ima-kexec-buffer lies outside the addressable memory range. This can result in a kernel panic if the new kernel i...

    5.5medium
    cvelistnvd
  • CVE-2022-50158mtd: partitions: Fix refcount leak in parse_redboot_of

    In the Linux kernel, the following vulnerability has been resolved: mtd: partitions: Fix refcount leak in parseredbootof ofgetchildbyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50157PCI: microchip: Fix refcount leak in mc_pcie_init_irq_domains()

    In the Linux kernel, the following vulnerability has been resolved: PCI: microchip: Fix refcount leak in mcpcieinitirqdomains() ofgetnextchild() returns a node pointer with refcount incremented, so we should use ofnodeput() on it when we don't need it anymore. mcpcieinitirqdomains() only calls ofnodeput() in the nor...

    5.5medium
    cvelistnvd
  • CVE-2022-50156HID: cp2112: prevent a buffer overflow in cp2112_xfer()

    In the Linux kernel, the following vulnerability has been resolved: HID: cp2112: prevent a buffer overflow in cp2112xfer() Smatch warnings: drivers/hid/hid-cp2112.c:793 cp2112xfer() error: memcpy() 'data-block[1]' too small (33 vs 255) drivers/hid/hid-cp2112.c:793 cp2112xfer() error: memcpy() 'buf' too small (64 vs...

    7.8high
    cvelistnvd
  • CVE-2022-50155mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset

    In the Linux kernel, the following vulnerability has been resolved: mtd: parsers: ofpart: Fix refcount leak in bcm4908partitionsfwoffset offindnodebypath() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50154PCI: mediatek-gen3: Fix refcount leak in mtk_pcie_init_irq_domains()

    In the Linux kernel, the following vulnerability has been resolved: PCI: mediatek-gen3: Fix refcount leak in mtkpcieinitirqdomains() ofgetchildbyname() returns a node pointer with refcount incremented, so we should use ofnodeput() on it when we don't need it anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50153usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe

    In the Linux kernel, the following vulnerability has been resolved: usb: host: Fix refcount leak in ehcihcdppcofprobe offindcompatiblenode() returns a node pointer with refcount incremented, we should use ofnodeput() on it when done. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50152usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe

    In the Linux kernel, the following vulnerability has been resolved: usb: ohci-nxp: Fix refcount leak in ohcihcdnxpprobe ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50151usb: cdns3: fix random warning message when driver load

    In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: fix random warning message when driver load Warning log: [ 4.141392] Unexpected gfp: 0x4 (GFPDMA32). Fixing up to gfp: 0xa20 (GFPATOMIC). Fix your code! [ 4.150340] CPU: 1 PID: 175 Comm: 1-0050 Not tainted 5.15.5-00039-g2fd9ae1b568c #20...

    7.8high
    cvelistnvd
  • CVE-2022-50149driver core: fix potential deadlock in __driver_attach

    In the Linux kernel, the following vulnerability has been resolved: driver core: fix potential deadlock in driverattach In driverattach function, There are also AA deadlock problem, like the commit b232b02bf3c2 ("driver core: fix deadlock in deviceattach"). stack like commit b232b02bf3c2 ("driver core: fix deadlock...

    5.5medium
    cvelistnvd
  • CVE-2022-50148kernfs: fix potential NULL dereference in __kernfs_remove

    In the Linux kernel, the following vulnerability has been resolved: kernfs: fix potential NULL dereference in kernfsremove When lockdep is enabled, lockdepassertheldwrite would cause potential NULL pointer dereference. Fix the following smatch warnings: fs/kernfs/dir.c:1353 kernfsremove() warn: variable dereferenced...

    5.5medium
    cvelistnvd
  • CVE-2022-50147mm/mempolicy: fix get_nodes out of bound access

    In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: fix getnodes out of bound access When user specified more nodes than supported, getnodes will access nmask array out of bounds.

    7.1high
    cvelistnvd
  • CVE-2022-50146PCI: dwc: Deallocate EPC memory on dw_pcie_ep_init() errors

    In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: Deallocate EPC memory on dwpcieepinit() errors If dwpcieepinit() fails to perform any action after the EPC memory is initialized and the MSI memory region is allocated, the latter parts won't be undone thus causing a memory leak. Add a cle...

    5.5medium
    cvelistnvd
  • CVE-2022-50145dmaengine: sf-pdma: Add multithread support for a DMA channel

    In the Linux kernel, the following vulnerability has been resolved: dmaengine: sf-pdma: Add multithread support for a DMA channel When we get a DMA channel and try to use it in multiple threads it will cause oops and hanging the system. % echo 64 /sys/module/dmatest/parameters/threadsperchan % echo 10000 /sys/module...

    7.8high
    cvelistnvd
  • CVE-2022-50144soundwire: revisit driver bind/unbind and callbacks

    In the Linux kernel, the following vulnerability has been resolved: soundwire: revisit driver bind/unbind and callbacks In the SoundWire probe, we store a pointer from the driver ops into the 'slave' structure. This can lead to kernel oopses when unbinding codec drivers, e.g. with the following sequence to remove ma...

    5.5medium
    cvelistnvd
  • CVE-2022-50143intel_th: Fix a resource leak in an error handling path

    In the Linux kernel, the following vulnerability has been resolved: intelth: Fix a resource leak in an error handling path If an error occurs after calling 'pciallocirqvectors()', 'pcifreeirqvectors()' must be called as already done in the remove function.

    5.5medium
    cvelistnvd
  • CVE-2022-50142intel_th: msu: Fix vmalloced buffers

    In the Linux kernel, the following vulnerability has been resolved: intelth: msu: Fix vmalloced buffers After commit f5ff79fddf0e ("dma-mapping: remove CONFIGDMAREMAP") there's a chance of DMA buffer getting allocated via vmalloc(), which messes up the mmapping code: RIP: mscmmapfault [intelthmsu] Call Trace: <TASK...

    7.8high
    cvelistnvd
  • CVE-2022-50141mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch

    In the Linux kernel, the following vulnerability has been resolved: mmc: sdhci-of-esdhc: Fix refcount leak in esdhcsignalvoltageswitch offindmatchingnode() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak. ofnodepu...

    5.5medium
    cvelistnvd
  • CVE-2022-50140memstick/ms_block: Fix a memory leak

    In the Linux kernel, the following vulnerability has been resolved: memstick/msblock: Fix a memory leak 'erasedblocksbitmap' is never freed. As it is allocated at the same time as 'usedblocksbitmap', it is likely that it should be freed also at the same time. Add the corresponding bitmapfree() in msbdataclear().

    5.5medium
    cvelistnvd
  • CVE-2022-50139usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()

    In the Linux kernel, the following vulnerability has been resolved: usb: aspeed-vhub: Fix refcount leak bug in astvhubinitdesc() We should call ofnodeput() for the reference returned by ofgetchildbyname() which has increased the refcount.

    5.5medium
    cvelistnvd
  • CVE-2022-50138RDMA/qedr: Fix potential memory leak in __qedr_alloc_mr()

    In the Linux kernel, the following vulnerability has been resolved: RDMA/qedr: Fix potential memory leak in qedrallocmr() qedrallocmr() allocates a memory chunk for "mr-info.pbltable" with initmrinfo(). When rdmaalloctid() and rdmaregistertid() fail, "mr" is released while "mr-info.pbltable" is not released, which w...

    5.5medium
    cvelistnvd
  • CVE-2022-50137RDMA/irdma: Fix a window for use-after-free

    In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix a window for use-after-free During a destroy CQ an interrupt may cause processing of a CQE after CQ resources are freed by irdmacqfreersrc(). Fix this by moving the call to irdmacqfreersrc() after the irdmasccleanupceqes(), which is...

    7.8high
    cvelistnvd
  • CVE-2022-50136RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event

    In the Linux kernel, the following vulnerability has been resolved: RDMA/siw: Fix duplicated reported IWCMEVENTCONNECTREPLY event If siwrecvmparr returns -EAGAIN, it means that the MPA reply hasn't been received completely, and should not report IWCMEVENTCONNECTREPLY in this case. This may trigger a call trace in iw...

    7.5high
    cvelistnvd
  • CVE-2022-50135RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxe_qp_do_cleanup

    In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix BUG: KASAN: null-ptr-deref in rxeqpdocleanup The function rxecreateqp calls rxeqpfrominit. If some error occurs, the error handler of function rxeqpfrominit will set both scq and rcq to NULL. Then rxecreateqp calls rxeput to handle qp....

    5.5medium
    cvelistnvd
  • CVE-2022-50134RDMA/hfi1: fix potential memory leak in setup_base_ctxt()

    In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: fix potential memory leak in setupbasectxt() setupbasectxt() allocates a memory chunk for uctxt-groups with hfi1allocctxtrcvgroups(). When inituserctxt() fails, uctxt-groups is not released, which will lead to a memory leak. We should rel...

    5.5medium
    cvelistnvd
  • CVE-2022-50133usb: xhci_plat_remove: avoid NULL dereference

    In the Linux kernel, the following vulnerability has been resolved: usb: xhciplatremove: avoid NULL dereference Since commit 4736ebd7fcaff1eb8481c140ba494962847d6e0a ("usb: host: xhci-plat: omit shared hcd if either root hub has no ports") xhci-sharedhcd can be NULL, which causes the following Oops on reboot: [ 710....

    5.5medium
    cvelistnvd
  • CVE-2022-50132usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()

    In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: change place of 'privep' assignment in cdns3gadgetepdequeue(), cdns3gadgetepenable() If 'ep' is NULL, result of eptocdns3ep(ep) is invalid pointer and its dereference with privep-cdns3dev may cause panic. Found by Linux Verification Cent...

    5.5medium
    cvelistnvd
  • CVE-2022-50131HID: mcp2221: prevent a buffer overflow in mcp_smbus_write()

    In the Linux kernel, the following vulnerability has been resolved: HID: mcp2221: prevent a buffer overflow in mcpsmbuswrite() Smatch Warning: drivers/hid/hid-mcp2221.c:388 mcpsmbuswrite() error: memcpy() '&mcp-txbuf[5]' too small (59 vs 255) drivers/hid/hid-mcp2221.c:388 mcpsmbuswrite() error: memcpy() 'buf' too sm...

    7.8high
    cvelistnvd
  • CVE-2022-50130staging: fbtft: core: set smem_len before fb_deferred_io_init call

    In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: core: set smemlen before fbdeferredioinit call The fbtftframebufferalloc() calls fbdeferredioinit() before initializing info-fix.smemlen. It is set to zero by the framebufferalloc() function. It will trigger a WARNON() at the start o...

    5.5medium
    cvelistnvd
  • CVE-2022-50129RDMA/srpt: Fix a use-after-free

    In the Linux kernel, the following vulnerability has been resolved: RDMA/srpt: Fix a use-after-free Change the LIO port members inside struct srptport from regular members into pointers. Allocate the LIO port data structures from inside srptmaketport() and free these from inside srptmaketport(). Keep struct srptdevi...

    7.0high
    cvelistnvd
  • CVE-2022-50127RDMA/rxe: Fix error unwind in rxe_create_qp()

    In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix error unwind in rxecreateqp() In the function rxecreateqp(), rxeqpfrominit() is called to initialize qp, internally things like the spin locks are not setup until rxeqpinitreq(). If an error occures before this point then the unwind wi...

    5.5medium
    cvelistnvd
  • CVE-2022-50126jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted

    In the Linux kernel, the following vulnerability has been resolved: jbd2: fix assertion 'jh-bfrozendata == NULL' failure when journal aborted Following process will fail assertion 'jh-bfrozendata == NULL' in jbd2journaldirtymetadata(): jbd2journalcommittransaction unlink(dir/a) jh-btransaction = trans1 jh-bjlist = B...

    5.5medium
    cvelistnvd
  • CVE-2022-50125ASoC: cros_ec_codec: Fix refcount leak in cros_ec_codec_platform_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: croseccodec: Fix refcount leak in croseccodecplatformprobe ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50124ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: mt6797-mt6351: Fix refcount leak in mt6797mt6351devprobe ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50123ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8173: Fix refcount leak in mt8173rt5650rt5676devprobe ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Fix missing ofnodeput() in error paths.

    5.5medium
    cvelistnvd
  • CVE-2022-50122ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173rt5650devprobe ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Fix refcount leak in some error paths.

    5.5medium
    cvelistnvd
  • CVE-2022-50121remoteproc: k3-r5: Fix refcount leak in k3_r5_cluster_of_init

    In the Linux kernel, the following vulnerability has been resolved: remoteproc: k3-r5: Fix refcount leak in k3r5clusterofinit Every iteration of foreachavailablechildofnode() decrements the reference count of the previous node. When breaking early from a foreachavailablechildofnode() loop, we need to explicitly call...

    5.5medium
    cvelistnvd
  • CVE-2022-50120remoteproc: imx_rproc: Fix refcount leak in imx_rproc_addr_init

    In the Linux kernel, the following vulnerability has been resolved: remoteproc: imxrproc: Fix refcount leak in imxrprocaddrinit ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not needed anymore. This function has two paths missing ofnodeput().

    5.5medium
    cvelistnvd
  • CVE-2022-50119rpmsg: Fix possible refcount leak in rpmsg_register_device_override()

    In the Linux kernel, the following vulnerability has been resolved: rpmsg: Fix possible refcount leak in rpmsgregisterdeviceoverride() rpmsgregisterdeviceoverride need to call putdevice to free vch when driversetoverride fails. Fix this by adding a putdevice() to the error path.

    5.5medium
    cvelistnvd
  • CVE-2022-50118powerpc/perf: Optimize clearing the pending PMI and remove WARN_ON for PMI check in power_pmu_disable

    In the Linux kernel, the following vulnerability has been resolved: powerpc/perf: Optimize clearing the pending PMI and remove WARNON for PMI check in powerpmudisable commit 2c9ac51b850d ("powerpc/perf: Fix PMU callbacks to clear pending PMI before resetting an overflown PMC") added a new function "pmiirqpending" in...

    5.5medium
    cvelistnvd
  • CVE-2022-50117vfio: Split migration ops from main device ops

    In the Linux kernel, the following vulnerability has been resolved: vfio: Split migration ops from main device ops vfio core checks whether the driver sets some migration op (e.g. setstate/getstate) and accordingly calls its op. However, currently mlx5 driver sets the above ops without regards to its migration caps....

    5.5medium
    cvelistnvd
  • CVE-2022-50116tty: n_gsm: fix deadlock and link starvation in outgoing data path

    In the Linux kernel, the following vulnerability has been resolved: tty: ngsm: fix deadlock and link starvation in outgoing data path The current implementation queues up new control and user packets as needed and processes this queue down to the ldisc in the same code path. That means that the upper and the lower l...

    5.5medium
    cvelistnvd
  • CVE-2022-50115ASoC: SOF: ipc3-topology: Prevent double freeing of ipc_control_data via load_bytes

    In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-topology: Prevent double freeing of ipccontroldata via loadbytes We have sanity checks for byte controls and if any of the fail the locally allocated scontrol-ipccontroldata is freed up, but not set to NULL. On a rollback path of the...

    7.8high
    cvelistnvd
  • CVE-2022-50114net: 9p: fix refcount leak in p9_read_work() error handling

    In the Linux kernel, the following vulnerability has been resolved: net: 9p: fix refcount leak in p9readwork() error handling p9reqput need to be called when m-rreq-rc.sdata is NULL to avoid temporary refcount leak. [Dominique: commit wording adjustments, p9reqput argument fixes for rebase]

    5.5medium
    cvelistnvd
  • CVE-2022-50113ASoc: audio-graph-card2: Fix refcount leak bug in __graph_get_type()

    In the Linux kernel, the following vulnerability has been resolved: ASoc: audio-graph-card2: Fix refcount leak bug in graphgettype() We should call ofnodeput() for the reference before its replacement as it returned by ofgetparent() which has increased the refcount. Besides, we should also call ofnodeput() before re...

    5.5medium
    cvelistnvd
  • CVE-2022-50112rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge

    In the Linux kernel, the following vulnerability has been resolved: rpmsg: qcomsmd: Fix refcount leak in qcomsmdparseedge ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when done.

    5.5medium
    cvelistnvd
  • CVE-2022-50111ASoC: mt6359: Fix refcount leak bug

    In the Linux kernel, the following vulnerability has been resolved: ASoC: mt6359: Fix refcount leak bug In mt6359parsedt() and mt6359accdetparsedt(), we should call ofnodeput() for the reference returned by ofgetchildbyname() which has increased the refcount.

    5.5medium
    cvelistnvd
  • CVE-2022-50110watchdog: sp5100_tco: Fix a memory leak of EFCH MMIO resource

    In the Linux kernel, the following vulnerability has been resolved: watchdog: sp5100tco: Fix a memory leak of EFCH MMIO resource Unlike releasememregion(), a call to releaseresource() does not free the resource, so it has to be freed explicitly to avoid a memory leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50109video: fbdev: amba-clcd: Fix refcount leak bugs

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: amba-clcd: Fix refcount leak bugs In clcdfbofinitdisplay(), we should call ofnodeput() for the references returned by ofgraphgetnextendpoint() and ofgraphgetremoteportparent() which have increased the refcount. Besides, we should call...

    5.5medium
    cvelistnvd
  • CVE-2022-50108mfd: max77620: Fix refcount leak in max77620_initialise_fps

    In the Linux kernel, the following vulnerability has been resolved: mfd: max77620: Fix refcount leak in max77620initialisefps ofgetchildbyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50107cifs: Fix memory leak when using fscache

    In the Linux kernel, the following vulnerability has been resolved: cifs: Fix memory leak when using fscache If we hit the 'index == nextcached' case, we leak a refcount on the struct page. Fix this by using readaheadfolio() which takes care of the refcount for you.

    5.5medium
    cvelistnvd
  • CVE-2022-50106powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address

    In the Linux kernel, the following vulnerability has been resolved: powerpc/cell/axonmsi: Fix refcount leak in setupmsimsgaddress ofgetnextparent() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() in the error path to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50105powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader

    In the Linux kernel, the following vulnerability has been resolved: powerpc/spufs: Fix refcount leak in spufsinitisolatedloader offindnodebypath() returns remote device nodepointer with refcount incremented, we should use ofnodeput() on it when done. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50104powerpc/xive: Fix refcount leak in xive_get_max_prio

    In the Linux kernel, the following vulnerability has been resolved: powerpc/xive: Fix refcount leak in xivegetmaxprio offindnodebypath() returns a node pointer with refcount incremented, we should use ofnodeput() on it when done. Add missing ofnodeput() to avoid refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-50103sched, cpuset: Fix dl_cpu_busy() panic due to empty cs->cpus_allowed

    In the Linux kernel, the following vulnerability has been resolved: sched, cpuset: Fix dlcpubusy() panic due to empty cs-cpusallowed With cgroup v2, the cpuset's cpusallowed mask can be empty indicating that the cpuset will just use the effective CPUs of its parent. So cpusetcanattach() can call taskcanattach() with...

    7.1high
    cvelistnvd
  • CVE-2022-50102video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: arkfb: Fix a divide-by-zero bug in arksetpixclock() 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 in: drivers/video/fbdev/arkfb.c:784: arkse...

    5.5medium
    cvelistnvd
  • CVE-2022-50101video: fbdev: vt8623fb: Check the size of screen before memset_io()

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: vt8623fb: Check the size of screen before memsetio() In the function vt8623fbsetpar(), the value of 'screensize' is calculated by the user input. If the user provides the improper value, the value of 'screensize' may larger than 'info-...

    7.8high
    cvelistnvd
  • CVE-2022-50100sched/core: Do not requeue task on CPU excluded from cpus_mask

    In the Linux kernel, the following vulnerability has been resolved: sched/core: Do not requeue task on CPU excluded from cpusmask The following warning was triggered on a large machine early in boot on a distribution kernel but the same problem should also affect mainline. WARNING: CPU: 439 PID: 10 at ../kernel/work...

    5.5medium
    cvelistnvd
  • CVE-2022-50099video: fbdev: arkfb: Check the size of screen before memset_io()

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: arkfb: Check the size of screen before memsetio() In the function arkfbsetpar(), the value of 'screensize' is calculated by the user input. If the user provides the improper value, the value of 'screensize' may larger than 'info-screen...

    7.8high
    cvelistnvd
  • CVE-2022-50098scsi: qla2xxx: Fix crash due to stale SRB access around I/O timeouts

    In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix crash due to stale SRB access around I/O timeouts Ensure SRB is returned during I/O timeout error escalation. If that is not possible fail the escalation path. Following crash stack was seen: BUG: unable to handle kernel paging re...

    8.8high
    cvelistnvd
  • CVE-2022-50097video: fbdev: s3fb: Check the size of screen before memset_io()

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: s3fb: Check the size of screen before memsetio() In the function s3fbsetpar(), the value of 'screensize' is calculated by the user input. If the user provides the improper value, the value of 'screensize' may larger than 'info-screensi...

    7.1high
    cvelistnvd
  • CVE-2022-50096x86/kprobes: Update kcb status flag after singlestepping

    In the Linux kernel, the following vulnerability has been resolved: x86/kprobes: Update kcb status flag after singlestepping Fix kprobes to update kcb (kprobes control block) status flag to KPROBEHITSSDONE even if the kp-posthandler is not set. This bug may cause a kernel panic if another INT3 user runs right after...

    5.5medium
    cvelistnvd
  • CVE-2022-50095posix-cpu-timers: Cleanup CPU timers before freeing them during exec

    In the Linux kernel, the following vulnerability has been resolved: posix-cpu-timers: Cleanup CPU timers before freeing them during exec Commit 55e8c8eb2c7b ("posix-cpu-timers: Store a reference to a pid not a task") started looking up tasks by PID when deleting a CPU timer. When a non-leader thread calls execve, it...

    7.8high
    cvelistnvd
  • CVE-2022-50094spmi: trace: fix stack-out-of-bound access in SPMI tracing functions

    In the Linux kernel, the following vulnerability has been resolved: spmi: trace: fix stack-out-of-bound access in SPMI tracing functions tracespmiwritebegin() and tracespmireadend() both call memcpy() with a length of "len + 1". This leads to one extra byte being read beyond the end of the specified buffer. Fix this...

    7.1high
    cvelistnvd
  • CVE-2022-50093iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)

    In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: avoid invalid memory access via nodeonline(NUMANONODE) KASAN reports: [ 4.668325][ T0] BUG: KASAN: wild-memory-access in dmarparseonerhsa (arch/x86/include/asm/bitops.h:214 arch/x86/include/asm/bitops.h:226 include/asm-generic/bitops/ins...

    7.1high
    cvelistnvd
  • CVE-2022-50092dm thin: fix use-after-free crash in dm_sm_register_threshold_callback

    In the Linux kernel, the following vulnerability has been resolved: dm thin: fix use-after-free crash in dmsmregisterthresholdcallback Fault inject on pool metadata device reports: BUG: KASAN: use-after-free in dmpoolregistermetadatathreshold+0x40/0x80 Read of size 8 at addr ffff8881b9d50068 by task dmsetup/950 CPU:...

    5.5medium
    cvelistnvd
  • CVE-2022-50091locking/csd_lock: Change csdlock_debug from early_param to __setup

    In the Linux kernel, the following vulnerability has been resolved: locking/csdlock: Change csdlockdebug from earlyparam to setup The csdlockdebug kernel-boot parameter is parsed by the earlyparam() function csdlockdebug(). If set, csdlockdebug() invokes staticbranchenable() to enable csdlockwait feature, which trig...

    5.5medium
    cvelistnvd
  • CVE-2022-50090btrfs: replace BTRFS_MAX_EXTENT_SIZE with fs_info->max_extent_size

    In the Linux kernel, the following vulnerability has been resolved: btrfs: replace BTRFSMAXEXTENTSIZE with fsinfo-maxextentsize On zoned filesystem, data write out is limited by maxzoneappendsize, and a large ordered extent is split according the size of a bio. OTOH, the number of extents to be written is calculated...

    7.8high
    cvelistnvd
  • CVE-2022-50089btrfs: ensure pages are unlocked on cow_file_range() failure

    In the Linux kernel, the following vulnerability has been resolved: btrfs: ensure pages are unlocked on cowfilerange() failure There is a hungtask report on zoned btrfs like below. https://github.com/naota/linux/issues/59 [726.328648] INFO: task rocksdb:high0:11085 blocked for more than 241 seconds. [726.329839] Not...

    5.5medium
    cvelistnvd
  • CVE-2022-50088mm/damon/reclaim: fix potential memory leak in damon_reclaim_init()

    In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: fix potential memory leak in damonreclaiminit() damonreclaiminit() allocates a memory chunk for ctx with damonnewctx(). When damonselectops() fails, ctx is not released, which will lead to a memory leak. We should release the ctx w...

    5.5medium
    cvelistnvd
  • CVE-2022-50087firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails

    In the Linux kernel, the following vulnerability has been resolved: firmware: armscpi: Ensure scpiinfo is not assigned if the probe fails When scpi probe fails, at any point, we need to ensure that the scpiinfo is not set and will remain NULL until the probe succeeds. If it is not taken care, then it could result us...

    7.8high
    cvelistnvd
  • CVE-2022-50086block: don't allow the same type rq_qos add more than once

    In the Linux kernel, the following vulnerability has been resolved: block: don't allow the same type rqqos add more than once In our test of iocost, we encountered some list add/del corruptions of innerwalk list in ioctimerfn. The reason can be described as follows: cpu 0 cpu 1 iocqoswrite iocqoswrite ioc = qtoioc(q...

    5.5medium
    cvelistnvd
  • CVE-2022-50085dm raid: fix address sanitizer warning in raid_resume

    In the Linux kernel, the following vulnerability has been resolved: dm raid: fix address sanitizer warning in raidresume There is a KASAN warning in raidresume when running the lvm test lvconvert-raid.sh. The reason for the warning is that mddev-raiddisks is greater than rs-raiddisks, so the loop touches one entry b...

    7.8high
    cvelistnvd
  • CVE-2022-50084dm raid: fix address sanitizer warning in raid_status

    In the Linux kernel, the following vulnerability has been resolved: dm raid: fix address sanitizer warning in raidstatus There is this warning when using a kernel with the address sanitizer and running this testsuite: https://gitlab.com/cki-project/kernel-tests/-/tree/main/storage/swraid/scsiraid ===================...

    7.1high
    cvelistnvd
  • CVE-2022-50082ext4: fix warning in ext4_iomap_begin as race between bmap and write

    In the Linux kernel, the following vulnerability has been resolved: ext4: fix warning in ext4iomapbegin as race between bmap and write We got issue as follows: ------------[ cut here ]------------ WARNING: CPU: 3 PID: 9310 at fs/ext4/inode.c:3441 ext4iomapbegin+0x182/0x5d0 RIP: 0010:ext4iomapbegin+0x182/0x5d0 RSP: 0...

    7.0high
    cvelistnvd
  • CVE-2022-50080tee: add overflow check in register_shm_helper()

    In the Linux kernel, the following vulnerability has been resolved: tee: add overflow check in registershmhelper() With special lengths supplied by user space, registershmhelper() has an integer overflow when calculating the number of pages covered by a supplied user space memory region. This causes internalgetuserp...

    5.5medium
    cvelistnvd
  • CVE-2022-50079drm/amd/display: Check correct bounds for stream encoder instances for DCN303

    In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Check correct bounds for stream encoder instances for DCN303 [Why & How] engid for DCN303 cannot be more than 1, since we have only two instances of stream encoders. Check the correct boundary condition for engine ID for DCN303 prev...

    7.0high
    cvelistnvd
  • CVE-2022-50078tracing/eprobes: Do not allow eprobes to use $stack, or % for regs

    In the Linux kernel, the following vulnerability has been resolved: tracing/eprobes: Do not allow eprobes to use $stack, or % for regs While playing with event probes (eprobes), I tried to see what would happen if I attempted to retrieve the instruction pointer (%rip) knowing that event probes do not use ptregs. The...

    5.5medium
    cvelistnvd
  • CVE-2022-50077apparmor: fix reference count leak in aa_pivotroot()

    In the Linux kernel, the following vulnerability has been resolved: apparmor: fix reference count leak in aapivotroot() The aapivotroot() function has a reference counting bug in a specific path. When aareplacecurrentlabel() returns on success, the function forgets to decrement the reference count of “target”, which...

    5.5medium
    cvelistnvd
  • CVE-2022-50076cifs: Fix memory leak on the deferred close

    In the Linux kernel, the following vulnerability has been resolved: cifs: Fix memory leak on the deferred close xfstests on smb21 report kmemleak as below: unreferenced object 0xffff8881767d6200 (size 64): comm "xfsio", pid 1284, jiffies 4294777434 (age 20.789s) hex dump (first 32 bytes): 80 5a d0 11 81 88 ff ff 78...

    5.5medium
    cvelistnvd
  • CVE-2022-50075tracing/eprobes: Have event probes be consistent with kprobes and uprobes

    In the Linux kernel, the following vulnerability has been resolved: tracing/eprobes: Have event probes be consistent with kprobes and uprobes Currently, if a symbol "@" is attempted to be used with an event probe (eprobes), it will cause a NULL pointer dereference crash. Both kprobes and uprobes can reference data o...

    5.5medium
    cvelistnvd
  • CVE-2022-50074apparmor: Fix memleak in aa_simple_write_to_buffer()

    In the Linux kernel, the following vulnerability has been resolved: apparmor: Fix memleak in aasimplewritetobuffer() When copyfromuser failed, the memory is freed by kvfree. however the management struct and data blob are allocated independently, so only kvfree(data) cause a memleak issue here. Use aaputloaddata(dat...

    5.5medium
    cvelistnvd
  • CVE-2022-50073net: tap: NULL pointer derefence in dev_parse_header_protocol when skb->dev is null

    In the Linux kernel, the following vulnerability has been resolved: net: tap: NULL pointer derefence in devparseheaderprotocol when skb-dev is null Fixes a NULL pointer derefence bug triggered from tap driver. When tapgetuser calls virtionethdrtoskb the skb-dev is null (in tap.c skb-dev is set after the call to virt...

    5.5medium
    cvelistnvd
  • CVE-2022-50072NFSv4/pnfs: Fix a use-after-free bug in open

    In the Linux kernel, the following vulnerability has been resolved: NFSv4/pnfs: Fix a use-after-free bug in open If someone cancels the open RPC call, then we must not try to free either the open slot or the layoutget operation arguments, since they are likely still in use by the hung RPC call.

    7.8high
    cvelistnvd
  • CVE-2022-50071mptcp: move subflow cleanup in mptcp_destroy_common()

    In the Linux kernel, the following vulnerability has been resolved: mptcp: move subflow cleanup in mptcpdestroycommon() If the mptcp socket creation fails due to a CGROUPINETSOCKCREATE eBPF program, the MPTCP protocol ends-up leaking all the subflows: the related cleanup happens in mptcpdestroysock() that is not inv...

    7.8high
    cvelistnvd
  • CVE-2022-50070mptcp: do not queue data on closed subflows

    In the Linux kernel, the following vulnerability has been resolved: mptcp: do not queue data on closed subflows Dipanjan reported a syzbot splat at close time: WARNING: CPU: 1 PID: 10818 at net/ipv4/afinet.c:153 inetsockdestruct+0x6d0/0x8e0 net/ipv4/afinet.c:153 Modules linked in: uioivshmem(OE) uio(E) CPU: 1 PID: 1...

    7.8high
    cvelistnvd
  • CVE-2022-50069BPF: Fix potential bad pointer dereference in bpf_sys_bpf()

    In the Linux kernel, the following vulnerability has been resolved: BPF: Fix potential bad pointer dereference in bpfsysbpf() The bpfsysbpf() helper function allows an eBPF program to load another eBPF program from within the kernel. In this case the argument union bpfattr pointer (as well as the insns and license p...

    5.5medium
    cvelistnvd
  • CVE-2022-50068drm/ttm: Fix dummy res NULL ptr deref bug

    In the Linux kernel, the following vulnerability has been resolved: drm/ttm: Fix dummy res NULL ptr deref bug Check the bo-resource value before accessing the resource memtype. v2: Fix commit description unwrapped warning <log snip [ 40.191227][ T184] general protection fault, probably for non-canonical address 0xdf...

    5.5medium
    cvelistnvd
  • CVE-2022-50067btrfs: unset reloc control if transaction commit fails in prepare_to_relocate()

    In the Linux kernel, the following vulnerability has been resolved: btrfs: unset reloc control if transaction commit fails in preparetorelocate() In btrfsrelocateblockgroup(), the rc is allocated. Then btrfsrelocateblockgroup() calls relocateblockgroup() preparetorelocate() setreloccontrol() that assigns rc to the v...

    7.8high
    cvelistnvd
  • CVE-2022-50066net: atlantic: fix aq_vec index out of range error

    In the Linux kernel, the following vulnerability has been resolved: net: atlantic: fix aqvec index out of range error The final update statement of the for loop exceeds the array range, the dereference of self-aqvec[i] is not checked and then leads to the index out of range error. Also fixed this kind of coding styl...

    7.8high
    cvelistnvd
  • CVE-2022-50065virtio_net: fix memory leak inside XPD_TX with mergeable

    In the Linux kernel, the following vulnerability has been resolved: virtionet: fix memory leak inside XPDTX with mergeable When we call xdpconvertbufftoframe() to get xdpf, if it returns NULL, we should check if xdppage was allocated by xdplinearizepage(). If it is newly allocated, it should be freed here alone. Jus...

    5.5medium
    cvelistnvd
  • CVE-2022-50064virtio-blk: Avoid use-after-free on suspend/resume

    In the Linux kernel, the following vulnerability has been resolved: virtio-blk: Avoid use-after-free on suspend/resume hctx-userdata is set to vq in virtblkinithctx(). However, vq is freed on suspend and reallocated on resume. So, hctx-userdata is invalid after resume, and it will cause use-after-free accessing whic...

    7.8high
    cvelistnvd
  • CVE-2022-50063net: dsa: felix: suppress non-changes to the tagging protocol

    In the Linux kernel, the following vulnerability has been resolved: net: dsa: felix: suppress non-changes to the tagging protocol The way in which dsatreechangetagproto() works is that when dsatreenotify() fails, it doesn't know whether the operation failed mid way in a multi-switch tree, or it failed for a single-s...

    5.5medium
    cvelistnvd
  • CVE-2022-50062net: bgmac: Fix a BUG triggered by wrong bytes_compl

    In the Linux kernel, the following vulnerability has been resolved: net: bgmac: Fix a BUG triggered by wrong bytescompl On one of our machines we got: kernel BUG at lib/dynamicqueuelimits.c:27! Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM CPU: 0 PID: 1166 Comm: irq/41-bgmac Tainted: G W O 4.14.275-rt132 #1 Har...

    7.5high
    cvelistnvd
  • CVE-2022-50061pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map

    In the Linux kernel, the following vulnerability has been resolved: pinctrl: nomadik: Fix refcount leak in nmkpinctrldtsubnodetomap ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak."

    5.5medium
    cvelistnvd
  • CVE-2022-50060octeontx2-af: Fix mcam entry resource leak

    In the Linux kernel, the following vulnerability has been resolved: octeontx2-af: Fix mcam entry resource leak The teardown sequence in FLR handler returns if no NIX LF is attached to PF/VF because it indicates that graceful shutdown of resources already happened. But there is a chance of all allocated MCAM entries...

    5.5medium
    cvelistnvd