9.8critical
nvme-tcp: fix possible use-after-free in transport error_recovery work
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.66% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: fix possible use-after-free in transport error_recovery work While nvme_tcp_submit_async_event_work is checking the ctrl and queue state before preparing the AER command and scheduling io_work, in order to fully prevent a race where this check is not reliable the error recovery work must flush async_event_work before continuing to destroy the admin queue after setting the ctrl state to RESETTING such that there is no race .submit_async_event and the error recovery handler itself changing the ctrl state.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 3f2304f8c6d6ed97849057bd16fee99e434ca796 before 61a26ffd5ad3ece456d74c4c79f7b5e3f440a141, from 3f2304f8c6d6ed97849057bd16fee99e434ca796 before e192184cf8bce8dd55d619f5611a2eaba996fa05, from 3f2304f8c6d6ed97849057bd16fee99e434ca796 before 5e42fca37ccc76f39f73732661bd47254cad5982, from 3f2304f8c6d6ed97849057bd16fee99e434ca796 before bb0d8fb35c4ff00a503c2c4dca4cce8d102a21c4, from 3f2304f8c6d6ed97849057bd16fee99e434ca796 before ff9fc7ebf5c06de1ef72a69f9b1ab40af8b07f9e, 5.0 Not affected: before 5.0, from 5.4.181 up to 5.4.*, from 5.10.102 up to 5.10.*, from 5.15.25 up to 5.15.*, from 5.16.11 up to 5.16.*, from 5.17 up to * | CVE List |
| linux linux_kernel | before 5.4.181, from 5.5 before 5.10.102, from 5.11 before 5.15.25, from 5.16 before 5.16.11 | NVD |
All scores
| Linux | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/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
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: nvme-tcp: fix possible use-after-free in transport error_recovery work While nvme_tcp_submit_async_event_work is checking the ctrl and queue state before preparing the AER command and scheduling io_work, in order to fully prevent a race where this check is not reliable the error recovery work must flush async_event_work before continuing to destroy the admin queue after setting the ctrl state to RESETTING such that there is no race .submit_async_event and the error recovery handler itself changing the ctrl state.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvme-tcp: soluciona el posible use-after-free en el transporte error_recovery work Mientras nvme_tcp_submit_async_event_work verifica el control y el estado de la cola antes de preparar el comando AER y programar io_work, para evitar completamente una ejecución donde esta verificación no es confiable, el trabajo de recuperación de errores debe eliminar async_event_work antes de continuar destruyendo la cola de administración después de configurar el estado de control en RESETTING de manera que no haya ejecución .submit_async_event y el propio controlador de recuperación de errores cambie el estado de control.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-48789 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2022-48789 changed 2026-08-04 | Public domain |