{"id":"CVE-2025-40146","aliases":["CVE-2025-40146"],"related":[],"kind":"vulnerability","state":"published","title":"blk-mq: fix potential deadlock while nr_requests grown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: fix potential deadlock while nr_requests grown\n\nAllocate and free sched_tags while queue is freezed can deadlock[1],\nthis is a long term problem, hence allocate memory before freezing\nqueue and free memory after queue is unfreezed.\n\n[1] https://lore.kernel.org/all/0659ea8d-a463-47c8-9180-43c719e106eb@linux.ibm.com/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: fix potential deadlock while nr_requests grown\n\nAllocate and free sched_tags while queue is freezed can deadlock[1],\nthis is a long term problem, hence allocate memory before freezing\nqueue and free memory after queue is unfreezed.\n\n[1] https://lore.kernel.org/all/0659ea8d-a463-47c8-9180-43c719e106eb@linux.ibm.com/","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nblk-mq: solucionar un interbloqueo potencial mientras nr_requests crece\n\nAsignar y liberar sched_tags mientras la cola está congelada puede causar un interbloqueo[1], este es un problema a largo plazo, por lo tanto, asignar memoria antes de congelar la cola y liberar memoria después de que la cola sea descongelada.\n\n[1] https://lore.kernel.org/all/0659ea8d-a463-47c7-9180-43c719e106eb@linux.ibm.com/","source":"nvd"}],"published":"2025-11-12T10:23:26.287Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e3a2b3f931f59d5284abd13faf8bded726884ffd","fixed":"8d26acf8477174d8ef690eb6affe13a630f586ae","status":"affected"},{"type":"git","introduced":"e3a2b3f931f59d5284abd13faf8bded726884ffd","fixed":"b86433721f46d934940528f28d49c1dedb690df1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8d26acf8477174d8ef690eb6affe13a630f586ae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b86433721f46d934940528f28d49c1dedb690df1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40146","url":"https://www.cve.org/CVERecord?id=CVE-2025-40146","licence":"CVE Terms of Use","modified":"2026-05-11T21:43:37.672Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40146","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40146","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.554Z","epss":{"score":0.00241,"percentile":0.16377,"date":"2026-12-01T12:00:22.000Z"}}