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)
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2025-06-18 11:15
Updated : 2025-11-17 19:57
NVD link : CVE-2022-50148
Mitre link : CVE-2022-50148
CVE.ORG link : CVE-2022-50148
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference
