{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-0240","id":"CVE-2023-0240","title":"Use after free in io_uring in the Linux Kernel","description":"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 cur","descriptionLong":"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.","published":"2023-01-30T13:17:09.182Z","updated":"2026-10-28T10:40:49.080584281Z","reserved":"2023-01-12T13:04:00.937Z","status":"Modified","rejected":false,"assigner":"Google","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Google"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Google"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"google.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux Kernel"],"affectedProducts":[{"vendor":"Linux","product":"Linux Kernel","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"5.10.161","status":"affected","version":"5.10","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"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":["x_transferred","Mailing List","Patch","Vendor Advisory","web"]},{"url":"https://github.com/gregkh/linux/commit/1e6fa5216a0e59ef02e8b6b40d553238a3b81d49","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://kernel.dance/#788d0824269bef539fe31a785b1517882eafed93","tags":["x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230316-0001/","tags":["advisory"]},{"url":"https://git.kernel.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0240.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0240","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00284,"epssPercentile":0.21202,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-0240","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0240","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-0240","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-0240","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["linux-kernel"],"critical":[],"attention":null}