CVE-2022-50554
Last modified
CVE-2022-50554 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: blk-mq: avoid double ->queue_rq() because of early timeout David Jeffery found one double ->queue_rq() 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 blk_mq_start_request() during ->queue_rq(), then timeout handler may handle it by requeue, then double ->queue_rq() 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 ->queue_rq() for solving this issue.. EPSS estimates a 0.18% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: blk-mq: avoid double ->queue_rq() because of early timeout David Jeffery found one double ->queue_rq() 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 blk_mq_start_request() during ->queue_rq(), then timeout handler may handle it by requeue, then double ->queue_rq() 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 ->queue_rq() for solving this issue.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.18, < 6.0.16 |
| Linux | Linux Kernel | >= 6.1, < 6.1.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-50554?
How severe is CVE-2022-50554?
How do I fix CVE-2022-50554?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50548In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50549In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50550In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50551In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-50552In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50553In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50555In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50556In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50557In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50558In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50559In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50560In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2022-50554?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
