CVE-2025-39999
blk-mq: fix blk_mq_tags double free while nr_requests grown
Mitigation
- Upgrade Linux to 6.16.11 or later.
Who should check
- Anyone running Linux >= 58567d8e95c096ad234963df90a2ca518901f4b6, < 8faee580d63bc2a54a59dcdb7f9ce4de29384fec; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < 392b1d64911f4de8887fe8b68299fa8bd6e5b923; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < ba28afbd9eff2a6370f23ef4e6a036ab0cfda409; >= 6.16.4, < 6.16.11
- Anyone running Linux 6.17
Vulnerability facts
- Affected
- Linux >= 58567d8e95c096ad234963df90a2ca518901f4b6, < 8faee580d63bc2a54a59dcdb7f9ce4de29384fec; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < 392b1d64911f4de8887fe8b68299fa8bd6e5b923; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < ba28afbd9eff2a6370f23ef4e6a036ab0cfda409; >= 6.16.4, < 6.16.11; Linux 6.17
- Fixed in
- Linux 8faee580d63bc2a54a59dcdb7f9ce4de29384fec, Linux 392b1d64911f4de8887fe8b68299fa8bd6e5b923, Linux 6.16.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.27% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: blk-mq: fix blk_mq_tags double free while nr_requests grown In the case user trigger tags grow by queue sysfs attribute nr_requests, hctx->sched_tags will be freed directly and replaced with a new allocated tags, see blk_mq_tag_update_depth(). The problem is that hctx->sched_tags is from elevator->et->tags, while et->tags is still the freed tags, hence later elevator exit will try to free the tags again, causing kernel panic. Fix this problem by replacing et->tags with new allocated tags as well. Noted there are still some long term problems that will require some refactor to be fixed thoroughly[1]. [1] https://lore.kernel.org/all/20250815080216.410665-1-yukuai1@huaweicloud.com/
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 58567d8e95c096ad234963df90a2ca518901f4b6, < 8faee580d63bc2a54a59dcdb7f9ce4de29384fec; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < 392b1d64911f4de8887fe8b68299fa8bd6e5b923; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < ba28afbd9eff2a6370f23ef4e6a036ab0cfda409; >= 6.16.4, < 6.16.11 | — | cvelist |
| Linux | 6.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-39999. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-39999.md Affected: Linux >= 58567d8e95c096ad234963df90a2ca518901f4b6, < 8faee580d63bc2a54a59dcdb7f9ce4de29384fec; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < 392b1d64911f4de8887fe8b68299fa8bd6e5b923; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < ba28afbd9eff2a6370f23ef4e6a036ab0cfda409; >= 6.16.4, < 6.16.11; Linu… Fixed in: Linux 8faee580d63bc2a54a59dcdb7f9ce4de29384fec, Linux 392b1d64911f4de8887fe8b68299fa8bd6e5b923, Linux 6.16.11 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-39999 being exploited?
There is no confirmed exploitation: CVE-2025-39999 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-39999?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-39999?
Linux >= 58567d8e95c096ad234963df90a2ca518901f4b6, < 8faee580d63bc2a54a59dcdb7f9ce4de29384fec; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < 392b1d64911f4de8887fe8b68299fa8bd6e5b923; >= f5a6604f7a4405450e4a1f54e5430f47290c500f, < ba28afbd9eff2a6370f23ef4e6a036ab0cfda409; >= 6.16.4, < 6.16.11; Linux 6.17.
Is there a fix for CVE-2025-39999?
Yes. Fixed in Linux 8faee580d63bc2a54a59dcdb7f9ce4de29384fec, Linux 392b1d64911f4de8887fe8b68299fa8bd6e5b923, Linux 6.16.11. Upgrade Linux to 6.16.11 or later.
How do I check if I'm affected by CVE-2025-39999?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.