CVE-2025-40146: blk-mq: fix potential deadlock while nr_requests grown
blk-mq: fix potential deadlock while nrrequests grown
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-aws-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1007.7~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1008.8~24.04.1 - Upgrade
Upgrade
ubuntu/linux-nvidia-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-oem-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1011.11 - Upgrade
Upgrade
ubuntu/linux-oracle-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1007.7~24.04.1 - Upgrade
Upgrade
ubuntu/linux-realtime-6.17to a version that resolves this vulnerability.Fixed in 6.17.0-1006.7~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 6.17.0-14.14 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 6.17.0-1007.7 - Upgrade
Upgrade
ubuntu/linux-raspito a version that resolves this vulnerability.Fixed in 6.17.0-1008.8 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 6.17.0-1006.7 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 6.17.0-14.14.1 - Compensating control
In blk-mq nr_requests growth handling, allocate sched_tags memory before freezing the queue and free the memory after the queue is unfrozen to avoid deadlock.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40146?
CVE-2025-40146 has been classified as a medium severity vulnerability affecting the Linux kernel.
How do I fix CVE-2025-40146?
To fix CVE-2025-40146, update your Linux kernel to the latest version where the vulnerability has been resolved.
What is the impact of CVE-2025-40146?
The impact of CVE-2025-40146 can lead to a potential deadlock scenario in the Linux kernel when managing IO requests.
Which versions of Linux kernel are affected by CVE-2025-40146?
CVE-2025-40146 affects multiple versions of the Linux kernel, specifically those prior to the patch being applied.
Is CVE-2025-40146 a critical vulnerability?
No, CVE-2025-40146 is not considered critical but poses risks that should be addressed promptly.