{"id":"CVE-2022-29582","published":"2022-04-22T00:00:00Z","modified":"2024-08-03T06:26:06Z","title":"In the Linux kernel before 5.17.3, fs/io_uring.c has a use-after-free due to a race condition in io_uring timeouts","vendor":null,"product":null,"tier":"tail","description":{"text":"In the Linux kernel before 5.17.3, fs/io_uring.c has a use-after-free due to a race condition in io_uring timeouts. This can be triggered by a local user who has no access to any user namespace; however, the race condition perhaps can only be exploited infrequently.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00766,"percentile":0.56404,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.openwall.com/lists/oss-security/2022/04/22/3","tags":[]},{"url":"https://github.com/torvalds/linux/commit/e677edbcabee849bfdd43f1602bccbecf736a646","tags":[]},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e677edbcabee849bfdd43f1602bccbecf736a646","tags":[]},{"url":"https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.3","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/04/22/4","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5127","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/08/08/3","tags":["mailing-list"]},{"url":"https://ruia-ruia.github.io/2022/08/05/CVE-2022-29582-io-uring/","tags":[]},{"url":"https://github.com/Ruia-ruia/CVE-2022-29582-Exploit","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/24/3","tags":["mailing-list"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":11.28},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-08-04","earliestUrl":"https://github.com/Ruia-ruia/CVE-2022-29582-Exploit","repos":[{"name":"Ruia-ruia/CVE-2022-29582-Exploit","url":"https://github.com/Ruia-ruia/CVE-2022-29582-Exploit","stars":76,"created":"2022-08-04"}]},"first":{"date":"2022-08-04","source":"PoC-in-GitHub","url":"https://github.com/Ruia-ruia/CVE-2022-29582-Exploit"},"provenance":"source"},"euvd":{"id":"EUVD-2022-33915","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/Ruia-ruia/CVE-2022-29582-Exploit"],"lineage":{"familyId":"fam-cve-2022-29582-family-cve-2022-29582","children":[{"from":"CVE-2022-29582","to":"CVE-2022-1043","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/io_uring.c"],"commits":["https://github.com/torvalds/linux/commit/a30f895ad3239f45012e860d4f94c1a388b36d14","https://github.com/torvalds/linux/commit/e677edbcabee849bfdd43f1602bccbecf736a646"],"basis":"shared function","functions":["io_ring_ctx"]}]},{"from":"CVE-2022-29582","to":"CVE-2022-29968","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/io_uring.c"],"commits":["https://github.com/torvalds/linux/commit/e677edbcabee849bfdd43f1602bccbecf736a646","https://github.com/torvalds/linux/commit/32452a3eb8b64e01e2be717f518c0be046975b9d"],"basis":"shared function","functions":["io_kiocb"]}]},{"from":"CVE-2022-29582","to":"CVE-2022-4127","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["fs/io_uring.c"],"commits":["https://github.com/torvalds/linux/commit/e677edbcabee849bfdd43f1602bccbecf736a646","https://github.com/torvalds/linux/commit/d785a773bed966a75ca1f11d108ae1897189975b"],"basis":"shared function","functions":["io_kiocb"]}]}]}}