VDB

CVE-2026-98049

CVE-2026-98049 PUBLISHED

bpf: zero extend the result of an arena 32-bit cmpxchg

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: zero extend the result of an arena 32-bit cmpxchg bpf_convert_ctx_accesses() rewrites an atomic on an arena pointer from BPF_STX | BPF_ATOMIC to BPF_STX | BPF_PROBE_ATOMIC, and it runs before bpf_opt_subreg_zext_lo32_rnd_hi32(). That pass emits an explicit zero extension for a 32-bit cmpxchg even when bpf_jit_needs_zext() is false. This is done because on some architectures 32-bit cmpxchg requires explicit zero extension for the dst register. E.g. on x86-64 'lock cmpxchg' does not change the %eax if comparison is successful, while BPF semantics declare that each operation on a 32-bit register zero extends it's upper half. is_cmpxchg_insn() matches BPF_MODE == BPF_ATOMIC only, so an arena cmpxchg misses said zero extension adjustment. This patch adjusts is_cmpxchg_insn() to match BPF_PROBE_ATOMIC alongside BPF_ATOMIC.

EPSS 0.16% · 4.7th 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.114-139.210.amzn2023
bpftool6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.114-139.210.amzn2023
kernel-livepatch-6.12.114-139.210Amazon Linux1:1.0-0.amzn2023
linux-qemu-melangeChainguard6.18.57-r0
perf6.12Amazon Linux1:6.12.114-139.210.amzn2023
kernel6.12Amazon Linux1:6.12.114-139.210.amzn2023

Risk scores

EPSS Score
0.16%
4.7th percentile

Affected products

VendorProductVersions
LinuxLinuxd503a04f8bc0c75dc9db9452d8cc79d748afb752, d503a04f8bc0c75dc9db9452d8cc79d748afb752, d503a04f8bc0c75dc9db9452d8cc79d748afb752
LinuxLinux6.10, 0, 6.12.114
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.12.114-139.2100
chainguardlinux-qemu-melange0
amazon:2023perf6.120
amazon:2023kernel6.120
linuxlinux_kernel6.10, 6.10, 6.10
amazon:2023kernel6.12-modules-extra0
chainguardlinux-desktop-7.20
amazon:2023python3-perf6.120
chainguardlinux-aws-6.180
chainguardlinux-gcp-6.18*
LinuxLinux6.12.114, 0, 7.2.7
chainguardlinux-qemu-6.180
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.12-headers0

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98049
vulnetix vdb fixes CVE-2026-98049

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