CVE-2026-98049
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-tools | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel-livepatch-6.12.114-139.210 | Amazon Linux | 1:1.0-0.amzn2023 |
| linux-qemu-melange | Chainguard | 6.18.57-r0 |
| perf6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d503a04f8bc0c75dc9db9452d8cc79d748afb752, d503a04f8bc0c75dc9db9452d8cc79d748afb752, d503a04f8bc0c75dc9db9452d8cc79d748afb752 |
| Linux | Linux | 6.10, 0, 6.12.114 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| chainguard | linux-qemu-melange | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| linux | linux_kernel | 6.10, 6.10, 6.10 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| chainguard | linux-desktop-7.2 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| chainguard | linux-aws-6.18 | 0 |
| chainguard | linux-gcp-6.18 | * |
| Linux | Linux | 6.12.114, 0, 7.2.7 |
| chainguard | linux-qemu-6.18 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
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