{"id":"CVE-2023-0240","aliases":["CVE-2023-0240"],"related":[],"kind":"vulnerability","state":"published","title":"Use after free in io_uring in the Linux Kernel","summary":"There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnerability leading to privilege escalation.\n\nIn the io_prep_async_work function the assumption that the last io_grab_identity call cannot return false is not true, and in this case the function will use the init_cred or the previous linked requests identity to do operations instead of using the current identity. This can lead to reference counting issues causing use-after-free. We recommend upgrading past version 5.10.161.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnerability leading to privilege escalation.\n\nIn the io_prep_async_work function the assumption that the last io_grab_identity call cannot return false is not true, and in this case the function will use the init_cred or the previous linked requests identity to do operations instead of using the current identity. This can lead to reference counting issues causing use-after-free. We recommend upgrading past version 5.10.161.","source":"cvelist"},{"lang":"es","text":"Hay un error lógico en la implementación de io_uring que puede usarse para desencadenar una vulnerabilidad use-after-free que conduce a una escalada de privilegios. En la función io_prep_async_work, la suposición de que la última llamada a io_grab_identity no puede devolver falso no es cierta y, en este caso, la función utilizará la identidad init_cred o las solicitudes vinculadas anteriores para realizar operaciones en lugar de utilizar la identidad actual. Esto puede provocar problemas de recuento de referencias que provoquen Use-After-Free. Recomendamos actualizar a la versión anterior 5.10.161.","source":"nvd"}],"published":"2023-01-30T13:17:09.182Z","modified":"2026-06-17T05:25:06.073Z","severity":{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Google","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"custom","introduced":"5.10","lastAffected":"5.10.161","status":"affected"}],"vendor":"Linux","product":"Linux Kernel","package":"io_uring","repo":"https://git.kernel.org","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"5.10","lastAffected":"5.10.161","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:5.10:-:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.10"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/io_uring?h=linux-5.10.y&id=788d0824269bef539fe31a785b1517882eafed93","tags":["mailing-list","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/gregkh/linux/commit/1e6fa5216a0e59ef02e8b6b40d553238a3b81d49","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://kernel.dance/#788d0824269bef539fe31a785b1517882eafed93","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230316-0001/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Bing-Jhong Billy Jheng of Starlabs"],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-08-01T18:22:24.961Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-0240","url":"https://www.cve.org/CVERecord?id=CVE-2023-0240","licence":"CVE Terms of Use","modified":"2024-08-02T05:02:43.942Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-0240","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0240","licence":"Public domain","modified":"2026-06-17T05:25:06.073Z"}],"updatedAt":"2026-11-25T22:58:21.773Z","epss":{"score":0.00284,"percentile":0.22451,"date":"2026-12-02T12:00:21.000Z"}}