CVE-2024-50081

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

Medium · published October 29, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
10.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00206 · 10.1th percentile
Published
2024-10-29T00:50Z
EPSS history
Timeline
  • 29 OCT 00:50Z
    blk-mq: setup queue ->tag_set before initializing hctx
    cvelistv5