CVE-2024-35831

io_uring: Fix release of pinned pages when __io_uaddr_map fails

published May 17, 2024

CVSS
—
EPSS
0%
Percentile
10.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00208 · 10.4th percentile
Published
2024-05-17T13:41Z
EPSS history
Timeline
  • 17 MAY 13:41Z
    io_uring: Fix release of pinned pages when __io_uaddr_map fails
    cvelistv5