Skip to main content
← All vulnerabilities
CVE-2024-35831

io_uring: Fix release of pinned pages when __io_uaddr_map fails

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In the Linux kernel, the following vulnerability has been resolved: io_uring: Fix release of pinned pages when __io_uaddr_map fails Looking at the error path of __io_uaddr_map, if we fail after pinning the pages for any reasons, ret will be set to -EINVAL and the error handler won't properly release the pinned pages. I didn't manage to trigger it without forcing a failure, but it can happen in real life when memory is heavily fragmented.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 6.5.7 · fixed in 6.6

  • Linux Linux

    6.6

References 4

git.kernel.org