VDB

CVE-2026-98591

CVE-2026-98591 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-modules-extra-commonAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-headersAmazon Linux1:6.18.56-125.164.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.56-125.164.amzn2023
bpftool6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023
python3-perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.56-125.164.amzn2023
perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
LinuxLinuxed6eec97b534979dcf28b40c389cee57bd6561d4

Risk scores

EPSS Score
0.20%
10.0th percentile

Affected products

VendorProductVersions
LinuxLinux6f5a630d7c57cd79b1f526a95e757311e32d41e5, 6f5a630d7c57cd79b1f526a95e757311e32d41e5, 6f5a630d7c57cd79b1f526a95e757311e32d41e5
LinuxLinux6.6, 0, 6.6.158
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-headers0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.120
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools0
amazon:2023perf6.180
LinuxLinux6.12.112, 6.6, 6f5a630d7c57cd79b1f526a95e757311e32d41e5
amazon:2023kernel6.180
amazon:2023perf6.120
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
LinuxLinux 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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›