CVE-2022-50148
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
18/06/2025
Last modified:
17/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
kernfs: fix potential NULL dereference in __kernfs_remove<br />
<br />
When lockdep is enabled, lockdep_assert_held_write would<br />
cause potential NULL pointer dereference.<br />
<br />
Fix the following smatch warnings:<br />
<br />
fs/kernfs/dir.c:1353 __kernfs_remove() warn: variable dereferenced before check &#39;kn&#39; (see line 1346)
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.17 (including) | 5.18.18 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.19 (including) | 5.19.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



