CVE-2025-68378
JSON

Not scored

bpf: Fix stackmap overflow check in __bpf_get_stackid()

Severity
Not scored
Exploit likelihood
0.29% (higher than 14% of CVEs)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ee2a098851bfbe8bcdd964c0121f4246f00ff41e before 03fe4c886667b3a09b9d6afc03bbc68afb35c82b, from ee2a098851bfbe8bcdd964c0121f4246f00ff41e before d6028caa0ee39dccd005468adfa3223b92bd3ad3, from ee2a098851bfbe8bcdd964c0121f4246f00ff41e before d1f424a77b6bd27b361737ed73df49a0158f1590, from ee2a098851bfbe8bcdd964c0121f4246f00ff41e before 2a008f6de163279deffd488c1deab081bce5667c, from ee2a098851bfbe8bcdd964c0121f4246f00ff41e before 4669a8db976c8cbd5427fe9945f12c5fa5168ff3, from ee2a098851bfbe8bcdd964c0121f4246f00ff41e before 23f852daa4bab4d579110e034e4d513f7d490846, 90805175a206f784b6a77f16f07b07f6803e286b, 398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e and 7 more
Not affected: before 5.18, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.63 up to 6.12.*, from 6.17.13 up to 6.17.*, from 6.18.2 up to 6.18.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: bpf: Corrección de la comprobación de desbordamiento de stackmap en __bpf_get_stackid() Syzkaller informó de una escritura fuera de límites de slab de KASAN en __bpf_get_stackid() al copiar datos de traza de pila. El problema ocurre cuando la traza de perf contiene más entradas de pila de las que puede contener el cubo del mapa de pila, lo que lleva a una escritura fuera de límites en el array de datos del cubo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68378 changed 2026-10-30CVE Terms of Use
NVDCVE-2025-68378 changed 2026-10-30Public domain