VDB

CVE-2026-98590

CVE-2026-98590 PUBLISHED

bpf: Fix bpf_sock context code generation

Reported by linux · Published October 18, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix bpf_sock context code generation Currently, the ctx access code reads the rx_queue_mapping field with either a 4-byte or 2-byte load. The rest of the bits in the register are marked known zero by the verifier. However, the emitted ctx access code places in the register on certain the special value (-1) using BPF_MOV_IMM64, which gets sign-extended to turn on all the bits in the register. By shifting this value right, the program ends up with a value at runtime above what the verifier assumes is possible. Fix this by ensuring the read value is as wide as the assumed size. Use MOV32 instructions instead of MOV64 instructions to keep the upper bits zero as assumed by the verifier. Also properly report the size of the destination variable (the bpf_sock field, 4 bytes) instead of the source (the socket field, 2 bytes).

EPSS 0.22% · 12.1th 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-toolsAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.113-138.209.amzn2023
python3-perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-headersAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-headersAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.113-138.209.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.189-236.399.amzn2023
microvm-kernelAmazon Linux1:6.1.189-236.399.amzn2023
python3-perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel-livepatch-6.18.56-125.164Amazon Linux1:1.0-0.amzn2023

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.22%
12.1th percentile

Affected products

VendorProductVersions
LinuxLinuxc3c16f2ea6d20159903cf93afbb1155f3d8348d5, c3c16f2ea6d20159903cf93afbb1155f3d8348d5, c3c16f2ea6d20159903cf93afbb1155f3d8348d5
LinuxLinux5.8, 0, 5.10.271
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-modules-extra-common0
amazon:2023microvm-kernel0
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.18.56-125.1640
LinuxLinux7.2.9, *, *
amazon:2023bpftool6.180
amazon:2023perf0
amazon:2023kernel-tools0
amazon:2023kernel6.180
amazon:2023microvm-kernel6.180

…and 19 more

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (6 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-98590
vulnetix vdb fixes CVE-2026-98590

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-98590/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 ›