CVE-2022-50554: blk-mq: avoid double ->queue_rq() because of early timeout

Published Oct 7, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

blk-mq: avoid double ->queuerq() because of early timeout

David Jeffery found one double ->queuerq() issue, so far it can be triggered in VM use case because of long vmexit latency or preempt latency of vCPU pthread or long page fault in vCPU pthread, then block IO req could be timed out before queuing the request to hardware but after calling blkmqstartrequest() during ->queuerq(), then timeout handler may handle it by requeue, then double ->queuerq() is caused, and kernel panic.

So far, it is driver's responsibility to cover the race between timeout and completion, so it seems supposed to be solved in driver in theory, given driver has enough knowledge.

But it is really one common problem, lots of driver could have similar issue, and could be hard to fix all affected drivers, even it isn't easy for driver to handle the race. So David suggests this patch by draining in-progress ->queuerq() for solving this issue.

Affected Software

3 affected components
Linux Kernel
Linux Linux kernel>=4.18<6.0.16
Linux Linux kernel>=6.1<6.1.2

Event History

Oct 7, 2025
CVE Published
via MITRE·03:21 PM
Data Sourced
via MITRE·03:21 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50554?

CVE-2022-50554 has been classified as having a medium severity level due to the potential for performance degradation in VM environments.

2

How do I fix CVE-2022-50554?

To fix CVE-2022-50554, update your Linux kernel to the latest version where this vulnerability has been resolved.

3

What systems are affected by CVE-2022-50554?

CVE-2022-50554 affects systems running the Linux kernel, particularly in virtual machine use cases.

4

What is the impact of CVE-2022-50554?

The impact of CVE-2022-50554 includes potential performance issues due to double queue requests under certain conditions.

5

Who discovered CVE-2022-50554?

CVE-2022-50554 was discovered by David Jeffery while investigating the Linux kernel's blk-mq implementation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203