VDB

CVE-2022-50552

CVE-2022-50552 PUBLISHED

blk-mq: use quiesced elevator switch when reinitializing queues

Reported by linux · Published October 7, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.0.3, 5.19.17
LinuxLinuxc478b3b2900f1834cf9eda5bfef0d5696099505d, 9646443f28f33ec545ae303e613c3f476fad4dc1, 8237c01f1696bc53c470493bf1fe092a107648a6, 63a681bcc32a43528ce0f690569f7f48e59c3963, 0f90015383cd3f1128bebfbe7a97122d97808046

Affected products

VendorProductVersions
LinuxLinuxd48ece209f82c9ce07be942441b53d3fa3664936, d48ece209f82c9ce07be942441b53d3fa3664936, d48ece209f82c9ce07be942441b53d3fa3664936
LinuxLinux4.19, 0, 5.10.258
LinuxLinux6.1, 0, 5.10.258
linuxlinux_kernel4.19, 4.19, 4.19

Timeline

  • Oct 7, 2025 CVE Published
  • Oct 8, 2025 EPSS Score (30 in total, the first dated here)
  • May 22, 2026 Coalition ESS Score
  • Jun 2, 2026 Security Advisory (74 in total, the first dated here)
  • Oct 7, 2026 Distribution Patch (51 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-50552
vulnetix vdb fixes CVE-2022-50552

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-50552/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›