{"id":"CVE-2024-35831","aliases":["CVE-2024-35831"],"related":[],"kind":"vulnerability","state":"published","title":"io_uring: Fix release of pinned pages when __io_uaddr_map fails","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring: corregida la liberación de páginas fijadas cuando falla __io_uaddr_map. Mirando la ruta de error de __io_uaddr_map, si fallamos después de fijar las páginas por cualquier motivo, ret se establecerá en -EINVAL y el El controlador de errores no libera correctamente las páginas fijadas. No logré activarlo sin forzar un fallo, pero puede suceder en la vida real cuando la memoria está muy fragmentada.","source":"nvd"}],"published":"2024-05-17T13:41:23.171Z","modified":"2026-06-17T07:35:30.540Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"223ef474316466e9f61f6e0064f3a6fe4923a2c5","fixed":"0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62","status":"affected"},{"type":"git","introduced":"223ef474316466e9f61f6e0064f3a6fe4923a2c5","fixed":"712e2c8415f55a4a4ddaa98a430b87f624109f69","status":"affected"},{"type":"git","introduced":"223ef474316466e9f61f6e0064f3a6fe4923a2c5","fixed":"4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a","status":"affected"},{"type":"git","introduced":"223ef474316466e9f61f6e0064f3a6fe4923a2c5","fixed":"67d1189d1095d471ed7fa426c7e384a7140a5dd7","status":"affected"},{"type":"git","version":"3f3164ce6396138747984ee9e61158e248246300","status":"affected"},{"type":"semver","introduced":"6.5.7","fixed":"6.6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.23","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.11","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.2","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.5.7","fixed":"6.6"},{"status":"affected","introduced":"6.6.1","fixed":"6.6.23"},{"status":"affected","introduced":"6.7","fixed":"6.7.11"},{"status":"affected","introduced":"6.8","fixed":"6.8.2"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"},{"status":"affected","version":"6.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/712e2c8415f55a4a4ddaa98a430b87f624109f69","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67d1189d1095d471ed7fa426c7e384a7140a5dd7","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-24T14:16:19.328Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-35831","url":"https://www.cve.org/CVERecord?id=CVE-2024-35831","licence":"CVE Terms of Use","modified":"2026-05-23T15:43:43.263Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-35831","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35831","licence":"Public domain","modified":"2026-06-17T07:35:30.540Z"}],"updatedAt":"2026-11-25T22:58:40.531Z","epss":{"score":0.00208,"percentile":0.11619,"date":"2026-12-01T12:00:22.000Z"}}