{"cve":"CVE-2026-93125","nvd":{"published":"2026-09-17T17:18:07.247","modified":"2026-10-21T13:21:00.183","status":"Received","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject rdonly/rdwr_buf_size kfunc arguments that exceed u32 max\n\ncheck_kfunc_args() detects a kfunc argument named rdonly_buf_size or\nrdwr_buf_size and stores reg->var_off.value into meta->r0_size, a u64,\nand does not bound it. check_kfunc_call() later copies that value into\nthe returned register's mem_size field:\n\n  meta->r0_size = reg->var_off.value;\n  ...\n  regs[BPF_REG_0].mem_size = meta.r0_size;\n\nregs[BPF_REG_0].mem_size is u32. A constant whose upper 32 bits are set\ngets truncated instead of causing a load-time rejection, so the verifier\nrecords a PTR_TO_MEM register with an approximately 4 GiB mem_size for\nwhatever allocation the kfunc returned. A later access check against\nthat register uses the truncated, wrong bound.\n\nReject rdonly_buf_size/rdwr_buf_size values that exceed U32_MAX at the\npoint meta->r0_size is set.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":[],"references":["https://git.kernel.org/stable/c/2147065d3a4e1d5d42ae553fef165f17ec5e0e79","https://git.kernel.org/stable/c/2aaf67f0516fde29620d0edfc29c01b9ea7ad430","https://git.kernel.org/stable/c/56a3846830ac95a472297d0cbba75cbff29540bb","https://git.kernel.org/stable/c/93a20b14f8627b2d3486e3ec1d3f2e7275a506ec","https://git.kernel.org/stable/c/b6ac0b5732047d43172b9dfbe6b57b9b8de303c2"],"products":[],"source":"nvd","synced_at":"2026-10-22T16:41:11.231219466+00:00"},"epss":{"cve":"CVE-2026-93125","score":0.00129,"percentile":0.02515,"date":"2026-10-25"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}