CVE-2025-68378
bpf: Fix stackmap overflow check in __bpf_get_stackid()
- State
- Published
- Severity
- Not scored
- Published
- Dec 24, 2025
- Updated
- Oct 30, 2026
- Reserved
- Dec 16, 2025
Description
In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix stackmap overflow check in __bpf_get_stackid()
Syzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid() when copying stack trace data. The issue occurs when the perf trace contains more stack entries than the stack map bucket can hold, leading to an out-of-bounds write in the bucket's data array.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/03fe4c886667b3a09b9d6afc03bbc68afb35c82b
- https://git.kernel.org/stable/c/d6028caa0ee39dccd005468adfa3223b92bd3ad3
- https://git.kernel.org/stable/c/d1f424a77b6bd27b361737ed73df49a0158f1590
- https://git.kernel.org/stable/c/2a008f6de163279deffd488c1deab081bce5667c
- https://git.kernel.org/stable/c/4669a8db976c8cbd5427fe9945f12c5fa5168ff3
- https://git.kernel.org/stable/c/23f852daa4bab4d579110e034e4d513f7d490846
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.