CVE-2025-39793: Linux kernel · io_uring/memmap: cast nr_pages to size_t before shifting
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 18 Nov 2026, 02:34 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to cast nr_pages to size_t before shifting, preventing the overflow. Users should apply the official kernel updates that include this fix. Since this is a kernel-level vulnerability, upgrading to the patched kernel version is the recommended mitigation.
Description
CVE-2025-39793 is a high-severity vulnerability in the Linux kernel's io_uring memory mapping code. It involves improper casting of the nr_pages value before a bit shift operation, which can cause an integer overflow if the allocated size exceeds UINT_MAX. This overflow can lead to incorrect memory size calculations. The issue primarily affects root users, as normal user memory accounting prevents exploitation for large allocations. The vulnerability has been resolved by casting nr_pages to size_t before shifting.
References
- nvd.nist.gov/vuln/detail/CVE-2025-39793 (opens in a new tab)
- git.kernel.org/stable/c/33503c083fda048c77903460ac0429e1e2c0e341 (opens in a new tab)
- git.kernel.org/stable/c/a69a9b53c54e2d33e2a5b1ea4a9a71fd01c6cf3a (opens in a new tab)
- git.kernel.org/stable/c/c6a2706e08b8a1b2d3740161c0977d38e596c1ee (opens in a new tab)