CVE-2026-139624
bpf, x86: Fix timed may_goto with private stack
Check your servers for CVE-2026-139624
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-2026-139624 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, x86: Fix timed may_goto with private stack
arch_bpf_timed_may_goto() computes the address of count and timestamp as rbp + offset. When the prog uses private stack the JIT maps r10 to r9 and nothing is reserved under rbp, so bpf_check_timed_may_goto() reads and writes the timestamp in the kernel stack, where arch_bpf_timed_may_goto() has just saved r0-r5 or further down. The following loop in fentry prog with r0-r5 set to zero:
1: may_goto +2 r6 += 1 goto 1b
leaves r3 with ktime in it when the prog has 64 bytes of stack and ends after 65535 iterations when it has 128.
Add the frame pointer to the offset in the JIT, where rbp vs r9 is known, and pass the pointer in AX.
arm64 and powerpc JITs keep the address of private stack in BPF_REG_FP and are not affected.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.3% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba, before 1545deb8c5266812cfb4f355fbdb8436bbae83bb affected from 2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba, before f430d4a1c8c631a5f264f5d9df41bfe859155679 affected from 2fb761823eadf2fdfb6fdf146c4b94807b4bc3ba, before bb83425b3cdcb7bb3c629598a4d5efad9cc80733
Other versions: unaffected
|
| Linux |
affected 6.15 unaffected before 6.15 unaffected from 6.18.66 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 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-2026-139624 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139624
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-2026-139624
trivy image --scanners vuln IMAGE | grep CVE-2026-139624
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/1545deb8c5266812cfb4f355fbdb8436bbae83bb git.kernel.org
- https://git.kernel.org/stable/c/f430d4a1c8c631a5f264f5d9df41bfe859155679 git.kernel.org
- https://git.kernel.org/stable/c/bb83425b3cdcb7bb3c629598a4d5efad9cc80733 git.kernel.org
Source: the record CVE-2026-139624 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