# CVE-2024-50081: blk-mq: setup queue ->tag_set before initializing hctx

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-10-29T00:50:23.608Z
- Modified: 2026-06-17T08:03:32.090Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.10 before 6.11.5; 6.12

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/73d964ce4bc8b4de88a7c2e40df494f0d5cd8950>
- <https://git.kernel.org/stable/c/25466e5b4bb11a8415ce8d0be89ab77135f7e444>
- <https://git.kernel.org/stable/c/d28b256db525d9432bc3eb2c8d83f7d3f5e1cc87> (patch)
- <https://git.kernel.org/stable/c/c25c0c9035bb8b28c844dfddeda7b8bdbcfcae95> (patch)

## Sources

- CVE List: [CVE-2024-50081](https://www.cve.org/CVERecord?id=CVE-2024-50081), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50081](https://nvd.nist.gov/vuln/detail/CVE-2024-50081), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50081 · Whole record: https://cve.day/CVE-2024-50081.json · Rebuilt by cve.day 2026-11-25T22:58:47.447Z
