{"id":"CVE-2024-58000","published":"2025-02-27T02:07:19Z","modified":"2026-05-11T21:01:51Z","title":"io_uring: prevent reg-wait speculations","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: prevent reg-wait speculations\n\nWith *ENTER_EXT_ARG_REG instead of passing a user pointer with arguments\nfor the waiting loop the user can specify an offset into a pre-mapped\nregion of memory, in which case the\n[offset, offset + sizeof(io_uring_reg_wait)) will be intepreted as the\nargument.\n\nAs we address a kernel array using a user given index, it'd be a subject\nto speculation type of exploits. Use array_index_nospec() to prevent\nthat. Make sure to pass not the full region size but truncate by the\nmaximum offset allowed considering the structure size.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00245,"percentile":0.0953,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/2a6de94df7bfa76d9850443547e7b3333f63a16a","tags":[]},{"url":"https://git.kernel.org/stable/c/29b95ac917927ce9f95bf38797e16333ecb489b1","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.91}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= aa00f67adc2c0d6439f81b5a81ff181377c47a7e, < 2a6de94df7bfa76d9850443547e7b3333f63a16a",">= aa00f67adc2c0d6439f81b5a81ff181377c47a7e, < 29b95ac917927ce9f95bf38797e16333ecb489b1"]},{"vendor":"Linux","product":"Linux","versions":["6.13"]}],"euvd":{"id":"EUVD-2025-5247","exploited":false,"provenance":"source"}}