Vulnerabilities · 2024 · Linux
CVE-2024-35831
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62 · Patch
- git.kernel.org/stable/c/4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a · Patch
- git.kernel.org/stable/c/67d1189d1095d471ed7fa426c7e384a7140a5dd7 · Patch
- git.kernel.org/stable/c/712e2c8415f55a4a4ddaa98a430b87f624109f69 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-35831
- cve.org/CVERecord?id=CVE-2024-35831
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.