Skip to main content
VulnerabilityPublished Updated

CVE-2025-39793: Linux kernel · io_uring/memmap: cast nr_pages to size_t before shifting

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 7.8 High.

Data as of 18 Nov 2026, 02:34 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Community reviews

Loading reviews…