Skip to main content
Network Thinking Solutions Logo

CVE-2022-50552

Linux kernel: blk-mq: use quiesced elevator switch when reinitializing queues

All CVEs
CVE-2022-50552Published 10/7/2025

Linux kernel: blk-mq: use quiesced elevator switch when reinitializing queues

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: blk-mq: use quiesced elevator switch when reinitializing queues The hctx's run_work may be racing with the elevator switch when reinitializing hardware queues. The queue is merely frozen in this context, but that only prevents requests from allocating and doesn't stop the hctx work from running. The work may get an elevator pointer that's being torn down, and can result in use-after-free errors and kernel panics (example below). Use the quiesced elevator switch instead, and make the previous one static since it is now only used locally. nvme nvme0: resetting controller nvme nvme0: 32/0/0 default/read/poll queues BUG: kernel NULL pointer dereference, address: 0000000000000008 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 80000020c8861067 P4D 80000020c8861067 PUD 250f8c8067 PMD 0 Oops: 0000 [#1] SMP PTI Workqueue: kblockd blk_mq_run_work_fn RIP: 0010:kyber_has_work+0x29/0x70 ... Call Trace: __blk_mq_do_dispatch_sched+0x83/0x2b0 __blk_mq_sched_dispatch_requests+0x12e/0x170 blk_mq_sched_dispatch_requests+0x30/0x60 __blk_mq_run_hw_queue+0x2b/0x50 process_one_work+0x1ef/0x380 worker_thread+0x2d/0x3e0

Published
10/7/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.19, < 5.19.17

Verify advisory

Source
linux kernel
linux
≥ 6.0, < 6.0.3

Verify advisory

Source
Linux
Linux
≥ d48ece209f82c9ce07be942441b53d3fa3664936, < 0f90015383cd3f1128bebfbe7a97122d97808046

Verify advisory

Source
Linux
Linux
≥ d48ece209f82c9ce07be942441b53d3fa3664936, < 9646443f28f33ec545ae303e613c3f476fad4dc1

Verify advisory

Source
Linux
Linux
≥ d48ece209f82c9ce07be942441b53d3fa3664936, < 63a681bcc32a43528ce0f690569f7f48e59c3963

Verify advisory

Source
Linux
Linux
≥ d48ece209f82c9ce07be942441b53d3fa3664936, < c478b3b2900f1834cf9eda5bfef0d5696099505d

Verify advisory

Source
Linux
Linux
≥ d48ece209f82c9ce07be942441b53d3fa3664936, < 8237c01f1696bc53c470493bf1fe092a107648a6

Verify advisory

Source
Linux
Linux
4.19

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.