CVE-2026-98591
bpf: Fix bounds check for skb-backed dynptrs
Reported by linux · Published October 18, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bounds check for skb-backed dynptrs The skb_pointer_if_linear() function checks whether a memory region of length len starting at offset off into the skb is in the linear area, and returns a pointer to the region if so. The check currently subtracts between skb_headlen and offset of the check, and since skb_headlen is unsigned the subtraction can underflow. This causes the bounds check to spuriously pass and generate an arbitrary pointer of the form *(skb->data + off). The only user of this helper is currently skb-backed BPF dynptr code. Returning the wrong pointer leads to the dynptr erroneously being backed with invalid memory. Ensure the subtraction cannot underflow, and fail the check if it would. Use u64 arithmetic to also prevent overflow when calculating (skb_headlen(skb) - off) since off is unsigned.
EPSS 0.20% · 10.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel-livepatch-6.12.113-138.209 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| Linux | Linux | ed6eec97b534979dcf28b40c389cee57bd6561d4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6f5a630d7c57cd79b1f526a95e757311e32d41e5, 6f5a630d7c57cd79b1f526a95e757311e32d41e5, 6f5a630d7c57cd79b1f526a95e757311e32d41e5 |
| Linux | Linux | 6.6, 0, 6.6.158 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | perf6.18 | 0 |
| Linux | Linux | 6.12.112, 6.6, 6f5a630d7c57cd79b1f526a95e757311e32d41e5 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.18.56-125.164 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| Linux | Linux kernel |
…and 8 more
Timeline
- Oct 18, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Published
- Oct 19, 2026 EPSS Score (5 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98591
vulnetix vdb fixes CVE-2026-98591
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98591/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart