CVE-2024-50081

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50081
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50081.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-50081
Downstream
Related
Published
2024-10-29T00:50:23Z
Modified
2025-10-15T16:45:14.734507Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
blk-mq: setup queue ->tag_set before initializing hctx
Details

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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7b815817aa58d2e2101feb2fcf64c60cae0b2695
Fixed
d28b256db525d9432bc3eb2c8d83f7d3f5e1cc87
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7b815817aa58d2e2101feb2fcf64c60cae0b2695
Fixed
c25c0c9035bb8b28c844dfddeda7b8bdbcfcae95

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2
v6.11.3
v6.11.4
v6.12-rc1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.11.5