CVE-2021-47123
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 5.11 before 5.12.10, 5.13NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-415CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2021-47123 changed 2026-08-05CVE Terms of Use
NVDCVE-2021-47123 changed 2026-08-04Public domain