Local kernel compromise via corrupted BPF option pointer
Published Nov 7, 2024 · Updated Aug 5, 2026
Memory corruption in Linux 6.9 through 6.11.5 allows local users to alter kernel data or crash the host via crafted BPF mount options. In bpf_parse_param(), strsep() advances param->string into its allocation, so cleanup loses the original kmalloc pointer and can free an interior pointer or leak memory. An unprivileged local user can reach the parser through fsopen() and fsconfig() in a user and mount namespace, enabling kernel-memory corruption, privilege escalation, or memory exhaustion.
Summary
What happened
Memory corruption in Linux 6.9 through 6.11.5 allows local users to alter kernel data or crash the host via crafted BPF mount options. In bpf_parse_param(), strsep() advances param->string into its allocation, so cleanup loses the original kmalloc pointer and can free an interior pointer or leak memory. An unprivileged local user can reach the parser through fsopen() and fsconfig() in a user and mount namespace, enabling kernel-memory corruption, privilege escalation, or memory exhaustion.
The record
- CVE
- CVE-2024-50165
- Published
- Nov 7, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 7, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record 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=6.9
- Affected versionversion=6c1752e0b6ca8c7021d6da3926738d8d88f601a9 <1f97c03f43fadc407de5b5cb01c07755053e1c22
- Affected versionversion=6c1752e0b6ca8c7021d6da3926738d8d88f601a9 <5d7a0a426540319327309035509cb768a2f5c2c4
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