By day of publication
Vulnerabilities published on June 18, 2025
417 records12critical150high253medium2low
- CVE-2022-50059ceph: don't leak snap_rwsem in handle_cap_grant
In the Linux kernel, the following vulnerability has been resolved: ceph: don't leak snaprwsem in handlecapgrant When handlecapgrant is called on an IMPORT op, then the snaprwsem is held and the function is expected to release it before returning. It currently fails to do that in all cases which could lead to a dead...
7.5highcvelistnvd - CVE-2022-50058vdpa_sim_blk: set number of address spaces and virtqueue groups
In the Linux kernel, the following vulnerability has been resolved: vdpasimblk: set number of address spaces and virtqueue groups Commit bda324fd037a ("vdpasim: control virtqueue support") added two new fields (nas, ngroups) to vdpasimdevattr, but we forgot to initialize them for vdpasimblk. When creating a new vdpa...
5.5mediumcvelistnvd - CVE-2022-50057fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix NULL deref in ntfsupdatemftmirr If ntfsfillsuper() wasn't called then sbi-sb will be equal to NULL. Code should check this ptr before dereferencing. Syzbot hit this issue via passing wrong mount param as can be seen from log below Fail...
5.5mediumcvelistnvd - CVE-2022-50056fs/ntfs3: Fix missing i_op in ntfs_read_mft
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Fix missing iop in ntfsreadmft There is null pointer dereference because iop == NULL. The bug happens because we don't initialize iop for records in $Extend.
5.5mediumcvelistnvd - CVE-2022-50055iavf: Fix adminq error handling
In the Linux kernel, the following vulnerability has been resolved: iavf: Fix adminq error handling iavfallocasqbufs/iavfallocarqbufs allocates with dmaalloccoherent memory for VF mailbox. Free DMA regions for both ASQ and ARQ in case error happens during configuration of ASQ/ARQ registers. Without this change it is...
5.5mediumcvelistnvd - CVE-2022-50054iavf: Fix NULL pointer dereference in iavf_get_link_ksettings
In the Linux kernel, the following vulnerability has been resolved: iavf: Fix NULL pointer dereference in iavfgetlinkksettings Fix possible NULL pointer dereference, due to freeing of adapter-vfres in iavfinitgetresources. Previous commit introduced a regression, where receiving IAVFERRADMINQUEUENOWORK from iavfgetv...
5.5mediumcvelistnvd - CVE-2022-50053iavf: Fix reset error handling
In the Linux kernel, the following vulnerability has been resolved: iavf: Fix reset error handling Do not call iavfclose in iavfresettask error handling. Doing so can lead to double call of napidisable, which can lead to deadlock there. Removing VF would lead to iavfremove task being stuck, because it requires critl...
5.5mediumcvelistnvd - CVE-2022-50052ASoC: Intel: avs: Fix potential buffer overflow by snprintf()
In the Linux kernel, the following vulnerability has been resolved: ASoC: Intel: avs: Fix potential buffer overflow by snprintf() snprintf() returns the would-be-filled size when the string overflows the given buffer size, hence using this value may result in a buffer overflow (although it's unrealistic). This patch...
7.8highcvelistnvd - CVE-2022-50051ASoC: SOF: debug: Fix potential buffer overflow by snprintf()
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: debug: Fix potential buffer overflow by snprintf() snprintf() returns the would-be-filled size when the string overflows the given buffer size, hence using this value may result in the buffer overflow (although it's unrealistic). This pat...
7.8highcvelistnvd - CVE-2022-50050ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf()
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf() snprintf() returns the would-be-filled size when the string overflows the given buffer size, hence using this value may result in the buffer overflow (although it's unrealistic). Thi...
7.8highcvelistnvd - CVE-2022-50049ASoC: DPCM: Don't pick up BE without substream
In the Linux kernel, the following vulnerability has been resolved: ASoC: DPCM: Don't pick up BE without substream When DPCM tries to add valid BE connections at dpcmaddpaths(), it doesn't check whether the picked BE actually supports for the given stream direction. Due to that, when an asymmetric BE stream is prese...
5.5mediumcvelistnvd - CVE-2022-50048netfilter: nf_tables: possible module reference underflow in error path
In the Linux kernel, the following vulnerability has been resolved: netfilter: nftables: possible module reference underflow in error path dst-ops is set on when nftexprclone() fails, but module refcount has not been bumped yet, therefore nftexprdestroy() leads to module reference underflow.
7.8highcvelistnvd - CVE-2022-50047net: dsa: mv88e6060: prevent crash on an unused port
In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6060: prevent crash on an unused port If the port isn't a CPU port nor a user port, 'cpudp' is a null pointer and a crash happened on dereferencing it in mv88e6060setupport(): [ 9.575872] Unable to handle kernel NULL pointer dereferen...
5.5mediumcvelistnvd - CVE-2022-50046net/sunrpc: fix potential memory leaks in rpc_sysfs_xprt_state_change()
In the Linux kernel, the following vulnerability has been resolved: net/sunrpc: fix potential memory leaks in rpcsysfsxprtstatechange() The issue happens on some error handling paths. When the function fails to grab the object xprt, it simply returns 0, forgetting to decrease the reference count of another object xp...
5.5mediumcvelistnvd - CVE-2022-50045powerpc/pci: Fix get_phb_number() locking
In the Linux kernel, the following vulnerability has been resolved: powerpc/pci: Fix getphbnumber() locking The recent change to getphbnumber() causes a DEBUGATOMICSLEEP warning on some systems: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 inatomic(): 1, irqsdisabled(): 0, nonbloc...
5.5mediumcvelistnvd - CVE-2022-50044net: qrtr: start MHI channel after endpoit creation
In the Linux kernel, the following vulnerability has been resolved: net: qrtr: start MHI channel after endpoit creation MHI channel may generates event/interrupt right after enabling. It may leads to 2 race conditions issues. 1) Such event may be dropped by qcommhiqrtrdlcallback() at check: if (!qdev || mhires-trans...
4.7mediumcvelistnvd - CVE-2022-50043net: fix potential refcount leak in ndisc_router_discovery()
In the Linux kernel, the following vulnerability has been resolved: net: fix potential refcount leak in ndiscrouterdiscovery() The issue happens on specific paths in the function. After both the object rt and neigh are grabbed successfully, when lifetime is nonzero but the metric needs change, the function just dele...
5.5mediumcvelistnvd - CVE-2022-50042net: genl: fix error path memory leak in policy dumping
In the Linux kernel, the following vulnerability has been resolved: net: genl: fix error path memory leak in policy dumping If construction of the array of policies fails when recording non-first policy we need to unwind. netlinkpolicydumpaddpolicy() itself also needs fixing as it currently gives up on error without...
5.5mediumcvelistnvd - CVE-2022-50041ice: Fix call trace with null VSI during VF reset
In the Linux kernel, the following vulnerability has been resolved: ice: Fix call trace with null VSI during VF reset During stress test with attaching and detaching VF from KVM and simultaneously changing VFs spoofcheck and trust there was a call trace in iceresetvf that VF's VSI is null. [145237.352797] WARNING: C...
5.5mediumcvelistnvd - CVE-2022-50040net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions()
In the Linux kernel, the following vulnerability has been resolved: net: dsa: sja1105: fix buffer overflow in sja1105setupdevlinkregions() If an error occurs in dsadevlinkregioncreate(), then 'priv-regions' array will be accessed by negative index '-1'. Found by Linux Verification Center (linuxtesting.org) with SVACE.
7.8highcvelistnvd - CVE-2022-50039stmmac: intel: Add a missing clk_disable_unprepare() call in intel_eth_pci_remove()
In the Linux kernel, the following vulnerability has been resolved: stmmac: intel: Add a missing clkdisableunprepare() call in intelethpciremove() Commit 09f012e64e4b ("stmmac: intel: Fix clock handling on error and remove paths") removed this clkdisableunprepare() This was partly revert by commit ac322f86b56c ("net...
5.5mediumcvelistnvd - CVE-2022-50038drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
In the Linux kernel, the following vulnerability has been resolved: drm/meson: Fix refcount bugs in mesonvpuhasavailableconnectors() In this function, there are two refcount leak bugs: (1) when breaking out of foreachendpointofnode(), we need call the ofnodeput() for the 'ep'; (2) we should call ofnodeput() for the...
5.5mediumcvelistnvd - CVE-2022-50037drm/i915/ttm: don't leak the ccs state
In the Linux kernel, the following vulnerability has been resolved: drm/i915/ttm: don't leak the ccs state The kernel only manages the ccs state with lmem-only objects, however the kernel should still take care not to leak the CCS state from the previous user. (cherry picked from commit 353819d85f87be46aeb9c1dd929d4...
5.5mediumcvelistnvd - CVE-2022-50036drm/sun4i: dsi: Prevent underflow when computing packet sizes
In the Linux kernel, the following vulnerability has been resolved: drm/sun4i: dsi: Prevent underflow when computing packet sizes Currently, the packet overhead is subtracted using unsigned arithmetic. With a short sync pulse, this could underflow and wrap around to near the maximal u16 value. Fix this by using sign...
5.5mediumcvelistnvd - CVE-2022-50035drm/amdgpu: Fix use-after-free on amdgpu_bo_list mutex
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix use-after-free on amdgpubolist mutex If amdgpucsvmhandling returns r != 0, then it will unlock the bolistmutex inside the function amdgpucsvmhandling and again on amdgpucsparserfini. This problem results in the following use-after-fr...
7.8highcvelistnvd - CVE-2022-50034usb: cdns3 fix use-after-free at workaround 2
In the Linux kernel, the following vulnerability has been resolved: usb: cdns3 fix use-after-free at workaround 2 BUG: KFENCE: use-after-free read in listdelentryvalid+0x10/0xac cdns3wa2removeoldrequest() { ... kfree(privreq-request.buf); cdns3gadgetepfreerequest(&privep-endpoint, &privreq-request); listdelinit(&pri...
7.8highcvelistnvd - CVE-2022-50033usb: host: ohci-ppc-of: Fix refcount leak bug
In the Linux kernel, the following vulnerability has been resolved: usb: host: ohci-ppc-of: Fix refcount leak bug In ohcihcdppcofprobe(), offindcompatiblenode() will return a node pointer with refcount incremented. We should use ofnodeput() when it is not used anymore.
5.5mediumcvelistnvd - CVE-2022-50032usb: renesas: Fix refcount leak bug
In the Linux kernel, the following vulnerability has been resolved: usb: renesas: Fix refcount leak bug In usbhsrza1hardwareinit(), offindnodebyname() will return a node pointer with refcount incremented. We should use ofnodeput() when it is not used anymore.
5.5mediumcvelistnvd - CVE-2022-50030scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input Malformed user input to debugfs results in buffer overflow crashes. Adapt input string lengths to fit within internal buffers, leaving space for NULL terminators.
7.8highcvelistnvd - CVE-2022-50029clk: qcom: ipq8074: dont disable gcc_sleep_clk_src
In the Linux kernel, the following vulnerability has been resolved: clk: qcom: ipq8074: dont disable gccsleepclksrc Once the usb sleep clocks are disabled, clock framework is trying to disable the sleep clock source also. However, it seems that it cannot be disabled and trying to do so produces: [ 245.436390] ------...
5.5mediumcvelistnvd - CVE-2022-50028gadgetfs: ep_io - wait until IRQ finishes
In the Linux kernel, the following vulnerability has been resolved: gadgetfs: epio - wait until IRQ finishes after usbepqueue() if waitforcompletioninterruptible() is interrupted we need to wait until IRQ gets finished. Otherwise complete() from epiocomplete() can corrupt stack.
7.8highcvelistnvd - CVE-2022-50027scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE There is no corresponding free routine if lpfcsli4issuewqe fails to issue the CMF WQE in lpfcissuecmfsyncwqe. If retval is non-zero, then free the iocbq request structure.
5.5mediumcvelistnvd - CVE-2022-50026habanalabs/gaudi: fix shift out of bounds
In the Linux kernel, the following vulnerability has been resolved: habanalabs/gaudi: fix shift out of bounds When validating NIC queues, queue offset calculation must be performed only for NIC queues.
7.1highcvelistnvd - CVE-2022-50025cxl: Fix a memory leak in an error handling path
In the Linux kernel, the following vulnerability has been resolved: cxl: Fix a memory leak in an error handling path A bitmapzalloc() must be balanced by a corresponding bitmapfree() in the error handling path of afuallocateirqs().
5.5mediumcvelistnvd - CVE-2022-50024dmaengine: dw-axi-dmac: do not print NULL LLI during error
In the Linux kernel, the following vulnerability has been resolved: dmaengine: dw-axi-dmac: do not print NULL LLI during error During debugging we have seen an issue where axichandumplli() is passed a NULL LLI pointer which ends up causing an OOPS due to trying to get fields from it. Simply print NULL LLI and exit t...
5.5mediumcvelistnvd - CVE-2022-50023dmaengine: dw-axi-dmac: ignore interrupt if no descriptor
In the Linux kernel, the following vulnerability has been resolved: dmaengine: dw-axi-dmac: ignore interrupt if no descriptor If the channel has no descriptor and the interrupt is raised then the kernel will OOPS. Check the result of vchannextdesc() in the handler axichanblockxfercomplete() to avoid the error happen...
5.5mediumcvelistnvd - CVE-2022-50022drivers:md:fix a potential use-after-free bug
In the Linux kernel, the following vulnerability has been resolved: drivers:md:fix a potential use-after-free bug In line 2884, "raid5releasestripe(sh);" drops the reference to sh and may cause sh to be released. However, sh is subsequently used in lines 2886 "if (sh-batchhead && sh != sh-batchhead)". This may resul...
7.8highcvelistnvd - CVE-2022-50021ext4: block range must be validated before use in ext4_mb_clear_bb()
In the Linux kernel, the following vulnerability has been resolved: ext4: block range must be validated before use in ext4mbclearbb() Block range to free is validated in ext4freeblocks() using ext4inodeblockvalid() and then it's passed to ext4mbclearbb(). However in some situations on bigalloc file system the range...
7.8highcvelistnvd - CVE-2022-50020ext4: avoid resizing to a partial cluster size
In the Linux kernel, the following vulnerability has been resolved: ext4: avoid resizing to a partial cluster size This patch avoids an attempt to resize the filesystem to an unaligned cluster boundary. An online resize to a size that is not integral to cluster size results in the last iteration attempting to grow t...
5.5mediumcvelistnvd - CVE-2022-50019tty: serial: Fix refcount leak bug in ucc_uart.c
In the Linux kernel, the following vulnerability has been resolved: tty: serial: Fix refcount leak bug in uccuart.c In socinfo(), offindnodebytype() will return a node pointer with refcount incremented. We should use ofnodeput() when it is not used anymore.
5.5mediumcvelistnvd - CVE-2022-50017mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start
In the Linux kernel, the following vulnerability has been resolved: mips: cavium-octeon: Fix missing ofnodeput() in octeon2usbclocksstart We should call ofnodeput() for the reference 'uctlnode' returned by ofgetparent() which will increase the refcount. Otherwise, there will be a refcount leak bug.
5.5mediumcvelistnvd - CVE-2022-50016ASoC: SOF: Intel: cnl: Do not process IPC reply before firmware boot
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: cnl: Do not process IPC reply before firmware boot It is not yet clear, but it is possible to create a firmware so broken that it will send a reply message before a FWREADY message (it is not yet clear if FWREADY will arrive later)...
5.5mediumcvelistnvd - CVE-2022-50015ASoC: SOF: Intel: hda-ipc: Do not process IPC reply before firmware boot
In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda-ipc: Do not process IPC reply before firmware boot It is not yet clear, but it is possible to create a firmware so broken that it will send a reply message before a FWREADY message (it is not yet clear if FWREADY will arrive la...
5.5mediumcvelistnvd - CVE-2022-50014mm/gup: fix FOLL_FORCE COW security issue and remove FOLL_COW
In the Linux kernel, the following vulnerability has been resolved: mm/gup: fix FOLLFORCE COW security issue and remove FOLLCOW Ever since the Dirty COW (CVE-2016-5195) security issue happened, we know that FOLLFORCE can be possibly dangerous, especially if there are races that can be exploited by user space. Right...
7.8highcvelistnvd - CVE-2022-50013f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page()
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid use f2fsbugon() in f2fsnewnodepage() As Dipanjan Das <mail.dipanjan.das@gmail.com reported, syzkaller found a f2fs bug as below: RIP: 0010:f2fsnewnodepage+0x19ac/0x1fc0 fs/f2fs/node.c:1295 Call Trace: writeallxattrs fs/f2fs/xattr....
5.5mediumcvelistnvd - CVE-2022-50012powerpc/64: Init jump labels before parse_early_param()
In the Linux kernel, the following vulnerability has been resolved: powerpc/64: Init jump labels before parseearlyparam() On 64-bit, calling jumplabelinit() in setupfeaturekeys() is too late because static keys may be used in subroutines of parseearlyparam() which is again subroutine of earlyinitdevtree(). For examp...
5.5mediumcvelistnvd - CVE-2022-50011venus: pm_helpers: Fix warning in OPP during probe
In the Linux kernel, the following vulnerability has been resolved: venus: pmhelpers: Fix warning in OPP during probe Fix the following WARN triggered during Venus driver probe on 5.19.0-rc8-next-20220728: WARNING: CPU: 7 PID: 339 at drivers/opp/core.c:2471 devpmoppsetconfig+0x49c/0x610 Modules linked in: qcomspmiad...
5.5mediumcvelistnvd - CVE-2022-50010video: fbdev: i740fb: Check the argument of i740_calc_vclk()
In the Linux kernel, the following vulnerability has been resolved: video: fbdev: i740fb: Check the argument of i740calcvclk() Since the user can control the arguments of the ioctl() from the user space, under special arguments that may result in a divide-by-zero bug. If the user provides an improper 'pixclock' valu...
5.5mediumcvelistnvd - CVE-2022-50009f2fs: fix null-ptr-deref in f2fs_get_dnode_of_data
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix null-ptr-deref in f2fsgetdnodeofdata There is issue as follows when test f2fs atomic write: F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock F2FS-fs (loop0): invalid crcoffset: 0 F2FS-fs (loop0): f2fschecknidrange: out-o...
5.5mediumcvelistnvd - CVE-2022-50008kprobes: don't call disarm_kprobe() for disabled kprobes
In the Linux kernel, the following vulnerability has been resolved: kprobes: don't call disarmkprobe() for disabled kprobes The assumption in disablekprobe() is wrong, and it could try to disarm an already disarmed kprobe and fire the WARNONCE() below. [0] We can easily reproduce this issue. 1. Write 0 to /sys/kerne...
5.5mediumcvelistnvd - CVE-2022-50007xfrm: fix refcount leak in __xfrm_policy_check()
In the Linux kernel, the following vulnerability has been resolved: xfrm: fix refcount leak in xfrmpolicycheck() The issue happens on an error path in xfrmpolicycheck(). When the fetching process of the object pols[1] fails, the function simply returns 0, forgetting to decrement the reference count of pols[0], which...
5.5mediumcvelistnvd - CVE-2022-50006NFSv4.2 fix problems with __nfs42_ssc_open
In the Linux kernel, the following vulnerability has been resolved: NFSv4.2 fix problems with nfs42sscopen A destination server while doing a COPY shouldn't accept using the passed in filehandle if its not a regular filehandle. If allocfilepseudo() has failed, we need to decrement a reference on the newly created in...
5.5mediumcvelistnvd - CVE-2022-50005nfc: pn533: Fix use-after-free bugs caused by pn532_cmd_timeout
In the Linux kernel, the following vulnerability has been resolved: nfc: pn533: Fix use-after-free bugs caused by pn532cmdtimeout When the pn532 uart device is detaching, the pn532uartremove() is called. But there are no functions in pn532uartremove() that could delete the cmdtimeout timer, which will cause use-afte...
7.8highcvelistnvd - CVE-2022-50004xfrm: policy: fix metadata dst->dev xmit null pointer dereference
In the Linux kernel, the following vulnerability has been resolved: xfrm: policy: fix metadata dst-dev xmit null pointer dereference When we try to transmit an skb with metadatadst attached (i.e. dst-dev == NULL) through xfrm interface we can hit a null pointer dereference[1] in xfrmixmit2() - xfrmlookupwithifid() d...
5.5mediumcvelistnvd - CVE-2022-50003ice: xsk: prohibit usage of non-balanced queue id
In the Linux kernel, the following vulnerability has been resolved: ice: xsk: prohibit usage of non-balanced queue id Fix the following scenario: 1. ethtool -L $IFACE rx 8 tx 96 2. xdpsock -q 10 -t -z Above refers to a case where user would like to attach XSK socket in txonly mode at a queue id that does not have a...
5.5mediumcvelistnvd - CVE-2022-50002net/mlx5: LAG, fix logic over MLX5_LAG_FLAG_NDEVS_READY
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: LAG, fix logic over MLX5LAGFLAGNDEVSREADY Only set MLX5LAGFLAGNDEVSREADY if both netdevices are registered. Doing so guarantees that both ldev-pf[MLX5LAGP0].dev and ldev-pf[MLX5LAGP1].dev have valid pointers when MLX5LAGFLAGNDEVSREADY is s...
5.5mediumcvelistnvd - CVE-2022-50001netfilter: nft_tproxy: restrict to prerouting hook
In the Linux kernel, the following vulnerability has been resolved: netfilter: nfttproxy: restrict to prerouting hook TPROXY is only allowed from prerouting, but nfttproxy doesn't check this. This fixes a crash (null dereference) when using tproxy from e.g. output.
5.5mediumcvelistnvd - CVE-2022-50000netfilter: flowtable: fix stuck flows on cleanup due to pending work
In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: fix stuck flows on cleanup due to pending work To clear the flow table on flow table free, the following sequence normally happens in order: 1) gcstep work is stopped to disable any further stats/del requests. 2) All flow table...
7.8highcvelistnvd - CVE-2022-49999btrfs: fix space cache corruption and potential double allocations
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix space cache corruption and potential double allocations When testing spacecache v2 on a large set of machines, we encountered a few symptoms: 1. "unable to add free space :-17" (EEXIST) errors. 2. Missing free space info items, sometimes...
7.8highcvelistnvd - CVE-2022-49998rxrpc: Fix locking in rxrpc's sendmsg
In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix locking in rxrpc's sendmsg Fix three bugs in the rxrpc's sendmsg implementation: (1) rxrpcnewclientcall() should release the socket lock when returning an error from rxrpcgetcallslot(). (2) rxrpcwaitfortxwindowintr() will return without t...
7.8highcvelistnvd - CVE-2022-49997net: lantiq_xrx200: restore buffer if memory allocation failed
In the Linux kernel, the following vulnerability has been resolved: net: lantiqxrx200: restore buffer if memory allocation failed In a situation where memory allocation fails, an invalid buffer address is stored. When this descriptor is used again, the system panics in the buildskb() function when accessing memory.
7.5highcvelistnvd - CVE-2022-49996btrfs: fix possible memory leak in btrfs_get_dev_args_from_path()
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix possible memory leak in btrfsgetdevargsfrompath() In btrfsgetdevargsfrompath(), btrfsgetbdevandsb() can fail if the path is invalid. In this case, btrfsgetdevargsfrompath() returns directly without freeing args-uuid and args-fsid allocate...
5.5mediumcvelistnvd - CVE-2022-49995writeback: avoid use-after-free after removing device
In the Linux kernel, the following vulnerability has been resolved: writeback: avoid use-after-free after removing device When a disk is removed, bdiunregister gets called to stop further writeback and wait for associated delayed work to complete. However, wbinodewritebackend() may schedule bandwidth estimation dwor...
7.8highcvelistnvd - CVE-2022-49994bootmem: remove the vmemmap pages from kmemleak in put_page_bootmem
In the Linux kernel, the following vulnerability has been resolved: bootmem: remove the vmemmap pages from kmemleak in putpagebootmem The vmemmap pages is marked by kmemleak when allocated from memblock. Remove it from kmemleak when freeing the page. Otherwise, when we reuse the page, kmemleak may report such an err...
5.5mediumcvelistnvd - CVE-2022-49993loop: Check for overflow while configuring loop
In the Linux kernel, the following vulnerability has been resolved: loop: Check for overflow while configuring loop The userspace can configure a loop using an ioctl call, wherein a configuration of type loopconfig is passed (see loioctl()'s case on line 1550 of drivers/block/loop.c). This proceeds to call loopconfi...
5.5mediumcvelistnvd - CVE-2022-49992mm/mprotect: only reference swap pfn page if type match
In the Linux kernel, the following vulnerability has been resolved: mm/mprotect: only reference swap pfn page if type match Yu Zhao reported a bug after the commit "mm/swap: Add swpoffsetpfn() to fetch PFN from swap entry" added a check in swpoffsetpfn() for swap type [1]: kernel BUG at include/linux/swapops.h:117!...
5.5mediumcvelistnvd - CVE-2022-49991mm/hugetlb: avoid corrupting page->mapping in hugetlb_mcopy_atomic_pte
In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: avoid corrupting page-mapping in hugetlbmcopyatomicpte In MCOPYATOMICCONTINUE case with a non-shared VMA, pages in the page cache are installed in the ptes. But hugepageaddnewanonrmap is called for them mistakenly because they're not vms...
7.8highcvelistnvd - CVE-2022-49990s390: fix double free of GS and RI CBs on fork() failure
In the Linux kernel, the following vulnerability has been resolved: s390: fix double free of GS and RI CBs on fork() failure The pointers for guarded storage and runtime instrumentation control blocks are stored in the threadstruct of the associated task. These pointers are initially copied on fork() via archduptask...
7.8highcvelistnvd - CVE-2022-49989xen/privcmd: fix error exit of privcmd_ioctl_dm_op()
In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: fix error exit of privcmdioctldmop() The error exit of privcmdioctldmop() is calling unlockpages() potentially with pages being NULL, leading to a NULL dereference. Additionally lockpages() doesn't check for pinuserpagesfast() having be...
5.5mediumcvelistnvd - CVE-2022-49987md: call __md_stop_writes in md_stop
In the Linux kernel, the following vulnerability has been resolved: md: call mdstopwrites in mdstop From the link [1], we can see raid1d was running even after the path raiddtr - mdstop - mdstop. Let's stop write first in destructor to align with normal md-raid to fix the KASAN issue. [1]. https://lore.kernel.org/li...
5.5mediumcvelistnvd - CVE-2022-49986scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq
In the Linux kernel, the following vulnerability has been resolved: scsi: storvsc: Remove WQMEMRECLAIM from storvscerrorwq storvscerrorwq workqueue should not be marked as WQMEMRECLAIM as it doesn't need to make forward progress under memory pressure. Marking this workqueue as WQMEMRECLAIM may cause deadlock while f...
5.5mediumcvelistnvd - CVE-2022-49985bpf: Don't use tnum_range on array range checking for poke descriptors
In the Linux kernel, the following vulnerability has been resolved: bpf: Don't use tnumrange on array range checking for poke descriptors Hsin-Wei reported a KASAN splat triggered by their BPF runtime fuzzer which is based on a customized syzkaller: BUG: KASAN: slab-out-of-bounds in bpfintjitcompile+0x1257/0x13f0 Re...
7.8highcvelistnvd - CVE-2022-49984HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report
In the Linux kernel, the following vulnerability has been resolved: HID: steam: Prevent NULL pointer dereference in steam{recv,send}report It is possible for a malicious device to forgo submitting a Feature Report. The HID Steam driver presently makes no prevision for this and de-references the 'struct hidreport' po...
5.5mediumcvelistnvd - CVE-2022-49983udmabuf: Set the DMA mask for the udmabuf device (v2)
In the Linux kernel, the following vulnerability has been resolved: udmabuf: Set the DMA mask for the udmabuf device (v2) If the DMA mask is not set explicitly, the following warning occurs when the userspace tries to access the dma-buf via the CPU as reported by syzbot here: WARNING: CPU: 1 PID: 3595 at kernel/dma/...
5.5mediumcvelistnvd - CVE-2022-49982media: pvrusb2: fix memory leak in pvr_probe
In the Linux kernel, the following vulnerability has been resolved: media: pvrusb2: fix memory leak in pvrprobe The error handling code in pvr2hdwcreate forgets to unregister the v4l2 device. When pvr2hdwcreate returns back to pvr2contextcreate, it calls pvr2contextdestroy to destroy context, but mp-hdw is NULL, whi...
5.5mediumcvelistnvd - CVE-2022-49981HID: hidraw: fix memory leak in hidraw_release()
In the Linux kernel, the following vulnerability has been resolved: HID: hidraw: fix memory leak in hidrawrelease() Free the buffered reports before deleting the list entry. BUG: memory leak unreferenced object 0xffff88810e72f180 (size 32): comm "softirq", pid 0, jiffies 4294945143 (age 16.080s) hex dump (first 32 b...
5.5mediumcvelistnvd - CVE-2022-49980USB: gadget: Fix use-after-free Read in usb_udc_uevent()
In the Linux kernel, the following vulnerability has been resolved: USB: gadget: Fix use-after-free Read in usbudcuevent() The syzbot fuzzer found a race between uevent callbacks and gadget driver unregistration that can cause a use-after-free bug: --------------------------------------------------------------- BUG:...
7.8highcvelistnvd - CVE-2022-49979net: fix refcount bug in sk_psock_get (2)
In the Linux kernel, the following vulnerability has been resolved: net: fix refcount bug in skpsockget (2) Syzkaller reports refcount bug as follows: ------------[ cut here ]------------ refcountt: saturated; leaking memory. WARNING: CPU: 1 PID: 3605 at lib/refcount.c:19 refcountwarnsaturate+0xf4/0x1e0 lib/refcount...
7.8highcvelistnvd - CVE-2022-49978fbdev: fb_pm2fb: Avoid potential divide by zero error
In the Linux kernel, the following vulnerability has been resolved: fbdev: fbpm2fb: Avoid potential divide by zero error In dofbioctl() of fbmem.c, if cmd is FBIOPUTVSCREENINFO, var will be copied from user, then go through fbsetvar() and info-fbops-fbcheckvar() which could may be pm2fbcheckvar(). Along the path, va...
5.5mediumcvelistnvd - CVE-2022-49977ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead
In the Linux kernel, the following vulnerability has been resolved: ftrace: Fix NULL pointer dereference in isftracetrampoline when ftrace is dead ftracestartup does not remove ops from ftraceopslist when ftracestartupenable fails: registerftracefunction ftracestartup registerftracefunction ... addftraceops(&ftraceo...
7.8highcvelistnvd - CVE-2022-49976platform/x86: x86-android-tablets: Fix broken touchscreen on Chuwi Hi8 with Windows BIOS
In the Linux kernel, the following vulnerability has been resolved: platform/x86: x86-android-tablets: Fix broken touchscreen on Chuwi Hi8 with Windows BIOS The x86-android-tablets handling for the Chuwi Hi8 is only necessary with the Android BIOS and it is causing problems with the Windows BIOS version. Specificall...
5.5mediumcvelistnvd - CVE-2022-49975bpf: Don't redirect packets with invalid pkt_len
In the Linux kernel, the following vulnerability has been resolved: bpf: Don't redirect packets with invalid pktlen Syzbot found an issue [1]: fqcodeldrop() try to drop a flow whitout any skbs, that is, the flow-head is null. The root cause, as the [2] says, is because that bpfprogtestrunskb() run a bpf prog which r...
7.8highcvelistnvd - CVE-2022-49974HID: nintendo: fix rumble worker null pointer deref
In the Linux kernel, the following vulnerability has been resolved: HID: nintendo: fix rumble worker null pointer deref We can dereference a null pointer trying to queue work to a destroyed workqueue. If the device is disconnected, nintendohidremove is called, in which the rumblequeue is destroyed. Avoid using that...
8.8highcvelistnvd - CVE-2022-49973skmsg: Fix wrong last sg check in sk_msg_recvmsg()
In the Linux kernel, the following vulnerability has been resolved: skmsg: Fix wrong last sg check in skmsgrecvmsg() Fix one kernel NULL pointer dereference as below: [ 224.462334] Call Trace: [ 224.462394] tcpbpfrecvmsg+0xd3/0x380 [ 224.462441] ? sockhasperm+0x78/0xa0 [ 224.462463] tcpbpfrecvmsg+0x12e/0x220 [ 224.4...
5.5mediumcvelistnvd - CVE-2022-49972xsk: Fix corrupted packets for XDP_SHARED_UMEM
In the Linux kernel, the following vulnerability has been resolved: xsk: Fix corrupted packets for XDPSHAREDUMEM Fix an issue in XDPSHAREDUMEM mode together with aligned mode where packets are corrupted for the second and any further sockets bound to the same umem. In other words, this does not affect the first sock...
7.8highcvelistnvd - CVE-2022-49971drm/amd/pm: Fix a potential gpu_metrics_table memory leak
In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: Fix a potential gpumetricstable memory leak Memory is allocated for gpumetricstable in smuv1304initsmctables(), but not freed in smuv1304finismctables(). This may cause memory leaks, fix it.
5.5mediumcvelistnvd - CVE-2022-49970bpf, cgroup: Fix kernel BUG in purge_effective_progs
In the Linux kernel, the following vulnerability has been resolved: bpf, cgroup: Fix kernel BUG in purgeeffectiveprogs Syzkaller reported a triggered kernel BUG as follows: ------------[ cut here ]------------ kernel BUG at kernel/bpf/cgroup.c:925! invalid opcode: 0000 [#1] PREEMPT SMP NOPTI CPU: 1 PID: 194 Comm: de...
7.1highcvelistnvd - CVE-2022-49969drm/amd/display: clear optc underflow before turn off odm clock
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: clear optc underflow before turn off odm clock [Why] After ODM clock off, optc underflow bit will be kept there always and clear not work. We need to clear that before clock off. [How] Clear that if have when clock off.
7.8highcvelistnvd - CVE-2022-49968ieee802154/adf7242: defer destroy_workqueue call
In the Linux kernel, the following vulnerability has been resolved: ieee802154/adf7242: defer destroyworkqueue call There is a possible race condition (use-after-free) like below (FREE) | (USE) adf7242remove | adf7242channel canceldelayedworksync | destroyworkqueue (1) | adf7242cmdrx | moddelayedwork (2) | The root...
8.0highcvelistnvd - CVE-2022-49967bpf: Fix a data-race around bpf_jit_limit.
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a data-race around bpfjitlimit. While reading bpfjitlimit, it can be changed concurrently via sysctl, WRITEONCE() in doprocdoulongvecminmax(). The size of bpfjitlimit is long, so we need to add a paired READONCE() to avoid load-tearing.
4.7mediumcvelistnvd - CVE-2022-49966drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid
In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: add missing -finimicrocode interface for Sienna Cichlid To avoid any potential memory leak.
5.5mediumcvelistnvd - CVE-2022-49965drm/amd/pm: add missing ->fini_xxxx interfaces for some SMU13 asics
In the Linux kernel, the following vulnerability has been resolved: drm/amd/pm: add missing -finixxxx interfaces for some SMU13 asics Without these, potential memory leak may be induced.
5.5mediumcvelistnvd - CVE-2022-49964arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level
In the Linux kernel, the following vulnerability has been resolved: arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fwlevel Though acpifindlastcachelevel() always returned signed value and the document states it will return any errors caused by lack of a PPTT table, it never returned neg...
5.5mediumcvelistnvd - CVE-2022-49963drm/i915/ttm: fix CCS handling
In the Linux kernel, the following vulnerability has been resolved: drm/i915/ttm: fix CCS handling Crucible + recent Mesa seems to sometimes hit: GEMBUGON(numccsblks NUMCCSBLKSPERXFER) And it looks like we can also trigger this with gemlmemswapping, if we modify the test to use slightly larger object sizes. Looking...
7.8highcvelistnvd - CVE-2022-49962xhci: Fix null pointer dereference in remove if xHC has only one roothub
In the Linux kernel, the following vulnerability has been resolved: xhci: Fix null pointer dereference in remove if xHC has only one roothub The remove path in xhci platform driver tries to remove and put both main and shared hcds even if only a main hcd exists (one roothub) This causes a null pointer dereference in...
5.5mediumcvelistnvd - CVE-2022-49961bpf: Do mark_chain_precision for ARG_CONST_ALLOC_SIZE_OR_ZERO
In the Linux kernel, the following vulnerability has been resolved: bpf: Do markchainprecision for ARGCONSTALLOCSIZEORZERO Precision markers need to be propagated whenever we have an ARGCONST style argument, as the verifier cannot consider imprecise scalars to be equivalent for the purposes of statesequal check when...
7.1highcvelistnvd - CVE-2022-49960drm/i915: fix null pointer dereference
In the Linux kernel, the following vulnerability has been resolved: drm/i915: fix null pointer dereference Asus chromebook CX550 crashes during boot on v5.17-rc1 kernel. The root cause is null pointer defeference of binext in tglgetbwinfo() in drivers/gpu/drm/i915/display/intelbw.c. BUG: kernel NULL pointer derefere...
5.5mediumcvelistnvd - CVE-2022-49959openvswitch: fix memory leak at failed datapath creation
In the Linux kernel, the following vulnerability has been resolved: openvswitch: fix memory leak at failed datapath creation ovsdpcmdnew()-ovsdpchange()-ovsdpsetupcallportids() allocates array via kmalloc. If for some reason newvport() fails during ovsdpcmdnew() dp-upcallportids must be freed. Add missing kfree. Kme...
5.5mediumcvelistnvd - CVE-2022-49958net/sched: fix netdevice reference leaks in attach_default_qdiscs()
In the Linux kernel, the following vulnerability has been resolved: net/sched: fix netdevice reference leaks in attachdefaultqdiscs() In attachdefaultqdiscs(), if a dev has multiple queues and queue 0 fails to attach qdisc because there is no memory in attachonedefaultqdisc(). Then dev-qdisc will be noopqdisc by def...
5.5mediumcvelistnvd - CVE-2022-49957kcm: fix strp_init() order and cleanup
In the Linux kernel, the following vulnerability has been resolved: kcm: fix strpinit() order and cleanup strpinit() is called just a few lines above this csk-skuserdata check, it also initializes strp-work etc., therefore, it is unnecessary to call strpdone() to cancel the freshly initialized work. And if skuserdat...
5.5mediumcvelistnvd