# CVE-2026-93125: bpf: Reject rdonly/rdwr\_buf\_size kfunc arguments that exceed u32 max

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **Published:** 2026-09-17T16:11:29.895Z
- **Modified:** 2026-10-30T13:20:57.950Z

## Who should check

- Anyone running Linux \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 00bb52be60da16cd5ead4eb9f8ddc9a66d003ff2; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 2147065d3a4e1d5d42ae553fef165f17ec5e0e79; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< b6ac0b5732047d43172b9dfbe6b57b9b8de303c2; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 93a20b14f8627b2d3486e3ec1d3f2e7275a506ec; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 56a3846830ac95a472297d0cbba75cbff29540bb; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 2aaf67f0516fde29620d0edfc29c01b9ea7ad430
- Anyone running Linux 6.1

## Description

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.

## Affected and fixed versions

- Linux: \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 00bb52be60da16cd5ead4eb9f8ddc9a66d003ff2; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 2147065d3a4e1d5d42ae553fef165f17ec5e0e79; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< b6ac0b5732047d43172b9dfbe6b57b9b8de303c2; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 93a20b14f8627b2d3486e3ec1d3f2e7275a506ec; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 56a3846830ac95a472297d0cbba75cbff29540bb; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 2aaf67f0516fde29620d0edfc29c01b9ea7ad430 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- Upgrade Linux to 2aaf67f0516fde29620d0edfc29c01b9ea7ad430 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93125. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93125.md
Affected: Linux >= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, < 00bb52be60da16cd5ead4eb9f8ddc9a66d003ff2; >= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, < 2147065d3a4e1d5d42ae553fef165f17ec5e0e79; >= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, < b6ac0b5732047d43172b9dfbe6b57b9b8de303c2; >= eb1f7f71c126c8fd50ea81a…
Fixed in: Linux 00bb52be60da16cd5ead4eb9f8ddc9a66d003ff2, Linux 2147065d3a4e1d5d42ae553fef165f17ec5e0e79, Linux 93a20b14f8627b2d3486e3ec1d3f2e7275a506ec, Linux 56a3846830ac95a472297d0cbba75cbff29540bb, Linux 2aaf67f0516fde29620d0edfc29c01b9ea7ad430

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93125 being exploited?

There is no confirmed exploitation: CVE-2026-93125 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-93125?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-93125?

Linux \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 00bb52be60da16cd5ead4eb9f8ddc9a66d003ff2; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 2147065d3a4e1d5d42ae553fef165f17ec5e0e79; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< b6ac0b5732047d43172b9dfbe6b57b9b8de303c2; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 93a20b14f8627b2d3486e3ec1d3f2e7275a506ec; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 56a3846830ac95a472297d0cbba75cbff29540bb; \>= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, \< 2aaf67f0516fde29620d0edfc29c01b9ea7ad430; Linux 6.1.

### Is there a fix for CVE-2026-93125?

Yes. Fixed in Linux 00bb52be60da16cd5ead4eb9f8ddc9a66d003ff2, Linux 2147065d3a4e1d5d42ae553fef165f17ec5e0e79, Linux 93a20b14f8627b2d3486e3ec1d3f2e7275a506ec, Linux 56a3846830ac95a472297d0cbba75cbff29540bb, Linux 2aaf67f0516fde29620d0edfc29c01b9ea7ad430. Upgrade Linux to 2aaf67f0516fde29620d0edfc29c01b9ea7ad430 or later.

### How do I check if I'm affected by CVE-2026-93125?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/00bb52be60da16cd5ead4eb9f8ddc9a66d003ff2>
- other: <https://git.kernel.org/stable/c/2147065d3a4e1d5d42ae553fef165f17ec5e0e79>
- other: <https://git.kernel.org/stable/c/b6ac0b5732047d43172b9dfbe6b57b9b8de303c2>
- other: <https://git.kernel.org/stable/c/93a20b14f8627b2d3486e3ec1d3f2e7275a506ec>
- other: <https://git.kernel.org/stable/c/56a3846830ac95a472297d0cbba75cbff29540bb>
- other: <https://git.kernel.org/stable/c/2aaf67f0516fde29620d0edfc29c01b9ea7ad430>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93125>

HTML: <https://flawdb.com/CVE-2026-93125> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93125>
