5.5medium
blk-mq: setup queue ->tag_set before initializing hctx
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: blk-mq: setup queue ->tag_set before initializing hctx Commit 7b815817aa58 ("blk-mq: add helper for checking if one CPU is mapped to specified hctx") needs to check queue mapping via tag set in hctx's cpuhp handler. However, q->tag_set may not be setup yet when the cpuhp handler is enabled, then kernel oops is triggered. Fix the issue by setup queue tag_set before initializing hctx.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ff2d6ef107b1b1ec6b469073b4dda0dc744e343c before 73d964ce4bc8b4de88a7c2e40df494f0d5cd8950, from dbd0829d2458d7292b82bfc9d02cce23935b198f before 25466e5b4bb11a8415ce8d0be89ab77135f7e444, from 7b815817aa58d2e2101feb2fcf64c60cae0b2695 before d28b256db525d9432bc3eb2c8d83f7d3f5e1cc87, from 7b815817aa58d2e2101feb2fcf64c60cae0b2695 before c25c0c9035bb8b28c844dfddeda7b8bdbcfcae95, 6.10 Not affected: before 6.10, from 6.11.5 up to 6.11.*, from 6.12 up to * | CVE List |
| linux linux_kernel | from 6.10 before 6.11.5, 6.12 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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: blk-mq: setup queue ->tag_set before initializing hctx Commit 7b815817aa58 ("blk-mq: add helper for checking if one CPU is mapped to specified hctx") needs to check queue mapping via tag set in hctx's cpuhp handler. However, q->tag_set may not be setup yet when the cpuhp handler is enabled, then kernel oops is triggered. Fix the issue by setup queue tag_set before initializing hctx.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: blk-mq: configurar queue ->tag_set antes de inicializar hctx el commit 7b815817aa58 ("blk-mq: agregar asistente para verificar si una CPU está asignada a hctx especificado") necesita verificar la asignación de cola a través del conjunto de etiquetas en el controlador cpuhp de hctx. Sin embargo, es posible que q->tag_set aún no esté configurado cuando el controlador cpuhp está habilitado, luego se activa el error del kernel. Solucione el problema configurando queue tag_set antes de inicializar hctx.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50081 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-50081 changed 2026-06-17 | Public domain |