Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.5.7, < 6.6 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62Patch
- https://git.kernel.org/stable/c/4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3aPatch
- https://git.kernel.org/stable/c/67d1189d1095d471ed7fa426c7e384a7140a5dd7Patch
- https://git.kernel.org/stable/c/712e2c8415f55a4a4ddaa98a430b87f624109f69Patch
- https://git.kernel.org/stable/c/0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62Patch
- https://git.kernel.org/stable/c/4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3aPatch
- https://git.kernel.org/stable/c/67d1189d1095d471ed7fa426c7e384a7140a5dd7Patch
- https://git.kernel.org/stable/c/712e2c8415f55a4a4ddaa98a430b87f624109f69Patch
FAQ
What is CVE-2024-35831?
CVE-2024-35831 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 pinn...
How severe is CVE-2024-35831?
CVE-2024-35831 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-35831?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.