CVE-2022-50148: Linux Kernel
Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.
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 products
- Linux Linux Kernel: from 5.17, before 5.18.18 (fixed in 5.18.18); from 5.19, before 5.19.2 (fixed in 5.19.2)
Published 2025-06-18. Last modified 2026-06-17.