CVE-2022-50552 json
blk-mq: use quiesced elevator switch when reinitializing queues
published 2025-10-07 13 mo ago modified 2026-11-05 3 d ago also EUVD-2025-32006
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- Linux Linux 5.10.258, 5.15.209, 5.19.17, 6.0.3, 6.1
- linux Debian 14, Debian 13, Debian 12 6.0.3-1
debian advisories DEBIAN-CVE-2022-50552
- linux Ubuntu 22.04 LTS 5.15.0-186.196
- linux-aws Ubuntu 22.04 LTS 5.15.0-1112.119
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1112.122
- linux-gke Ubuntu 22.04 LTS 5.15.0-1108.114
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1106.110
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1104.109
- linux-azure Ubuntu 22.04 LTS 5.15.0-1117.126
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1095.103
ubuntu advisories UBUNTU-CVE-2022-50552
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/0f90015383cd3f1128bebfbe7a97122d97808046 commit
- git.kernel.org/stable/c/9646443f28f33ec545ae303e613c3f476fad4dc1 commit
- git.kernel.org/stable/c/63a681bcc32a43528ce0f690569f7f48e59c3963 commit
- git.kernel.org/stable/c/c478b3b2900f1834cf9eda5bfef0d5696099505d commit
- git.kernel.org/stable/c/8237c01f1696bc53c470493bf1fe092a107648a6 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50552 updated cvss 5.3
kernel: blk-mq: use quiesced elevator switch when reinitializing queues
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 d ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
- git.kernel.org /stable/c/0f90015383cd3f1128bebfbe7a97122d97808046
- git.kernel.org /stable/c/9646443f28f33ec545ae303e613c3f476fad4dc1
-
git.kernel.org
/stable/c/63a681bcc32a43528ce0f690569f7f48e59c3963
patch
-
git.kernel.org
/stable/c/c478b3b2900f1834cf9eda5bfef0d5696099505d
patch
-
git.kernel.org
/stable/c/8237c01f1696bc53c470493bf1fe092a107648a6
patch
Sources
- CVE List CVE-2022-50552
- NVD CVE-2022-50552
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.