7.8high
io_uring: fix ltout double free on completion race
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix ltout double free on completion race Always remove linked timeout on io_link_timeout_fn() from the master request link list, otherwise we may get use-after-free when first io_link_timeout_fn() puts linked timeout in the fail path, and then will be found and put on master's free.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 90cd7e424969d29aff653333b4dcb4e2e199d791 before 1f64f5e903b9d1d157875721e02adadc9d6f0a5d, from 90cd7e424969d29aff653333b4dcb4e2e199d791 before 447c19f3b5074409c794b350b10306e1da1ef4ba, 5.11 Not affected: before 5.11, from 5.12.10 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | from 5.11 before 5.12.10, 5.13 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix ltout double free on completion race Always remove linked timeout on io_link_timeout_fn() from the master request link list, otherwise we may get use-after-free when first io_link_timeout_fn() puts linked timeout in the fail path, and then will be found and put on master's free.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring: corrige la doble liberación de ltout al finalizar la ejecución. Elimina siempre el tiempo de espera vinculado en io_link_timeout_fn() de la lista de vínculos de solicitud maestra; de lo contrario, es posible que obtengamos use-after-free la primera vez que io_link_timeout_fn() coloca el tiempo de espera vinculado en la ruta de falla, y luego será encontrado y puesto en master gratis.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47123 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47123 changed 2026-08-04 | Public domain |