We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2022-50148

kernfs: fix potential NULL dereference in __kernfs_remove



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)

Reserved 2025-06-18 | Published 2025-06-18 | Updated 2025-06-18 | Assigner Linux

Product status

Default status
unaffected

393c3714081a53795bbff0e985d24146def6f57f before b871986d9d3071f5082664ac274d93f08db257cd
affected

393c3714081a53795bbff0e985d24146def6f57f before 4a9f35b8729c5bf13ea671c908c17ed74c48fc50
affected

393c3714081a53795bbff0e985d24146def6f57f before 72b5d5aef246a0387cefa23121dd90901c7a691a
affected

Default status
affected

5.17
affected

Any version before 5.17
unaffected

5.18.18
unaffected

5.19.2
unaffected

6.0
unaffected

References

git.kernel.org/...c/b871986d9d3071f5082664ac274d93f08db257cd

git.kernel.org/...c/4a9f35b8729c5bf13ea671c908c17ed74c48fc50

git.kernel.org/...c/72b5d5aef246a0387cefa23121dd90901c7a691a

cve.org (CVE-2022-50148)

nvd.nist.gov (CVE-2022-50148)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2022-50148

Support options

Helpdesk Chat, Email, Knowledgebase