Bug 2322316 (CVE-2024-50081) - CVE-2024-50081 kernel: blk-mq: setup queue ->tag_set before initializing hctx
Summary: CVE-2024-50081 kernel: blk-mq: setup queue ->tag_set before initializing hctx
Keywords:
Status: NEW
Alias: CVE-2024-50081
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2322371
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-29 01:02 UTC by OSIDB Bzimport
Modified: 2025-05-13 08:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:6966 0 None None None 2025-05-13 08:32:01 UTC

Description OSIDB Bzimport 2024-10-29 01:02:00 UTC
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.

Comment 2 errata-xmlrpc 2025-05-13 08:32:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:6966 https://access.redhat.com/errata/RHSA-2025:6966


Note You need to log in before you can comment on or make changes to this bug.