VDB

CVE-2026-98626

CVE-2026-98626 PUBLISHED

bpf: Restrict CO-RE poisoning to relocatable instructions

Reported by linux · Published October 18, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Restrict CO-RE poisoning to relocatable instructions CO-RE relocation records can name any instruction offset. When a relocation cannot be resolved, bpf_core_patch_insn() currently poisons its target before checking whether that instruction is a valid relocation target. Malformed metadata can therefore replace jumps, calls, exits, register-source arithmetic, or non-immediate loads instead of failing at the relocation step. Handle poisoning only after the instruction has passed the same class and operand-form checks used for a resolved relocation. Route invalid forms through the existing diagnostic and return a hard error. Keep poisoning supported instructions, including both halves of a plain ldimm64, so an unresolved relocation in dead code remains valid. Extend bpf_core_poison_insn() to poison both halves of ldimm64, and return its status directly from each validated instruction case. This avoids routing the success path through a common label and leaves the helper free to report errors. The shared relocation code applies this restriction to both libbpf and in-kernel CO-RE.

EPSS 0.21% · 11.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perfAmazon Linux1:6.1.189-236.399.amzn2023

Risk scores

EPSS Score
0.21%
11.5th percentile

Affected products

VendorProductVersions
LinuxLinuxd7a252708dbc950ca2064310217e8b9f85846e2f, d7a252708dbc950ca2064310217e8b9f85846e2f, d7a252708dbc950ca2064310217e8b9f85846e2f
LinuxLinux5.6, 0, 5.15.222
amazon:2023perf0
linuxlinux_kernel5.6, 5.6, 5.6
amazon:2023bpftool6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.180
amazon:2023bpftool6.180
amazon:2023microvm-kernel0
amazon:2023kernel6.18-devel0
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023kernel6.12-headers0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-tools-devel0
amazon:2023perf6.120
amazon:2023kernel6.120
LinuxLinux*, 7.2.9, 6.18.55

…and 19 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-98626
vulnetix vdb fixes CVE-2026-98626

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