CVE-2024-58000
publishedio_uring: prevent reg-wait speculations
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxaa00f67adc2c0d6439f81b5a81ff181377c47a7e to < 2a6de94df7bfa76d9850443547e7b3333f63a16a · aa00f67adc2c0d6439f81b5a81ff181377c47a7e to < 29b95ac917927ce9f95bf38797e16333ecb489b1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.13.2 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: prevent reg-wait speculations With *ENTER_EXT_ARG_REG instead of passing a user pointer with arguments for the waiting loop the user can specify an offset into a pre-mapped region of memory, in which case the [offset, offset + sizeof(io_uring_reg_wait)) will be intepreted as the argument. As we address a kernel array using a user given index, it'd be a subject to speculation type of exploits. Use array_index_nospec() to prevent that. Make sure to pass not the full region size but truncate by the maximum offset allowed considering the structure size.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | aa00f67adc2c0d6439f81b5a81ff181377c47a7e to < 2a6de94df7bfa76d9850443547e7b3333f63a16a (affected · git)aa00f67adc2c0d6439f81b5a81ff181377c47a7e to < 29b95ac917927ce9f95bf38797e16333ecb489b1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.13.2 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
io_uring: prevent reg-wait speculations
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 58cf5966f14fedd505080267ac484a9e029a667fe9140dd3c13e9601957f7f33
- Ingested
- 23 Sep 2026, 08:32:14 UTC
- Source record
- Official CVE record