# CVE-2025-40146: blk-mq: fix potential deadlock while nr_requests grown

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-11-12T10:23:26.287Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## 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/0659ea8d-a463-47c8-9180-43c719e106eb@linux.ibm.com/

(As written by CVE List.)

## Affected

- Linux Linux: from e3a2b3f931f59d5284abd13faf8bded726884ffd before 8d26acf8477174d8ef690eb6affe13a630f586ae; from e3a2b3f931f59d5284abd13faf8bded726884ffd before b86433721f46d934940528f28d49c1dedb690df1; 3.16 (not affected: before 3.16; from 6.17.3 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/8d26acf8477174d8ef690eb6affe13a630f586ae>
- <https://git.kernel.org/stable/c/b86433721f46d934940528f28d49c1dedb690df1>

## Sources

- CVE List: [CVE-2025-40146](https://www.cve.org/CVERecord?id=CVE-2025-40146), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40146](https://nvd.nist.gov/vuln/detail/CVE-2025-40146), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40146 · Whole record: https://cve.day/CVE-2025-40146.json · Rebuilt by cve.day 2026-11-25T22:59:07.554Z
