7.8

CVE-2022-50552: blk-mq: use quiesced elevator switch when reinitializing queues

Modified
AliasesUBUNTU-CVE-2022-50552DEBIAN-CVE-2022-50552
Published 07-10-2025Last modified 01-06-2026

Vulnerability summary

CVE-2022-50552 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 12

Timeline

  1. 07-10-2025
    PublishedVulnerability first disclosed.
  2. 01-06-2026
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.21% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu120 products
  • linuxAll versions (No fix recorded) | < 5.15.0-186.196
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ d48ece209f82c9ce07be942441b53d3fa3664936, < 0f90015383cd3f1128bebfbe7a97122d97808046 | ≥ d48ece209f82c9ce07be942441b53d3fa3664936, < 9646443f28f33ec545ae303e613c3f476fad4dc1 | ≥ d48ece209f82c9ce07be942441b53d3fa3664936, < 63a681bcc32a43528ce0f690569f7f48e59c3963 | ≥ d48ece209f82c9ce07be942441b53d3fa3664936, < c478b3b2900f1834cf9eda5bfef0d5696099505d | ≥ d48ece209f82c9ce07be942441b53d3fa3664936, < 8237c01f1696bc53c470493bf1fe092a107648a6 | 4.19
  • linux_kernel≥ 4.19, < 5.19.17 | ≥ 6.0, < 6.0.3
Debian1 product
  • linux< 6.0.3-1

3 vendors · 123 products

References

21 links
Show all 21 references