Kernel memory corruption via concurrent kernfs removal
Published Oct 1, 2025 · Updated Oct 1, 2025
Use-after-free in Linux kernfs allows local users to corrupt kernel memory through concurrent removal of the same node. Concurrent kernfs_remove_by_name_ns() calls can enter kernfs_drain(), where the root node is freed without an extra retained reference before __kernfs_remove() continues to read it. The published 9p reproducer requires CAP_SYS_ADMIN and slab_nomerge, while delegated cgroup2 or user-namespace teardown exposes other low-privilege paths; exploitation can disclose or modify kernel memory or crash the host.
Summary
What happened
Use-after-free in Linux kernfs allows local users to corrupt kernel memory through concurrent removal of the same node. Concurrent kernfs_remove_by_name_ns() calls can enter kernfs_drain(), where the root node is freed without an extra retained reference before __kernfs_remove() continues to read it. The published 9p reproducer requires CAP_SYS_ADMIN and slab_nomerge, while delegated cgroup2 or user-namespace teardown exposes other low-privilege paths; exploitation can disclose or modify kernel memory or crash the host.
The record
- CVE
- CVE-2022-50432
- Published
- Oct 1, 2025
- Updated
- Oct 1, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 1, 2025CVE publishedPublication date reported by the CVE source.
- Oct 1, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <028cf780743eea79abffa7206b9dcfc080ad3546
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <02eb35131050735332658029082f61515b7dfe38
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4abc99652812a2ddf932f137515d5c5a04723538
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <4dfd6a477a1525773469feaf3c514b2c0fef76b5
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6f72a3977ba9d0e5491a5c01315204272e7f9c44
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <94d2643df1e70a4c310ebb5e2c493eec33df1a06
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <af1b57cc39beca203559576b3046094fc9e5eb32
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c78b0dc6fb7fb389d674e491fd376388cdfb1d53
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Published syzkaller kernfs reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo