CVE-2025-68378

bpf: Fix stackmap overflow check in __bpf_get_stackid()

No CVSS score yet EPSS 0.24%

Published 24 Dec 2025 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2025-68378

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68378 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.6% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from ee2a098851bfbe8bcdd964c0121f4246f00ff41e, before 03fe4c886667b3a09b9d6afc03bbc68afb35c82b
affected from ee2a098851bfbe8bcdd964c0121f4246f00ff41e, before d6028caa0ee39dccd005468adfa3223b92bd3ad3
affected from ee2a098851bfbe8bcdd964c0121f4246f00ff41e, before d1f424a77b6bd27b361737ed73df49a0158f1590
affected from ee2a098851bfbe8bcdd964c0121f4246f00ff41e, before 2a008f6de163279deffd488c1deab081bce5667c
affected from ee2a098851bfbe8bcdd964c0121f4246f00ff41e, before 4669a8db976c8cbd5427fe9945f12c5fa5168ff3
affected from ee2a098851bfbe8bcdd964c0121f4246f00ff41e, before 23f852daa4bab4d579110e034e4d513f7d490846
affected 90805175a206f784b6a77f16f07b07f6803e286b
affected 398ac11f4425d1e52aaf0d05d4fc90524e1a5b5e
affected e750f78c4ed7cefbcefb9769b3b9e08033db39da
affected 6c4f243b58f5362e983386488b2d563764c567af
affected from 5.10.110, before 5.11
affected from 5.15.33, before 5.16
affected from 5.16.19, before 5.17
affected from 5.17.2, before 5.18
Other versions: unaffected
Linux
affected 5.18
unaffected before 5.18
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.63 up to and including 6.12.*
unaffected from 6.17.13 up to and including 6.17.*
unaffected from 6.18.2 up to and including 6.18.*
unaffected 6.19 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68378 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68378

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-68378
trivy image --scanners vuln IMAGE | grep CVE-2025-68378

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-68378 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.