{"id":"CVE-2025-68378","aliases":["CVE-2025-68378"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Fix stackmap overflow check in __bpf_get_stackid()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix stackmap overflow check in __bpf_get_stackid()\n\nSyzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid()\nwhen copying stack trace data. The issue occurs when the perf trace\n contains more stack entries than the stack map bucket can hold,\n leading to an out-of-bounds write in the bucket's data array.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix stackmap overflow check in __bpf_get_stackid()\n\nSyzkaller reported a KASAN slab-out-of-bounds write in __bpf_get_stackid()\nwhen copying stack trace data. The issue occurs when the perf trace\n contains more stack entries than the stack map bucket can hold,\n leading to an out-of-bounds write in the bucket's data array.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nbpf: Corrección de la comprobación de desbordamiento de stackmap en __bpf_get_stackid()\n\nSyzkaller 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.","source":"nvd"}],"published":"2025-12-24T10:33:06.859Z","modified":"2026-10-30T13:18:22.017Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ee2a098851bfbe8bcdd964c0121f4246f00ff41e","fixed":"03fe4c886667b3a09b9d6afc03bbc68afb35c82b","status":"affected"},{"type":"git","introduced":"ee2a098851bfbe8bcdd964c0121f4246f00ff41e","fixed":"d6028caa0ee39dccd005468adfa3223b92bd3ad3","status":"affected"},{"type":"git","introduced":"ee2a098851bfbe8bcdd964c0121f4246f00ff41e","fixed":"d1f424a77b6bd27b361737ed73df49a0158f1590","status":"affected"},{"type":"git","introduced":"ee2a098851bfbe8bcdd964c0121f4246f00ff41e","fixed":"2a008f6de163279deffd488c1deab081bce5667c","status":"affected"},{"type":"git","introduced":"ee2a098851bfbe8bcdd964c0121f4246f00ff41e","fixed":"4669a8db976c8cbd5427fe9945f12c5fa5168ff3","status":"affected"},{"type":"git","introduced":"ee2a098851bfbe8bcdd964c0121f4246f00ff41e","fixed":"23f852daa4bab4d579110e034e4d513f7d490846","status":"affected"},{"type":"git","version":"90805175a206f784b6a77f16f07b07f6803e286b","status":"affected"},{"type":"git","version":"398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e","status":"affected"},{"type":"git","version":"e750f78c4ed7cefbcefb9769b3b9e08033db39da","status":"affected"},{"type":"git","version":"6c4f243b58f5362e983386488b2d563764c567af","status":"affected"},{"type":"semver","introduced":"5.10.110","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.15.33","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"5.16.19","fixed":"5.17","status":"affected"},{"type":"semver","introduced":"5.17.2","fixed":"5.18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.63","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/03fe4c886667b3a09b9d6afc03bbc68afb35c82b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d6028caa0ee39dccd005468adfa3223b92bd3ad3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1f424a77b6bd27b361737ed73df49a0158f1590","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a008f6de163279deffd488c1deab081bce5667c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4669a8db976c8cbd5427fe9945f12c5fa5168ff3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23f852daa4bab4d579110e034e4d513f7d490846","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68378","url":"https://www.cve.org/CVERecord?id=CVE-2025-68378","licence":"CVE Terms of Use","modified":"2026-10-30T12:23:15.844Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68378","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68378","licence":"Public domain","modified":"2026-10-30T13:18:22.017Z"}],"updatedAt":"2026-11-25T22:59:09.875Z","epss":{"score":0.00285,"percentile":0.13606,"date":"2026-11-30T12:00:22.000Z"}}