CVE-2024-35831
io_uring: Fix release of pinned pages when __io_uaddr_map fails
Reported by linux · Published May 17, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 712e2c8415f55a4a4ddaa98a430b87f624109f69, 67d1189d1095d471ed7fa426c7e384a7140a5dd7, 4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a, 0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 223ef474316466e9f61f6e0064f3a6fe4923a2c5, 223ef474316466e9f61f6e0064f3a6fe4923a2c5, 223ef474316466e9f61f6e0064f3a6fe4923a2c5 |
| Linux | Linux | 6.6, 0, 6.6.23 |
| Linux | Linux | 6.5.7, 0, 6.6.23 |
| linux | linux_kernel | 6.6, 6.6, 6.5.7 |
Timeline
- May 17, 2024 CVE Published
- May 18, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (16 in total, the first dated here)
- Jan 10, 2026 Security Advisory (441 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (336 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35831
vulnetix vdb fixes CVE-2024-35831
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35831/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart