CVE-2022-50148
kernfs: fix potential NULL dereference in __kernfs_remove
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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)
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Jun 18, 2025 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
393c3714081a53795bbff0e985d24146def6f57f < b871986d9d3071f5082664ac274d93f08db257cd 393c3714081a53795bbff0e985d24146def6f57f < 4a9f35b8729c5bf13ea671c908c17ed74c48fc50 393c3714081a53795bbff0e985d24146def6f57f < 72b5d5aef246a0387cefa23121dd90901c7a691a
Linux / Linux
5.17