5.5medium
io_uring: Fix release of pinned pages when __io_uaddr_map fails
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 223ef474316466e9f61f6e0064f3a6fe4923a2c5 before 0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62, from 223ef474316466e9f61f6e0064f3a6fe4923a2c5 before 712e2c8415f55a4a4ddaa98a430b87f624109f69, from 223ef474316466e9f61f6e0064f3a6fe4923a2c5 before 4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a, from 223ef474316466e9f61f6e0064f3a6fe4923a2c5 before 67d1189d1095d471ed7fa426c7e384a7140a5dd7, 3f3164ce6396138747984ee9e61158e248246300, from 6.5.7 before 6.6, 6.6 Not affected: before 6.6, from 6.6.23 up to 6.6.*, from 6.7.11 up to 6.7.*, from 6.8.2 up to 6.8.*, from 6.9 up to * | CVE List |
| linux linux_kernel | from 6.5.7 before 6.6, from 6.6.1 before 6.6.23, from 6.7 before 6.7.11, from 6.8 before 6.8.2, 6.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring: corregida la liberación de páginas fijadas cuando falla __io_uaddr_map. Mirando la ruta de error de __io_uaddr_map, si fallamos después de fijar las páginas por cualquier motivo, ret se establecerá en -EINVAL y el El controlador de errores no libera correctamente las páginas fijadas. No logré activarlo sin forzar un fallo, pero puede suceder en la vida real cuando la memoria está muy fragmentada.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-35831 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2024-35831 changed 2026-06-17 | Public domain |