bpf: Fix stackmap overflow check in __bpf_get_stackid()
Summary
| CVE | CVE-2025-68378 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-24 11:16:01 UTC |
| Updated | 2026-10-21 13:18:23 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e d6028caa0ee39dccd005468adfa3223b92bd3ad3 git |
Not specified |
| CNA |
Linux |
Linux |
affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e d1f424a77b6bd27b361737ed73df49a0158f1590 git |
Not specified |
| CNA |
Linux |
Linux |
affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e 2a008f6de163279deffd488c1deab081bce5667c git |
Not specified |
| CNA |
Linux |
Linux |
affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e 4669a8db976c8cbd5427fe9945f12c5fa5168ff3 git |
Not specified |
| CNA |
Linux |
Linux |
affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e 23f852daa4bab4d579110e034e4d513f7d490846 git |
Not specified |
| CNA |
Linux |
Linux |
affected 90805175a206f784b6a77f16f07b07f6803e286b git |
Not specified |
| CNA |
Linux |
Linux |
affected 398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e git |
Not specified |
| CNA |
Linux |
Linux |
affected e750f78c4ed7cefbcefb9769b3b9e08033db39da git |
Not specified |
| CNA |
Linux |
Linux |
affected 6c4f243b58f5362e983386488b2d563764c567af git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.10.110 5.11 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 5.15.33 5.16 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 5.16.19 5.17 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 5.17.2 5.18 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 5.18 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.18 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.160 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.63 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.17.13 6.17.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.2 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.19 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/2a008f6de163279deffd488c1deab081bce5667c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/4669a8db976c8cbd5427fe9945f12c5fa5168ff3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d1f424a77b6bd27b361737ed73df49a0158f1590 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/23f852daa4bab4d579110e034e4d513f7d490846 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d6028caa0ee39dccd005468adfa3223b92bd3ad3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.