CVE-2025-39999 Details
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/[email protected]/
A vulnerability in the Linux kernel's block multi-queue (blk-mq) subsystem can lead to a double free error in tag management. This issue occurs when the number of request tags is increased through the queue's sysfs 'nr_requests' attribute. The 'sched_tags' for the hardware context (hctx) is freed and replaced with new tags. However, the new tags reference the already freed tags from the elevator's tag management, causing a kernel panic when the elevator is exited. The vulnerability has been addressed by ensuring that the elevator's tags are properly updated with new allocations, preventing the double free condition.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux Kernel Archive.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/392b1d64911f4de8887fe8b68299fa8bd6e5b923 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/8faee580d63bc2a54a59dcdb7f9ce4de29384fec | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ba28afbd9eff2a6370f23ef4e6a036ab0cfda409 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 15, 2025 | New CVE Received | kernel.org |
Volerion