VYPR
Medium severity5.5NVD Advisory· Published Jun 18, 2025· Updated Jun 17, 2026

CVE-2022-50148

CVE-2022-50148

Description

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)

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

4
  • Linux/Kernelllm-fuzzy3 versions
    (expand)+ 2 more
    • (no CPE)
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.17,<5.18.18
    • (no CPE)range: 5.17
  • osv-coords
    Range: >= 5.17.0, < 5.18.18

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.