CVE-2024-35831
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 17 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-401
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.5.7, < 6.6 | 6.6 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.6.1, < 6.6.23 | 6.6.23 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.7.11 | 6.7.11 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.8, < 6.8.2 | 6.8.2 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.6:-:*:*:*:*:*:* |
= 6.6 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:* |
= 6.6 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.6:rc6:*:*:*:*:*:* |
= 6.6 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.6:rc7:*:*:*:*:*:* |
= 6.6 |
References
- https://git.kernel.org/stable/c/0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62 · Patch
- https://git.kernel.org/stable/c/4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a · Patch
- https://git.kernel.org/stable/c/67d1189d1095d471ed7fa426c7e384a7140a5dd7 · Patch
- https://git.kernel.org/stable/c/712e2c8415f55a4a4ddaa98a430b87f624109f69 · Patch
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 17 May 2024)