CVE-2026-98033
bpf: Preserve inner map identity in callback frames
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf: Preserve inner map identity in callback frames Callback frame constructors initialize map-typed argument registers with __mark_reg_known_zero() and then restore map_ptr. This clears map_uid, which is the only field distinguishing inner maps that share an inner_map_meta template. When a timer callback invokes bpf_for_each_map_elem() on a second inner map, both the saved first map and the second map value can reach the nested callback as the same template with map_uid zero. bpf_timer_init() then accepts pairing the timer from the second map with the first map. The runtime records the first map in the timer without taking a reference. Freeing that map does not find the timer stored in the second map, so a later timer callback dereferences the freed map. Copy map_uid from the same caller register as map_ptr when constructing for-each, timer/workqueue, and task-work callback arguments. The existing identity check can then reject mismatched inner maps while allowing a callback value to be paired with its actual map.
EPSS 0.20% · 9.9th 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 |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 1:6.1.190-237.431.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.190-237.431.amzn2023 |
| python3-perf | Amazon Linux | 1:6.1.190-237.431.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.56-126.188.amzn2023 |
| kernel-modules-extra | Amazon Linux | 1:6.1.190-237.431.amzn2023 |
| kernel-livepatch-6.18.56-126.188 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.190-237.431.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| microvm-kernel | Amazon Linux | 1:6.1.190-237.431.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
| kernel | Amazon Linux | 1:6.1.190-237.431.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.114-139.210.amzn2023 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 69c087ba6225b574afb6e505b72cb75242a3d844, 69c087ba6225b574afb6e505b72cb75242a3d844, 69c087ba6225b574afb6e505b72cb75242a3d844 |
| Linux | Linux | 5.13, 0, 6.6.160 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.18.56-126.188 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | microvm-kernel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.114-139.210 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
…and 19 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (9 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-98033
vulnetix vdb fixes CVE-2026-98033
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-98033/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart