Local system crash via sleeping atomic allocation
Published Dec 24, 2025 · Updated Dec 24, 2025
Improper allocation in Linux kernel 5.0 through 6.0.5 allows local users to crash the system through SELinux context conversion. In sidtab_context_to_sid(), convert_context() duplicates a context string with GFP_KERNEL while spin_lock_irqsave holds an atomic critical section, allowing the allocator to sleep. The demonstrated path requires local filesystem activity that makes SELinux convert an unmapped security context and produces a kernel BUG warning capable of interrupting the system.
Summary
What happened
Improper allocation in Linux kernel 5.0 through 6.0.5 allows local users to crash the system through SELinux context conversion. In sidtab_context_to_sid(), convert_context() duplicates a context string with GFP_KERNEL while spin_lock_irqsave holds an atomic critical section, allowing the allocator to sleep. The demonstrated path requires local filesystem activity that makes SELinux convert an unmapped security context and produces a kernel BUG warning capable of interrupting the system.
The record
- CVE
- CVE-2022-50699
- Published
- Dec 24, 2025
- Updated
- Dec 24, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 24, 2025CVE publishedPublication date reported by the CVE source.
- Dec 24, 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=5.0
- Affected versionversion=ee1a84fdfeedfd7362e9a8a8f15fedc3482ade2d <2723875e9d677401d775a03a72abab7e9538c20c
- Affected versionversion=ee1a84fdfeedfd7362e9a8a8f15fedc3482ade2d <277378631d26477451424cc73982b977961f3d8b
- Affected versionversion=ee1a84fdfeedfd7362e9a8a8f15fedc3482ade2d <3006766d247bc93a25b34e92fff2f75bda597e2e
- Affected versionversion=ee1a84fdfeedfd7362e9a8a8f15fedc3482ade2d <abe3c631447dcd1ba7af972fe6f054bee6f136fa
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
No public exploit references are available in this record.
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