CVE-2025-40146
kernel: blk-mq: fix potential deadlock while nr_requests grown
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 12, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
blk-mq: fix potential deadlock while nr_requests grown
Allocate and free sched_tags while queue is freezed can deadlock[1], this is a long term problem, hence allocate memory before freezing queue and free memory after queue is unfreezed.
[1] https://lore.kernel.org/all/[email protected]/
Statement
The patch fixes a potential deadlock in the block multiqueue subsystem when growing nr_requests. Previously, allocation and freeing of scheduler tags occurred while the queue was frozen, leading to circular lock dependencies between freeze/unfreeze and tag updates. This bug could hang the system under heavy I/O but doesn’t allow privilege escalation - it’s a local kernel-level DoS with medium severity.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.2CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-833 · Deadlock