CVE-2022-50148

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50148
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50148.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50148
Downstream
Published
2025-06-18T11:15:44Z
Modified
2025-06-18T16:01:32Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

kernfs: fix potential NULL dereference in _kernfsremove

When lockdep is enabled, lockdepassertheld_write would cause potential NULL pointer dereference.

Fix the following smatch warnings:

fs/kernfs/dir.c:1353 _kernfsremove() warn: variable dereferenced before check 'kn' (see line 1346)

References

Affected packages

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.0.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}