5.5medium
nvme-fabrics: use reserved tag for reg read/write command
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: nvme-fabrics: use reserved tag for reg read/write command In some scenarios, if too many commands are issued by nvme command in the same time by user tasks, this may exhaust all tags of admin_q. If a reset (nvme reset or IO timeout) occurs before these commands finish, reconnect routine may fail to update nvme regs due to insufficient tags, which will cause kernel hang forever. In order to workaround this issue, maybe we can let reg_read32()/reg_read64()/reg_write32() use reserved tags. This maybe safe for nvmf: 1. For the disable ctrl path, we will not issue connect command 2. For the enable ctrl / fw activate path, since connect and reg_xx() are called serially. So the reserved tags may still be enough while reg_xx() use reserved tags.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e7832cb48a654cd12b2bc9181b2f0ad49d526ac6 before 2f07bdd363e95b71959d1ea1a7bca53c9e1f1efb, from e7832cb48a654cd12b2bc9181b2f0ad49d526ac6 before cc91c461cf3902993364ea85d8814ba7786c95b1, from e7832cb48a654cd12b2bc9181b2f0ad49d526ac6 before 165da9c67a26f08c9b956c15d701da7690f45bcb, from e7832cb48a654cd12b2bc9181b2f0ad49d526ac6 before 7dc3bfcb4c9cc58970fff6aaa48172cb224d85aa, 5.4 Not affected: before 5.4, from 6.1.191 up to 6.1.*, from 6.6.158 up to 6.6.*, from 6.9.11 up to 6.9.*, from 6.10 up to * | CVE List |
| linux linux_kernel | before 6.9.11, 6.10 | NVD |
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-fabrics: use reserved tag for reg read/write command In some scenarios, if too many commands are issued by nvme command in the same time by user tasks, this may exhaust all tags of admin_q. If a reset (nvme reset or IO timeout) occurs before these commands finish, reconnect routine may fail to update nvme regs due to insufficient tags, which will cause kernel hang forever. In order to workaround this issue, maybe we can let reg_read32()/reg_read64()/reg_write32() use reserved tags. This maybe safe for nvmf: 1. For the disable ctrl path, we will not issue connect command 2. For the enable ctrl / fw activate path, since connect and reg_xx() are called serially. So the reserved tags may still be enough while reg_xx() use reserved tags.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvme-fabrics: use etiqueta reservada para el comando de lectura/escritura de registro. En algunos escenarios, si el comando nvme emite demasiados comandos al mismo tiempo por las tareas del usuario, esto puede agotar todos etiquetas de admin_q. Si se produce un reinicio (reinicio de nvme o tiempo de espera de IO) antes de que finalicen estos comandos, es posible que la rutina de reconexión no actualice los registros de nvme debido a etiquetas insuficientes, lo que provocará que el kernel se cuelgue para siempre. Para solucionar este problema, tal vez podamos permitir que reg_read32()/reg_read64()/reg_write32() use etiquetas reservadas. Esto puede ser seguro para nvmf: 1. Para la ruta de activación ctrl/deshabilitar, no emitiremos el comando connect. 2. Para la ruta de activación ctrl/fw enable, ya que connect y reg_xx() se llaman en serie. Por lo tanto, las etiquetas reservadas pueden ser suficientes mientras reg_xx() usa etiquetas reservadas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41082 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2024-41082 changed 2026-10-30 | Public domain |