Kernel crash via BPF trampoline argument miscount
Published Nov 12, 2025 · Updated Aug 5, 2026
Denial of service in the Linux kernel 6.17 through 6.17.2 allows local users to crash LoongArch systems through BPF tracing. __arch_prepare_bpf_trampoline reserves argument storage by argument count instead of the expanded slots required for by-value structures, leaving registers unsaved and exposing adjacent frame data. Loading the tracing program requires BPF privileges or a delegated BPF token; triggering it can disclose kernel addresses, corrupt kernel memory, and lock a CPU.
Summary
What happened
Denial of service in the Linux kernel 6.17 through 6.17.2 allows local users to crash LoongArch systems through BPF tracing. __arch_prepare_bpf_trampoline reserves argument storage by argument count instead of the expanded slots required for by-value structures, leaving registers unsaved and exposing adjacent frame data. Loading the tracing program requires BPF privileges or a delegated BPF token; triggering it can disclose kernel addresses, corrupt kernel memory, and lock a CPU.
The record
- CVE
- CVE-2025-40151
- Published
- Nov 12, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 12, 2025CVE 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.17
- Affected versionversion=f9b6b41f0cf31791541cea9644ddbedb46465801 <d1158559315143e11bfaabcd4b2bea98c7ed1be9
- Affected versionversion=f9b6b41f0cf31791541cea9644ddbedb46465801 <e82406c7cbdd368c5459b8a45e118811d2ba0794
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