CVE-2022-49377
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
26/02/2025
Last modified:
25/03/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
blk-mq: don&#39;t touch ->tagset in blk_mq_get_sq_hctx<br />
<br />
blk_mq_run_hw_queues() could be run when there isn&#39;t queued request and<br />
after queue is cleaned up, at that time tagset is freed, because tagset<br />
lifetime is covered by driver, and often freed after blk_cleanup_queue()<br />
returns.<br />
<br />
So don&#39;t touch ->tagset for figuring out current default hctx by the mapping<br />
built in request queue, so use-after-free on tagset can be avoided. Meantime<br />
this way should be fast than retrieving mapping from tagset.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.12 (including) | 5.15.47 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.17.15 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.18 (including) | 5.18.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



