cbcvebase.
CVE-2022-50148
published 2025-06-18

CVE-2022-50148: In the Linux kernel, the following vulnerability has been resolved: kernfs: fix potential NULL dereference in __kernfs_remove When lockdep is enabled…

PriorityP417medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.16%
5.4th percentile
In the Linux kernel, the following vulnerability has been resolved: kernfs: fix potential NULL dereference in __kernfs_remove When lockdep is enabled, lockdep_assert_held_write would cause potential NULL pointer dereference. Fix the following smatch warnings: fs/kernfs/dir.c:1353 __kernfs_remove() warn: variable dereferenced before check 'kn' (see line 1346)

Affected

10 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.0.2-1 (bookworm)linux 6.0.2-1 (bookworm)
linuxlinux
linuxlinux>= 393c3714081a53795bbff0e985d24146def6f57f < b871986d9d3071f5082664ac274d93f08db257cdb871986d9d3071f5082664ac274d93f08db257cd
linuxlinux>= 393c3714081a53795bbff0e985d24146def6f57f < 4a9f35b8729c5bf13ea671c908c17ed74c48fc504a9f35b8729c5bf13ea671c908c17ed74c48fc50
linuxlinux>= 393c3714081a53795bbff0e985d24146def6f57f < 72b5d5aef246a0387cefa23121dd90901c7a691a72b5d5aef246a0387cefa23121dd90901c7a691a
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 5.17 < 5.18.185.18.18
linuxlinux_kernel>= 5.19 < 5.19.25.19.2

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.