# CVE-2025-68378: bpf: Fix stackmap overflow check in \_\_bpf\_get\_stackid()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-24 · Modified: 2026-10-30
- Aliases: UBUNTU-CVE-2025-68378, DEBIAN-CVE-2025-68378
- Record: https://cvemate.com/vulnerability/CVE-2025-68378 · JSON: https://cvemate.com/vulnerability/CVE-2025-68378/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.236%, percentile 15.626%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 148)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.1.192-1 \| \< 6.12.63-1 \| \< 6.17.13-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-110.110 \| \< 6.17.0-19.19
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1052.55 \| \< 6.17.0-1009.9
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1009.9~24.04.2
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1052.55+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1054.60 \| \< 6.17.0-1010.10
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 29)

- <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>
- <https://ubuntu.com/security/CVE-2025-68378>
- <https://www.cve.org/CVERecord?id=CVE-2025-68378>
- <https://ubuntu.com/security/notices/USN-8094-1>
- <https://ubuntu.com/security/notices/USN-8094-2>
- <https://ubuntu.com/security/notices/USN-8094-3>
- <https://ubuntu.com/security/notices/USN-8094-4>
- <https://ubuntu.com/security/notices/USN-8094-5>
- <https://ubuntu.com/security/notices/USN-8152-1>
- <https://ubuntu.com/security/notices/USN-8179-1>
- <https://ubuntu.com/security/notices/USN-8184-1>
- <https://ubuntu.com/security/notices/USN-8179-2>
- <https://ubuntu.com/security/notices/USN-8185-1>
- <https://ubuntu.com/security/notices/USN-8179-3>
- <https://ubuntu.com/security/notices/USN-8203-1>
- <https://ubuntu.com/security/notices/USN-8204-1>
- <https://ubuntu.com/security/notices/USN-8185-2>

---

Data as of 2026-12-05T04:22:25.830Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
