By day of publication

Vulnerabilities published on February 26, 2025

800 records28critical213high552medium1low

  • CVE-2022-49480ASoC: imx-hdmi: Fix refcount leak in imx_hdmi_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: imx-hdmi: Fix refcount leak in imxhdmiprobe offinddevicebynode() takes reference, we should use putdevice() to release it. when devmkzalloc() fails, it doesn't have a putdevice(), it will cause refcount leak. Add missing putdevice() to fix this.

    5.5medium
    cvelistnvd
  • CVE-2022-49479mt76: fix tx status related use-after-free race on station removal

    In the Linux kernel, the following vulnerability has been resolved: mt76: fix tx status related use-after-free race on station removal There is a small race window where ongoing tx activity can lead to a skb getting added to the status tracking idr after that idr has already been cleaned up, which will keep the wcid...

    8.8high
    cvelistnvd
  • CVE-2022-49478media: 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 pvr2i2ccoreinit Syzbot reported that -1 is used as array index. The problem was in missing validation check. hdw-unitnumber is initialized with -1 and then if init table walk fails this value remains...

    7.8high
    cvelistnvd
  • CVE-2022-49477ASoC: samsung: Fix refcount leak in aries_audio_probe

    In the Linux kernel, the following vulnerability has been resolved: ASoC: samsung: Fix refcount leak in ariesaudioprobe ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when done. If extconfindedevbynode() fails, it doesn't call ofnodeput() Calling ofnodeput() after...

    5.5medium
    cvelistnvd
  • CVE-2022-49476mt76: mt7921: fix kernel crash at mt7921_pci_remove

    In the Linux kernel, the following vulnerability has been resolved: mt76: mt7921: fix kernel crash at mt7921pciremove The crash log shown it is possible that mt7921irqhandler is called while devmfreeirq is being handled so mt76freedevice need to be postponed until devmfreeirq is completed to solve the crash we free...

    5.5medium
    cvelistnvd
  • CVE-2022-49475spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()

    In the Linux kernel, the following vulnerability has been resolved: spi: spi-fsl-qspi: check return value after calling platformgetresourcebyname() It will cause null-ptr-deref if platformgetresourcebyname() returns NULL, we need check the return value.

    5.5medium
    cvelistnvd
  • CVE-2022-49474Bluetooth: 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 scoconn and use-after-free in scosocktimeout Connecting the same socket twice consecutively in scosockconnect() could lead to a race condition where two scoconn objects are created but only one is associated with the socket....

    7.8high
    cvelistnvd
  • CVE-2022-49473ASoC: ti: j721e-evm: Fix refcount leak in j721e_soc_probe_*

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

    5.5medium
    cvelistnvd
  • CVE-2022-49472net: phy: micrel: Allow probing without .driver_data

    In the Linux kernel, the following vulnerability has been resolved: net: phy: micrel: Allow probing without .driverdata Currently, if the .probe element is present in the phydriver structure and the .driverdata is not, a NULL pointer dereference happens. Allow passing .probe without .driverdata by inserting NULL che...

    5.5medium
    cvelistnvd
  • CVE-2022-49471rtw89: cfo: check mac_id to avoid out-of-bounds

    In the Linux kernel, the following vulnerability has been resolved: rtw89: cfo: check macid to avoid out-of-bounds Somehow, hardware reports incorrect macid and pollute memory. Check index before we access the array. UBSAN: array-index-out-of-bounds in rtw89/phy.c:2517:23 index 188 is out of range for type 's32 [64]...

    8.8high
    cvelistnvd
  • CVE-2022-49470Bluetooth: btmtksdio: fix use-after-free at btmtksdio_recv_event

    In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btmtksdio: fix use-after-free at btmtksdiorecvevent We should not access skb buffer data anymore after hcirecvframe was called. [ 39.634809] BUG: KASAN: use-after-free in btmtksdiorecvevent+0x1b0 [ 39.634855] Read of size 1 at addr ffffff...

    8.8high
    cvelistnvd
  • CVE-2022-49469btrfs: fix anon_dev leak in create_subvol()

    In the Linux kernel, the following vulnerability has been resolved: btrfs: fix anondev leak in createsubvol() When btrfsqgroupinherit(), btrfsalloctreeblock, or btrfsinsertroot() fail in createsubvol(), we return without freeing anondev. Reorganize the error handling in createsubvol() to fix this.

    5.5medium
    cvelistnvd
  • CVE-2022-49468thermal/core: Fix memory leak in __thermal_cooling_device_register()

    In the Linux kernel, the following vulnerability has been resolved: thermal/core: Fix memory leak in thermalcoolingdeviceregister() I got memory leak as follows when doing fault injection test: unreferenced object 0xffff888010080000 (size 264312): comm "182", pid 102533, jiffies 4296434960 (age 10.100s) hex dump (fi...

    5.5medium
    cvelistnvd
  • CVE-2022-49467drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()

    In the Linux kernel, the following vulnerability has been resolved: drm: msm: fix possible memory leak in mdp5crtccursorset() drmgemobjectlookup will call drmgemobjectget inside. So cursorbo needs to be put when msmgemgetandpiniova fails.

    5.5medium
    cvelistnvd
  • CVE-2022-49466regulator: scmi: Fix refcount leak in scmi_regulator_probe

    In the Linux kernel, the following vulnerability has been resolved: regulator: scmi: Fix refcount leak in scmiregulatorprobe offindnodebyname() 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-49465blk-throttle: Set BIO_THROTTLED when bio has been throttled

    In the Linux kernel, the following vulnerability has been resolved: blk-throttle: Set BIOTHROTTLED when bio has been throttled 1.In current process, all bio will set the BIOTHROTTLED flag after blkthrotlbio(). 2.If bio needs to be throttled, it will start the timer and stop submit bio directly. Bio will submit in bl...

    7.8high
    cvelistnvd
  • CVE-2022-49464erofs: fix buffer copy overflow of ztailpacking feature

    In the Linux kernel, the following vulnerability has been resolved: erofs: fix buffer copy overflow of ztailpacking feature I got some KASAN report as below: [ 46.959738] ================================================================== [ 46.960430] BUG: KASAN: use-after-free in zerofsshiftedtransform+0x2bd/0x370 [...

    7.8high
    cvelistnvd
  • CVE-2022-49463thermal/drivers/imx_sc_thermal: Fix refcount leak in imx_sc_thermal_probe

    In the Linux kernel, the following vulnerability has been resolved: thermal/drivers/imxscthermal: Fix refcount leak in imxscthermalprobe offindnodebyname() 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-49462drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init

    In the Linux kernel, the following vulnerability has been resolved: drm/msm/a6xx: Fix refcount leak in a6xxgpuinit ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. a6xxgmuinit() passes the node to offinddevicebynode() and ofdmaconfigure(), offi...

    5.5medium
    cvelistnvd
  • CVE-2022-49461amt: fix memory leak for advertisement message

    In the Linux kernel, the following vulnerability has been resolved: amt: fix memory leak for advertisement message When a gateway receives an advertisement message, it extracts relay information and then it should be freed. But the advertisement handler doesn't free it. So, memory leak would occur.

    5.5medium
    cvelistnvd
  • CVE-2022-49460PM / devfreq: rk3399_dmc: Disable edev on remove()

    In the Linux kernel, the following vulnerability has been resolved: PM / devfreq: rk3399dmc: Disable edev on remove() Otherwise we hit an unablanced enable-count when unbinding the DFI device: [ 1279.659119] ------------[ cut here ]------------ [ 1279.659179] WARNING: CPU: 2 PID: 5638 at drivers/devfreq/devfreq-even...

    5.5medium
    cvelistnvd
  • CVE-2022-49459thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe

    In the Linux kernel, the following vulnerability has been resolved: thermal/drivers/broadcom: Fix potential NULL dereference in srthermalprobe platformgetresource() may return NULL, add proper check to avoid potential NULL dereferencing.

    5.5medium
    cvelistnvd
  • CVE-2022-49458drm/msm: don't free the IRQ if it was not requested

    In the Linux kernel, the following vulnerability has been resolved: drm/msm: don't free the IRQ if it was not requested As msmdrmuninit() is called from the msmdrminit() error path, additional care should be necessary as not to call the freeirq() for the IRQ that was not requested before (because an error occured ea...

    5.5medium
    cvelistnvd
  • CVE-2022-49457ARM: versatile: Add missing of_node_put in dcscb_init

    In the Linux kernel, the following vulnerability has been resolved: ARM: versatile: Add missing ofnodeput in dcscbinit The devicenode pointer is returned by offindcompatiblenode with refcount incremented. We should use ofnodeput() to avoid the refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-49456bonding: fix missed rcu protection

    In the Linux kernel, the following vulnerability has been resolved: bonding: fix missed rcu protection When removing the rcureadlock in bondethtoolgettsinfo() as discussed [1], I didn't notice it could be called via setsockopt, which doesn't hold rcu lock, as syzbot pointed: stack backtrace: CPU: 0 PID: 3599 Comm: s...

    7.8high
    cvelistnvd
  • CVE-2022-49455misc: ocxl: fix possible double free in ocxl_file_register_afu

    In the Linux kernel, the following vulnerability has been resolved: misc: ocxl: fix possible double free in ocxlfileregisterafu inforelease() will be called in deviceunregister() when info-dev's reference count is 0. So there is no need to call ocxlafuput() and kfree() again. Fix this by adding freeminor() and retur...

    7.8high
    cvelistnvd
  • CVE-2022-49454PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup()

    In the Linux kernel, the following vulnerability has been resolved: PCI: mediatek: Fix refcount leak in mtkpciesubsyspowerup() The offindcompatiblenode() function returns a node pointer with refcount incremented, We should use ofnodeput() on it when done Add the missing ofnodeput() to release the refcount.

    5.5medium
    cvelistnvd
  • CVE-2022-49453soc: ti: ti_sci_pm_domains: Check for null return of devm_kcalloc

    In the Linux kernel, the following vulnerability has been resolved: soc: ti: tiscipmdomains: Check for null return of devmkcalloc The allocation funciton devmkcalloc may fail and return a null pointer, which would cause a null-pointer dereference later. It might be better to check it and directly return -ENOMEM just...

    5.5medium
    cvelistnvd
  • CVE-2022-49452dpaa2-eth: retrieve the virtual address before dma_unmap

    In the Linux kernel, the following vulnerability has been resolved: dpaa2-eth: retrieve the virtual address before dmaunmap The TSO header was DMA unmapped before the virtual address was retrieved and then used to free the buffer. This meant that we were actually removing the DMA map and then trying to search for it...

    7.5high
    cvelistnvd
  • CVE-2022-49451firmware: arm_scmi: Fix list protocols enumeration in the base protocol

    In the Linux kernel, the following vulnerability has been resolved: firmware: armscmi: Fix list protocols enumeration in the base protocol While enumerating protocols implemented by the SCMI platform using BASEDISCOVERLISTPROTOCOLS, the number of returned protocols is currently validated in an improper way since the...

    8.4high
    cvelistnvd
  • CVE-2022-49450rxrpc: Fix listen() setting the bar too high for the prealloc rings

    In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix listen() setting the bar too high for the prealloc rings AFRXRPC's listen() handler lets you set the backlog up to 32 (if you bump up the sysctl), but whilst the preallocation circular buffers have 32 slots in them, one of them has to be...

    5.5medium
    cvelistnvd
  • CVE-2022-49449pinctrl: renesas: rzn1: Fix possible null-ptr-deref in sh_pfc_map_resources()

    In the Linux kernel, the following vulnerability has been resolved: pinctrl: renesas: rzn1: Fix possible null-ptr-deref in shpfcmapresources() It will cause null-ptr-deref when using 'res', if platformgetresource() returns NULL, so move using 'res' after devmioremapresource() that will check it to avoid null-ptr-der...

    5.5medium
    cvelistnvd
  • CVE-2022-49448soc: bcm: Check for NULL return of devm_kzalloc()

    In the Linux kernel, the following vulnerability has been resolved: soc: bcm: Check for NULL return of devmkzalloc() As the potential failure of allocation, devmkzalloc() may return NULL. Then the 'pd-pmb' and the follow lines of code may bring null pointer dereference. Therefore, it is better to check the return va...

    5.5medium
    cvelistnvd
  • CVE-2022-49447ARM: hisi: Add missing of_node_put after of_find_compatible_node

    In the Linux kernel, the following vulnerability has been resolved: ARM: hisi: Add missing ofnodeput after offindcompatiblenode offindcompatiblenode will increment the refcount of the returned devicenode. Calling ofnodeput() to avoid the refcount leak

    5.5medium
    cvelistnvd
  • CVE-2022-49446nvdimm: Fix firmware activation deadlock scenarios

    In the Linux kernel, the following vulnerability has been resolved: nvdimm: Fix firmware activation deadlock scenarios Lockdep reports the following deadlock scenarios for CXL root device power-management, deviceprepare(), operations, and deviceshutdown() operations for 'ndregion' devices: Chain exists of: &nvdimmre...

    5.5medium
    cvelistnvd
  • CVE-2022-49445pinctrl: renesas: core: Fix possible null-ptr-deref in sh_pfc_map_resources()

    In the Linux kernel, the following vulnerability has been resolved: pinctrl: renesas: core: Fix possible null-ptr-deref in shpfcmapresources() It will cause null-ptr-deref when using 'res', if platformgetresource() returns NULL, so move using 'res' after devmioremapresource() that will check it to avoid null-ptr-der...

    5.5medium
    cvelistnvd
  • CVE-2022-49444module: fix [e_shstrndx].sh_size=0 OOB access

    In the Linux kernel, the following vulnerability has been resolved: module: fix [eshstrndx].shsize=0 OOB access It is trivial to craft a module to trigger OOB access in this line: if (info-secstrings[strhdr-shsize - 1] != '\0') { BUG: unable to handle page fault for address: ffffc90000aa0fff PGD 100000067 P4D 100000...

    7.1high
    cvelistnvd
  • CVE-2022-49443list: fix a data-race around ep->rdllist

    In the Linux kernel, the following vulnerability has been resolved: list: fix a data-race around ep-rdllist eppoll() first calls epeventsavailable() with no lock held and checks if ep-rdllist is empty by listemptycareful(), which reads rdllist-prev. Thus all accesses to it need some protection to avoid store/load-te...

    4.7medium
    cvelistnvd
  • CVE-2022-49442drivers/base/node.c: fix compaction sysfs file leak

    In the Linux kernel, the following vulnerability has been resolved: drivers/base/node.c: fix compaction sysfs file leak Compaction sysfs file is created via compactionregisternode in registernode. But we forgot to remove it in unregisternode. Thus compaction sysfs file is leaked. Using compactionunregisternode to fi...

    5.5medium
    cvelistnvd
  • CVE-2022-49441tty: fix deadlock caused by calling printk() under tty_port->lock

    In the Linux kernel, the following vulnerability has been resolved: tty: fix deadlock caused by calling printk() under ttyport-lock ptywrite() invokes kmalloc() which may invoke a normal printk() to print failure message. This can cause a deadlock in the scenario reported by syz-bot below: CPU0 CPU1 CPU2 ---- ---- -...

    5.5medium
    cvelistnvd
  • CVE-2022-49440powerpc/rtas: Keep MSR[RI] set when calling RTAS

    In the Linux kernel, the following vulnerability has been resolved: powerpc/rtas: Keep MSR[RI] set when calling RTAS RTAS runs in real mode (MSR[DR] and MSR[IR] unset) and in 32-bit big endian mode (MSR[SF,LE] unset). The change in MSR is done in enterrtas() in a relatively complex way, since the MSR value could be...

    5.5medium
    cvelistnvd
  • CVE-2022-49439powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup

    In the Linux kernel, the following vulnerability has been resolved: powerpc/fslrio: Fix refcount leak in fslriosetup 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-49438Input: sparcspkr - fix refcount leak in bbc_beep_probe

    In the Linux kernel, the following vulnerability has been resolved: Input: sparcspkr - fix refcount leak in bbcbeepprobe offindnodebypath() calls offindnodeoptsbypath(), which 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-49437powerpc/xive: Fix refcount leak in xive_spapr_init

    In the Linux kernel, the following vulnerability has been resolved: powerpc/xive: Fix refcount leak in xivespaprinit 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-49436powerpc/papr_scm: Fix leaking nvdimm_events_map elements

    In the Linux kernel, the following vulnerability has been resolved: powerpc/paprscm: Fix leaking nvdimmeventsmap elements Right now 'char ' elements allocated for individual 'statid' in 'paprscmpriv.nvdimmeventsmap[]' during paprscmpmucheckevents(), get leaked in paprscmremove() and paprscmpmuregister(), paprscmpmuc...

    5.5medium
    cvelistnvd
  • CVE-2022-49435mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()

    In the Linux kernel, the following vulnerability has been resolved: mfd: davincivoicecodec: Fix possible null-ptr-deref davincivcprobe() It will cause null-ptr-deref when using 'res', if platformgetresource() returns NULL, so move using 'res' after devmioremapresource() that will check it to avoid null-ptr-deref. An...

    5.5medium
    cvelistnvd
  • CVE-2022-49434PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store()

    In the Linux kernel, the following vulnerability has been resolved: PCI: Avoid pcidevlock() AB/BA deadlock with sriovnumvfsstore() The sysfs sriovnumvfsstore() path acquires the device lock before the config space access lock: sriovnumvfsstore devicelock # A (1) acquire device lock sriovconfigure vfiopcisriovconfigu...

    5.5medium
    cvelistnvd
  • CVE-2022-49433RDMA/hfi1: Prevent use of lock before it is initialized

    In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Prevent use of lock before it is initialized If there is a failure during probe of hfi1 before the sdmamaplock is initialized, the call to hfi1freedevdata() will attempt to use a lock that has not been initialized. If the locking correctn...

    5.5medium
    cvelistnvd
  • CVE-2022-49432powerpc/xics: fix refcount leak in icp_opal_init()

    In the Linux kernel, the following vulnerability has been resolved: powerpc/xics: fix refcount leak in icpopalinit() The offindcompatiblenode() function returns a node pointer with refcount incremented, use ofnodeput() on it when done.

    5.5medium
    cvelistnvd
  • CVE-2022-49431powerpc/iommu: Add missing of_node_put in iommu_init_early_dart

    In the Linux kernel, the following vulnerability has been resolved: powerpc/iommu: Add missing ofnodeput in iommuinitearlydart The devicenode pointer is returned by offindcompatiblenode with refcount incremented. We should use ofnodeput() to avoid the refcount leak.

    5.5medium
    cvelistnvd
  • CVE-2022-49430Input: gpio-keys - cancel delayed work only in case of GPIO

    In the Linux kernel, the following vulnerability has been resolved: Input: gpio-keys - cancel delayed work only in case of GPIO gpiokeys module can either accept gpios or interrupts. The module initializes delayed work in case of gpios only and is only used if debounce timer is not used, so make sure canceldelayedwo...

    5.5medium
    cvelistnvd
  • CVE-2022-49429RDMA/hfi1: Prevent panic when SDMA is disabled

    In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Prevent panic when SDMA is disabled If the hfi1 module is loaded with HFI1CAPSDMA off, a call to hfi1writeiter() will dereference a NULL pointer and panic. A typical stack frame is: sdmaselectuserengine [hfi1] hfi1usersdmaprocessrequest [...

    5.5medium
    cvelistnvd
  • CVE-2022-49428f2fs: fix to do sanity check on inline_dots inode

    In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to do sanity check on inlinedots inode As Wenqing reported in bugzilla: https://bugzilla.kernel.org/showbug.cgi?id=215765 It will cause a kernel panic with steps: - mkdir mnt - mount tmp40.img mnt - ls mnt foliomarkdirty+0x33/0x50 f2fsaddr...

    5.5medium
    cvelistnvd
  • CVE-2022-49427iommu/mediatek: Remove clk_disable in mtk_iommu_remove

    In the Linux kernel, the following vulnerability has been resolved: iommu/mediatek: Remove clkdisable in mtkiommuremove After the commit b34ea31fe013 ("iommu/mediatek: Always enable the clk on resume"), the iommu clock is controlled by the runtime callback. thus remove the clk control in the mtkiommuremove. Otherwis...

    5.5medium
    cvelistnvd
  • CVE-2022-49426iommu/arm-smmu-v3-sva: Fix mm use-after-free

    In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu-v3-sva: Fix mm use-after-free We currently call arm64mmcontextput() without holding a reference to the mm, which can result in use-after-free. Call mmgrab()/mmdrop() to ensure the mm only gets freed after we unpinned the ASID.

    7.8high
    cvelistnvd
  • CVE-2022-49425f2fs: fix dereference of stale list iterator after loop body

    In the Linux kernel, the following vulnerability has been resolved: f2fs: fix dereference of stale list iterator after loop body The list iterator variable will be a bogus pointer if no break was hit. Dereferencing it (cur-page in this case) could load an out-of-bounds/undefined value making it unsafe to use that in...

    7.8high
    cvelistnvd
  • CVE-2022-49424iommu/mediatek: Fix NULL pointer dereference when printing dev_name

    In the Linux kernel, the following vulnerability has been resolved: iommu/mediatek: Fix NULL pointer dereference when printing devname When larbdev is NULL (in the case I hit, the node is incorrectly set iommus = <&iommu NUM), it will cause devicelinkadd() fail and kernel crashes when we try to print devname(larbdev...

    5.5medium
    cvelistnvd
  • CVE-2022-49423rtla: Avoid record NULL pointer dereference

    In the Linux kernel, the following vulnerability has been resolved: rtla: Avoid record NULL pointer dereference Fix the following null/derefnull.cocci errors: ./tools/tracing/rtla/src/osnoisehist.c:870:31-36: ERROR: record is NULL but dereferenced. ./tools/tracing/rtla/src/osnoisetop.c:650:31-36: ERROR: record is NU...

    5.5medium
    cvelistnvd
  • CVE-2022-49422dmaengine: idxd: Fix the error handling path in idxd_cdev_register()

    In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Fix the error handling path in idxdcdevregister() If a call to allocchrdevregion() fails, the already allocated resources are leaking. Add the needed error handling path to fix the leak.

    5.5medium
    cvelistnvd
  • CVE-2022-49421video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: clcdfb: Fix refcount leak in clcdfbofvramsetup 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-49420net: annotate races around sk->sk_bound_dev_if

    In the Linux kernel, the following vulnerability has been resolved: net: annotate races around sk-skbounddevif UDP sendmsg() is lockless, and reads sk-skbounddevif while this field can be changed by another thread. Adds minimal annotations to avoid KCSAN splats for UDP. Following patches will add more annotations to...

    5.5medium
    cvelistnvd
  • CVE-2022-49419video: fbdev: vesafb: Fix a use-after-free due early fb_info cleanup

    In the Linux kernel, the following vulnerability has been resolved: video: fbdev: vesafb: Fix a use-after-free due early fbinfo cleanup Commit b3c9a924aab6 ("fbdev: vesafb: Cleanup fbinfo in .fbdestroy rather than .remove") fixed a use-after-free error due the vesafb driver freeing the fbinfo in the .remove handler...

    7.8high
    cvelistnvd
  • CVE-2022-49418NFSv4: Fix free of uninitialized nfs4_label on referral lookup.

    In the Linux kernel, the following vulnerability has been resolved: NFSv4: Fix free of uninitialized nfs4label on referral lookup. Send along the already-allocated fattr along with nfs4fslocations, and drop the memcpy of fattr. We end up growing two more allocations, but this fixes up a crash as: PID: 790 TASK: ffff...

    9.8critical
    cvelistnvd
  • CVE-2022-49417iwlwifi: mei: fix potential NULL-ptr deref

    In the Linux kernel, the following vulnerability has been resolved: iwlwifi: mei: fix potential NULL-ptr deref If SKB allocation fails, continue rather than using the NULL pointer. Coverity CID: 1497650

    5.5medium
    cvelistnvd
  • CVE-2022-49416wifi: mac80211: fix use-after-free in chanctx code

    In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix use-after-free in chanctx code In ieee80211vifusereservedcontext(), when we have an old context and the new context's replacestate is set to IEEE80211CHANCTXREPLACENONE, we free the old context in ieee80211vifusereservedreassign(...

    8.8high
    cvelistnvd
  • CVE-2022-49415ipmi:ipmb: Fix refcount leak in ipmi_ipmb_probe

    In the Linux kernel, the following vulnerability has been resolved: ipmi:ipmb: Fix refcount leak in ipmiipmbprobe ofparsephandle() 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-49414ext4: fix race condition between ext4_write and ext4_convert_inline_data

    In the Linux kernel, the following vulnerability has been resolved: ext4: fix race condition between ext4write and ext4convertinlinedata Hulk Robot reported a BUGON: ================================================================== EXT4-fs error (device loop3): ext4mbgeneratebuddy:805: group 0, block bitmap and bg...

    4.7medium
    cvelistnvd
  • CVE-2022-49413bfq: Update cgroup information before merging bio

    In the Linux kernel, the following vulnerability has been resolved: bfq: Update cgroup information before merging bio When the process is migrated to a different cgroup (or in case of writeback just starts submitting bios associated with a different cgroup) bfqmergebio() can operate with stale cgroup information in...

    7.8high
    cvelistnvd
  • CVE-2022-49412bfq: Avoid merging queues with different parents

    In the Linux kernel, the following vulnerability has been resolved: bfq: Avoid merging queues with different parents It can happen that the parent of a bfqq changes between the moment we decide two queues are worth to merge (and set bic-stablemergebfqq) and the moment bfqsetupmerge() is called. This can happen e.g....

    7.8high
    cvelistnvd
  • CVE-2022-49411bfq: Make sure bfqg for which we are queueing requests is online

    In the Linux kernel, the following vulnerability has been resolved: bfq: Make sure bfqg for which we are queueing requests is online Bios queued into BFQ IO scheduler can be associated with a cgroup that was already offlined. This may then cause insertion of this bfqgroup into a service tree. But this bfqgroup will...

    7.8high
    cvelistnvd
  • CVE-2022-49410tracing: Fix potential double free in create_var_ref()

    In the Linux kernel, the following vulnerability has been resolved: tracing: Fix potential double free in createvarref() In createvarref(), initvarref() is called to initialize the fields of variable reffield, which is allocated in the previous function call to createhistfield(). Function initvarref() allocates the...

    7.8high
    cvelistnvd
  • CVE-2022-49409ext4: fix bug_on in __es_tree_search

    In the Linux kernel, the following vulnerability has been resolved: ext4: fix bugon in estreesearch Hulk Robot reported a BUGON: ================================================================== kernel BUG at fs/ext4/extentsstatus.c:199! [...] RIP: 0010:ext4esend fs/ext4/extentsstatus.c:199 [inline] RIP: 0010:estre...

    5.5medium
    cvelistnvd
  • CVE-2022-49408ext4: fix memory leak in parse_apply_sb_mount_options()

    In the Linux kernel, the following vulnerability has been resolved: ext4: fix memory leak in parseapplysbmountoptions() If processing the on-disk mount options fails after any memory was allocated in the ext4fscontext, e.g. sqfnames, then this memory is leaked. Fix this by calling ext4fcfree() instead of kfree() dir...

    5.5medium
    cvelistnvd
  • CVE-2022-49407dlm: fix plock invalid read

    In the Linux kernel, the following vulnerability has been resolved: dlm: fix plock invalid read This patch fixes an invalid read showed by KASAN. A unlock will allocate a "struct plockop" and a followed sendop() will append it to a global sendlist data structure. In some cases a followed devread() moves it to recvli...

    9.8critical
    cvelistnvd
  • CVE-2022-49406block: Fix potential deadlock in blk_ia_range_sysfs_show()

    In the Linux kernel, the following vulnerability has been resolved: block: Fix potential deadlock in blkiarangesysfsshow() When being read, a sysfs attribute is already protected against removal with the kobject node active reference counter. As a result, in blkiarangesysfsshow(), there is no need to take the queue...

    5.5medium
    cvelistnvd
  • CVE-2022-49405staging: r8188eu: prevent ->Ssid overflow in rtw_wx_set_scan()

    In the Linux kernel, the following vulnerability has been resolved: staging: r8188eu: prevent -Ssid overflow in rtwwxsetscan() This code has a check to prevent read overflow but it needs another check to prevent writing beyond the end of the -Ssid[] array.

    7.8high
    cvelistnvd
  • CVE-2022-49404RDMA/hfi1: Fix potential integer multiplication overflow errors

    In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Fix potential integer multiplication overflow errors When multiplying of different types, an overflow is possible even when storing the result in a larger type. This is because the conversion is done after the multiplication. So arithmeti...

    5.5medium
    cvelistnvd
  • CVE-2022-49403lib/string_helpers: fix not adding strarray to device's resource list

    In the Linux kernel, the following vulnerability has been resolved: lib/stringhelpers: fix not adding strarray to device's resource list Add allocated strarray to device's resource list. This is a must to automatically release strarray when the device disappears. Without this fix we have a memory leak in the few dri...

    5.5medium
    cvelistnvd
  • CVE-2022-49402ftrace: Clean up hash direct_functions on register failures

    In the Linux kernel, the following vulnerability has been resolved: ftrace: Clean up hash directfunctions on register failures We see the following GPF when registerftracedirect fails: [ ] general protection fault, probably for non-canonical address \ 0x200000000000010: 0000 [#1] PREEMPT SMP DEBUGPAGEALLOC PTI [...]...

    5.5medium
    cvelistnvd
  • CVE-2022-49401mm/page_owner: use strscpy() instead of strlcpy()

    In the Linux kernel, the following vulnerability has been resolved: mm/pageowner: use strscpy() instead of strlcpy() current-comm[] is not a string (no guarantee for a zero byte in it). strlcpy(s1, s2, l) is calling strlen(s2), potentially causing out-of-bound access, as reported by syzbot: detected buffer overflow...

    7.1high
    cvelistnvd
  • CVE-2022-49400md: Don't set mddev private to NULL in raid0 pers->free

    In the Linux kernel, the following vulnerability has been resolved: md: Don't set mddev private to NULL in raid0 pers-free In normal stop process, it does like this: domdstop | mdstop (pers-free(); mddev-private=NULL) | mdfree (free mddev) mdstop sets mddev-private to NULL after pers-free. The raid device will be st...

    5.5medium
    cvelistnvd
  • CVE-2022-49399tty: goldfish: Use tty_port_destroy() to destroy port

    In the Linux kernel, the following vulnerability has been resolved: tty: goldfish: Use ttyportdestroy() to destroy port In goldfishttyprobe(), the port initialized through ttyportinit() should be destroyed in error paths.In goldfishttyremove(), qtty-port also should be destroyed or else might leak resources. Fix the...

    5.5medium
    cvelistnvd
  • CVE-2022-49398usb: dwc3: gadget: Replace list_for_each_entry_safe() if using giveback

    In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: Replace listforeachentrysafe() if using giveback The listforeachentrysafe() macro saves the current item (n) and the item after (n+1), so that n can be safely removed without corrupting the list. However, when traversing the list...

    5.5medium
    cvelistnvd
  • CVE-2022-49397phy: qcom-qmp: fix struct clk leak on probe errors

    In the Linux kernel, the following vulnerability has been resolved: phy: qcom-qmp: fix struct clk leak on probe errors Make sure to release the pipe clock reference in case of a late probe error (e.g. probe deferral).

    5.5medium
    cvelistnvd
  • CVE-2022-49396phy: qcom-qmp: fix reset-controller leak on probe errors

    In the Linux kernel, the following vulnerability has been resolved: phy: qcom-qmp: fix reset-controller leak on probe errors Make sure to release the lane reset controller in case of a late probe error (e.g. probe deferral). Note that due to the reset controller being defined in devicetree in "lane" child nodes, dev...

    5.5medium
    cvelistnvd
  • CVE-2022-49395um: Fix out-of-bounds read in LDT setup

    In the Linux kernel, the following vulnerability has been resolved: um: Fix out-of-bounds read in LDT setup syscallstubdata() expects the datacount parameter to be the number of longs, not bytes. ================================================================== BUG: KASAN: stack-out-of-bounds in syscallstubdata+0x7...

    7.1high
    cvelistnvd
  • CVE-2022-49394blk-iolatency: Fix inflight count imbalances and IO hangs on offline

    In the Linux kernel, the following vulnerability has been resolved: blk-iolatency: Fix inflight count imbalances and IO hangs on offline iolatency needs to track the number of inflight IOs per cgroup. As this tracking can be expensive, it is disabled when no cgroup has iolatency configured for the device. To ensure...

    5.5medium
    cvelistnvd
  • CVE-2022-49393misc: fastrpc: fix list iterator in fastrpc_req_mem_unmap_impl

    In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: fix list iterator in fastrpcreqmemunmapimpl This is another instance of incorrect use of list iterator and checking it for NULL. The list iterator value 'map' will always be set and non-NULL by listforeachentry(), so it is incorrect t...

    7.8high
    cvelistnvd
  • CVE-2022-49392serial: 8250_aspeed_vuart: Fix potential NULL dereference in aspeed_vuart_probe

    In the Linux kernel, the following vulnerability has been resolved: serial: 8250aspeedvuart: Fix potential NULL dereference in aspeedvuartprobe platformgetresource() may fail and return NULL, so we should better check it's return value to avoid a NULL pointer dereference.

    5.5medium
    cvelistnvd
  • CVE-2022-49391remoteproc: mtk_scp: Fix a potential double free

    In the Linux kernel, the following vulnerability has been resolved: remoteproc: mtkscp: Fix a potential double free 'scp-rproc' is allocated using devmrprocalloc(), so there is no need to free it explicitly in the remove function.

    7.8high
    cvelistnvd
  • CVE-2022-49390macsec: fix UAF bug for real_dev

    In the Linux kernel, the following vulnerability has been resolved: macsec: fix UAF bug for realdev Create a new macsec device but not get reference to realdev. That can not ensure that realdev is freed after macsec. That will trigger the UAF bug for realdev as following: ============================================...

    7.8high
    cvelistnvd
  • CVE-2022-49389usb: usbip: fix a refcount leak in stub_probe()

    In the Linux kernel, the following vulnerability has been resolved: usb: usbip: fix a refcount leak in stubprobe() usbgetdev() is called in stubdevicealloc(). When stubprobe() fails after that, usbputdev() needs to be called to release the reference. Fix this by moving usbputdev() to sdevfree error path handling. Fi...

    5.5medium
    cvelistnvd
  • CVE-2022-49388ubi: ubi_create_volume: Fix use-after-free when volume creation failed

    In the Linux kernel, the following vulnerability has been resolved: ubi: ubicreatevolume: Fix use-after-free when volume creation failed There is an use-after-free problem for 'ebatbl' in ubicreatevolume()'s error handling path: ubiebareplacetable(vol, ebatbl) vol-ebatbl = tbl outmapping: ubiebadestroytable(ebatbl)...

    7.8high
    cvelistnvd
  • CVE-2022-49387watchdog: rzg2l_wdt: Fix 32bit overflow issue

    In the Linux kernel, the following vulnerability has been resolved: watchdog: rzg2lwdt: Fix 32bit overflow issue The value of timercycleus can be 0 due to 32bit overflow. For eg:- If we assign the counter value "0xfff" for computing maxval. This patch fixes this issue by appending ULL to 1024, so that it is promoted...

    5.5medium
    cvelistnvd
  • CVE-2022-49386net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks

    In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks ofgetchildbyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. am65cpswinitcpts() and am65cpswnussprobe() don't release the refco...

    5.5medium
    cvelistnvd
  • CVE-2022-49385driver: base: fix UAF when driver_attach failed

    In the Linux kernel, the following vulnerability has been resolved: driver: base: fix UAF when driverattach failed When driverattach(drv); failed, the driverprivate will be freed. But it has been added to the bus, which caused a UAF. To fix it, we need to delete it from the bus when failed.

    7.8high
    cvelistnvd
  • CVE-2022-49384md: fix double free of io_acct_set bioset

    In the Linux kernel, the following vulnerability has been resolved: md: fix double free of ioacctset bioset Now ioacctset is alloc and free in personality. Remove the codes that free ioacctset in mdfree and mdstop.

    7.8high
    cvelistnvd
  • CVE-2022-49383watchdog: rzg2l_wdt: Fix 'BUG: Invalid wait context'

    In the Linux kernel, the following vulnerability has been resolved: watchdog: rzg2lwdt: Fix 'BUG: Invalid wait context' This patch fixes the issue 'BUG: Invalid wait context' during restart() callback by using clkprepareenable() instead of pmruntimegetsync() for turning on the clocks during restart. This issue is no...

    5.5medium
    cvelistnvd
  • CVE-2022-49382soc: rockchip: Fix refcount leak in rockchip_grf_init

    In the Linux kernel, the following vulnerability has been resolved: soc: rockchip: Fix refcount leak in rockchipgrfinit offindmatchingnodeandmatch 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-49381jffs2: fix memory leak in jffs2_do_fill_super

    In the Linux kernel, the following vulnerability has been resolved: jffs2: fix memory leak in jffs2dofillsuper If jffs2iget() or dmakeroot() in jffs2dofillsuper() returns an error, we can observe the following kmemleak report: -------------------------------------------- unreferenced object 0xffff888105a65340 (size...

    5.5medium
    cvelistnvd