← CVE Intelligence

CVE-2025-68378

bpf: Fix stackmap overflow check in __bpf_get_stackid() PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected ee2a098851bfbe8bcdd964c0121f4246f00ff41e before d6028caa0ee39dccd005468adfa3223b92bd3ad3; affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e before d1f424a77b6bd27b361737ed73df49a0158f1590; affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e before 2a008f6de163279deffd488c1deab081bce5667c; affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e before 4669a8db976c8cbd5427fe9945f12c5fa5168ff3; affected ee2a098851bfbe8bcdd964c0121f4246f00ff41e before 23f852daa4bab4d579110e034e4d513f7d490846; affected 90805175a206f784b6a77f16f07b07f6803e286b; affected 398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e; affected e750f78c4ed7cefbcefb9769b3b9e08033db39da; affected 6c4f243b58f5362e983386488b2d563764c567af; affected 5.10.110 before 5.11; affected 5.15.33 before 5.16; affected 5.16.19 before 5.17; affected 5.17.2 before 5.18
Linux / Linuxaffected 5.18; unaffected 0 before 5.18; unaffected 6.6.160 through 6.6.*; unaffected 6.12.63 through 6.12.*; unaffected 6.17.13 through 6.17.*; unaffected 6.18.2 through 6.18.*; unaffected 6.19 through *

CWE

No CWE identifiers supplied.

References