CVE-2026-93125
bpf: Reject rdonly/rdwr_buf_size kfunc arguments that exceed u32 max
Reported by linux · Published September 17, 2026
In the Linux kernel, the following vulnerability has been resolved: bpf: Reject rdonly/rdwr_buf_size kfunc arguments that exceed u32 max check_kfunc_args() detects a kfunc argument named rdonly_buf_size or rdwr_buf_size and stores reg->var_off.value into meta->r0_size, a u64, and does not bound it. check_kfunc_call() later copies that value into the returned register's mem_size field: meta->r0_size = reg->var_off.value; ... regs[BPF_REG_0].mem_size = meta.r0_size; regs[BPF_REG_0].mem_size is u32. A constant whose upper 32 bits are set gets truncated instead of causing a load-time rejection, so the verifier records a PTR_TO_MEM register with an approximately 4 GiB mem_size for whatever allocation the kfunc returned. A later access check against that register uses the truncated, wrong bound. Reject rdonly_buf_size/rdwr_buf_size values that exceed U32_MAX at the point meta->r0_size is set.
EPSS 0.13% · 2.6th 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 |
|---|---|---|
| bpftool6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.188-233.393.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| Linux | Linux | 6.1, 2147065d3a4e1d5d42ae553fef165f17ec5e0e79 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae |
| Linux | Linux | 6.1, 0, 6.1.191 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| Linux | Linux | *, 7.3, 7.2.6 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| linux | linux_kernel | 6.1, 6.1, 6.1 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
…and 18 more
Timeline
- Sep 17, 2026 CVE Published
- Sep 18, 2026 EPSS Score (9 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-93125
vulnetix vdb fixes CVE-2026-93125
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-93125/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart