CVE-2026-93125
Last modified
CVE-2026-93125 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, < 56a3846830ac95a472297d0cbba75cbff29540bb; >= eb1f7f71c126c8fd50ea81af98f97c4b581ea4ae, < 2aaf67f0516fde29620d0edfc29c01b9ea7ad430 |
| Linux | Linux | 6.1 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-93125?
How severe is CVE-2026-93125?
How do I fix CVE-2026-93125?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-9312A server-side request forgery (SSRF) vulnerability was ident…8.2
- CVE-2026-93120In the Linux kernel, the following vulnerability has been re…
- CVE-2026-93121In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-93122In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-93123In the Linux kernel, the following vulnerability has been re…
- CVE-2026-93124In the Linux kernel, the following vulnerability has been re…
- CVE-2026-93126In the Linux kernel, the following vulnerability has been re…
- CVE-2026-93127In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-93128In the Linux kernel, the following vulnerability has been re…
- CVE-2026-93129In the Linux kernel, the following vulnerability has been re…
- CVE-2026-93130In the Linux kernel, the following vulnerability has been re…
- CVE-2026-93131In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-93125?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
