CVE-2025-68744
bpf: Free special fields when update [lru_,]percpu_hash maps
Check your servers for CVE-2025-68744
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-68744 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
bpf: Free special fields when update [lru_,]percpu_hash maps
As [lru_,]percpu_hash maps support BPF_KPTR_{REF,PERCPU}, missing calls to 'bpf_obj_free_fields()' in 'pcpu_copy_value()' could cause the memory referenced by BPF_KPTR_{REF,PERCPU} fields to be held until the map gets freed.
Fix this by calling 'bpf_obj_free_fields()' after 'copy_map_value[,_long]()' in 'pcpu_copy_value()'.
Exploitation
EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a, before 994d6303ed0b84cbc795bb5becf7ed6de40d3f3c affected from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a, before 3bf1378747e251571e0de15e7e0a6bf2919044e7 affected from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a, before 96a5cb7072cabbac5c66ac9318242c3bdceebb68 affected from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a, before 4a03d69cece145e4fb527464be29c3806aa3221e affected from 65334e64a493c6a0976de7ad56bf8b7a9ff04b4a, before 6af6e49a76c9af7d42eb923703e7648cb2bf401a
Other versions: unaffected
|
| Linux |
affected 6.4 unaffected before 6.4 unaffected from 6.6.120 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-68744 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68744
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-68744
trivy image --scanners vuln IMAGE | grep CVE-2025-68744
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
- https://git.kernel.org/stable/c/994d6303ed0b84cbc795bb5becf7ed6de40d3f3c git.kernel.org
- https://git.kernel.org/stable/c/3bf1378747e251571e0de15e7e0a6bf2919044e7 git.kernel.org
- https://git.kernel.org/stable/c/96a5cb7072cabbac5c66ac9318242c3bdceebb68 git.kernel.org
- https://git.kernel.org/stable/c/4a03d69cece145e4fb527464be29c3806aa3221e git.kernel.org
- https://git.kernel.org/stable/c/6af6e49a76c9af7d42eb923703e7648cb2bf401a git.kernel.org
Source: the record CVE-2025-68744 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.
Vulnpocalypse