CVE-2024-50081

blk-mq: setup queue ->tag_set before initializing hctx

State
Published
Severity
5.5 Medium
Published
Oct 29, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ff2d6ef107b1b1ec6b469073b4dda0dc744e343c to before 73d964ce4bc8b4de88a7c2e40df494f0d5cd8950Affected
  • dbd0829d2458d7292b82bfc9d02cce23935b198f to before 25466e5b4bb11a8415ce8d0be89ab77135f7e444Affected
  • 7b815817aa58d2e2101feb2fcf64c60cae0b2695 to before d28b256db525d9432bc3eb2c8d83f7d3f5e1cc87Affected
  • 7b815817aa58d2e2101feb2fcf64c60cae0b2695 to before c25c0c9035bb8b28c844dfddeda7b8bdbcfcae95Affected
LinuxLinux
  • 6.10Affected
  • before 6.10Not affected
  • 6.11.5 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.