Kernel privilege escalation via undersized BPF trampoline
Published Nov 8, 2024 · Updated Aug 5, 2026
Heap buffer overflow in the arm64 BPF JIT in Linux 6.10.3 through 6.11.5 allows local users to corrupt kernel memory via BPF trampolines. During trampoline sizing, arch_bpf_trampoline_size() uses a stack address, but code generation passes a heap address to emit_a64_mov_i64(), which can emit more instructions than allocated. Reaching the flaw requires an arm64 kernel and CAP_BPF plus CAP_PERFMON; the resulting writes can hijack kernel control flow or panic the system.
Summary
What happened
Heap buffer overflow in the arm64 BPF JIT in Linux 6.10.3 through 6.11.5 allows local users to corrupt kernel memory via BPF trampolines. During trampoline sizing, arch_bpf_trampoline_size() uses a stack address, but code generation passes a heap address to emit_a64_mov_i64(), which can emit more instructions than allocated. Reaching the flaw requires an arm64 kernel and CAP_BPF plus CAP_PERFMON; the resulting writes can hijack kernel control flow or panic the system.
The record
- CVE
- CVE-2024-50203
- Published
- Nov 8, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Nov 8, 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=077149478497b2f00ff4fd9da2c892defa6418d8 <9e80f366ebfdfafc685fe83a84c34f7ef01cbe88
- Affected versionversion=19d3c179a37730caf600a97fed3794feac2b197b <7db1a2121f3c7903b8e397392beec563c3d00950
- Affected versionversion=19d3c179a37730caf600a97fed3794feac2b197b <a552e2ef5fd1a6c78267cd4ec5a9b49aa11bbb1c
- Affected versionversion=6.10.3 <6.11
- Affected versionversion=6.11
- Affected versionversion=6d218fcc707d6b2c3616b6cd24b948fd4825cfec
- Affected versionversion=d9664e6ff040798a46cdc5d401064f55b8676c83 <f521c2a0c0c4585f36d912bf62c852b88682c4f2
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