{"id":"CVE-2024-35831","published":"2024-05-17T13:41:23Z","modified":"2026-05-23T15:43:43Z","title":"io_uring: Fix release of pinned pages when __io_uaddr_map fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: Fix release of pinned pages when __io_uaddr_map fails\n\nLooking at the error path of __io_uaddr_map, if we fail after pinning\nthe pages for any reasons, ret will be set to -EINVAL and the error\nhandler won't properly release the pinned pages.\n\nI didn't manage to trigger it without forcing a failure, but it can\nhappen in real life when memory is heavily fragmented.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00208,"percentile":0.11186,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62","tags":[]},{"url":"https://git.kernel.org/stable/c/712e2c8415f55a4a4ddaa98a430b87f624109f69","tags":[]},{"url":"https://git.kernel.org/stable/c/4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a","tags":[]},{"url":"https://git.kernel.org/stable/c/67d1189d1095d471ed7fa426c7e384a7140a5dd7","tags":[]}],"priority":{"score":2.2,"factors":[{"name":"EPSS percentile","points":2.24}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 223ef474316466e9f61f6e0064f3a6fe4923a2c5, < 0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62",">= 223ef474316466e9f61f6e0064f3a6fe4923a2c5, < 712e2c8415f55a4a4ddaa98a430b87f624109f69",">= 223ef474316466e9f61f6e0064f3a6fe4923a2c5, < 4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a",">= 223ef474316466e9f61f6e0064f3a6fe4923a2c5, < 67d1189d1095d471ed7fa426c7e384a7140a5dd7","3f3164ce6396138747984ee9e61158e248246300",">= 6.5.7, < 6.6"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-24T14:16:19.328229Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35727","exploited":false,"provenance":"source"}}