CVE-2026-139327
bpf: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields
Check your servers for CVE-2026-139327
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-139327 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: Fix verifier WARN on narrow read of bpf_tcp_sock u64 fields
A BPF program can read the middle of a u64 field in struct bpf_tcp_sock:
tp = bpf_tcp_sock(listener); /* +0x54 is in the middle of the u64 bytes_received */ unsigned hi = *(unsigned *)((char *)tp + 0x54);
bpf_tcp_sock_is_valid_access() allows this 4-byte read (the default case only checks size == 4), but bpf_tcp_sock_convert_ctx_access() only knows the field starts and has no idea how to handle such an offset. It emits no instruction, cnt stays 0 and the fixup pass trips verifier_bug():
verifier bug: error during ctx access conversion (0)
Just disallow the narrower access by matching the whole u64 range of the two fields, so it is turned down at check time:
invalid tcp_sock access off=84 size=4
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 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 655a51e536c09d15ffa3603b1b6fce2b45b85a1f, before e06ca4a5c552a78a79b22e0b764e2d727c2f7108 affected from 655a51e536c09d15ffa3603b1b6fce2b45b85a1f, before efc6bc93f215e14c75fb88f47cf54ef504111186 affected from 655a51e536c09d15ffa3603b1b6fce2b45b85a1f, before baf1abdf03f52b9193bfba40336036de314212df affected from 655a51e536c09d15ffa3603b1b6fce2b45b85a1f, before 141c45e045cd36b4230ab9e694f343e049d38323 affected from 655a51e536c09d15ffa3603b1b6fce2b45b85a1f, before 4f8f77e0da33ef2a2cb3dbd8c87ff7567b0e0c82 affected from 655a51e536c09d15ffa3603b1b6fce2b45b85a1f, before 7c5276e3868312214ad780ca6c58a18e1fa11962 affected from 655a51e536c09d15ffa3603b1b6fce2b45b85a1f, before e6171dcef8a8fbba1a671e64aed57a8807a42b30 affected from 655a51e536c09d15ffa3603b1b6fce2b45b85a1f, before af873495cbcb066ab029f7f63b94410d4db47628
Other versions: unaffected
|
| Linux |
affected 5.1 unaffected before 5.1 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 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-139327 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139327
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-139327
trivy image --scanners vuln IMAGE | grep CVE-2026-139327
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/e06ca4a5c552a78a79b22e0b764e2d727c2f7108 git.kernel.org
- https://git.kernel.org/stable/c/efc6bc93f215e14c75fb88f47cf54ef504111186 git.kernel.org
- https://git.kernel.org/stable/c/baf1abdf03f52b9193bfba40336036de314212df git.kernel.org
- https://git.kernel.org/stable/c/141c45e045cd36b4230ab9e694f343e049d38323 git.kernel.org
- https://git.kernel.org/stable/c/4f8f77e0da33ef2a2cb3dbd8c87ff7567b0e0c82 git.kernel.org
- https://git.kernel.org/stable/c/7c5276e3868312214ad780ca6c58a18e1fa11962 git.kernel.org
- https://git.kernel.org/stable/c/e6171dcef8a8fbba1a671e64aed57a8807a42b30 git.kernel.org
- https://git.kernel.org/stable/c/af873495cbcb066ab029f7f63b94410d4db47628 git.kernel.org
Source: the record CVE-2026-139327 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