{"id":"CVE-2023-1295","state":"PUBLISHED","title":"Privilege escalation with IO_RING_OP_CLOSE in the Linux Kernel","description":"A time-of-check to time-of-use issue exists in io_uring subsystem's IORING_OP_CLOSE operation in the Linux kernel's versions 5.6 - 5.11 (inclusive), which allows a local user to elevate their privileges to root. Introduced in b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb, patched in 9eac1904d3364254d622bf2c771c4f85cd435fc2, backported to stable in 788d0824269bef539fe31a785b1517882eafed93.","publishedAt":"2023-06-28T11:08:54.348Z","updatedAt":"2025-02-13T16:39:20.773Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Google"},"assigner":"Google","products":["Linux Linux Kernel"],"affected":[{"vendor":"Linux","product":"Linux Kernel","defaultStatus":"unaffected","versions":[{"version":"5.6","status":"affected","lessThanOrEqual":"5.11","versionType":"custom"}]}],"references":["https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9eac1904d3364254d622bf2c771c4f85cd435fc2","https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=788d0824269bef539fe31a785b1517882eafed93","https://kernel.dance/9eac1904d3364254d622bf2c771c4f85cd435fc2","https://kernel.dance/788d0824269bef539fe31a785b1517882eafed93","https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb","https://security.netapp.com/advisory/ntap-20230731-0006/"],"weaknesses":["CWE-367"],"ingestedAt":"2026-10-29T20:05:36.141Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/1xxx/CVE-2023-1295.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-1295","state":"PUBLISHED","datePublished":"2023-06-28T11:08:54.348Z","dateUpdated":"2025-02-13T16:39:20.773Z","assignerShortName":"Google","assignerOrgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateReserved":"2023-03-09T18:05:20.028Z"},"containers":{"cna":{"title":"Privilege escalation with IO_RING_OP_CLOSE in the Linux Kernel","descriptions":[{"lang":"en","value":"A time-of-check to time-of-use issue exists in io_uring subsystem's IORING_OP_CLOSE operation in the Linux kernel's versions 5.6 - 5.11 (inclusive), which allows a local user to elevate their privileges to root. Introduced in b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb, patched in 9eac1904d3364254d622bf2c771c4f85cd435fc2, backported to stable in 788d0824269bef539fe31a785b1517882eafed93."}],"affected":[{"vendor":"Linux","product":"Linux Kernel","defaultStatus":"unaffected","versions":[{"version":"5.6","status":"affected","lessThanOrEqual":"5.11","versionType":"custom"}]}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9eac1904d3364254d622bf2c771c4f85cd435fc2","tags":["patch"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=788d0824269bef539fe31a785b1517882eafed93","tags":["patch"]},{"url":"https://kernel.dance/9eac1904d3364254d622bf2c771c4f85cd435fc2"},{"url":"https://kernel.dance/788d0824269bef539fe31a785b1517882eafed93"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb","tags":["related"]},{"url":"https://security.netapp.com/advisory/ntap-20230731-0006/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Google","orgId":"14ed7db2-1595-443d-9d34-6215bf890778","dateUpdated":"2023-07-31T18:06:34.743Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Bing-Jhong Billy Jheng of Starlabs"}],"impacts":[{"capecId":"CAPEC-233","descriptions":[{"lang":"en","value":"CAPEC-233 Privilege Escalation"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9eac1904d3364254d622bf2c771c4f85cd435fc2","tags":["patch","x_transferred"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=788d0824269bef539fe31a785b1517882eafed93","tags":["patch","x_transferred"]},{"url":"https://kernel.dance/9eac1904d3364254d622bf2c771c4f85cd435fc2","tags":["x_transferred"]},{"url":"https://kernel.dance/788d0824269bef539fe31a785b1517882eafed93","tags":["x_transferred"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b5dba59e0cf7e2cc4d3b3b1ac5fe81ddf21959eb","tags":["related","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20230731-0006/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T05:41:00.047Z"}}]}}}