{"id":71724,"date":"2025-10-15T11:45:38","date_gmt":"2025-10-15T08:15:38","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-39999-blk-mq-fix-blk_mq_tags-double-free-while-nr_requests-grown\/"},"modified":"2025-10-15T11:45:38","modified_gmt":"2025-10-15T08:15:38","slug":"cve-2025-39999-blk-mq-fix-blk_mq_tags-double-free-while-nr_requests-grown","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-39999-blk-mq-fix-blk_mq_tags-double-free-while-nr_requests-grown\/","title":{"rendered":"CVE-2025-39999 &#8211; blk-mq: fix blk_mq_tags double free while nr_requests grown"},"content":{"rendered":"<p>CVE ID : CVE-2025-39999<\/p>\n<p>Published :  Oct. 15, 2025, 8:15 a.m. | 24\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>blk-mq: fix blk_mq_tags double free while nr_requests grown<\/p>\n<p>In the case user trigger tags grow by queue sysfs attribute nr_requests,<br \/>\nhctx-&gt;sched_tags will be freed directly and replaced with a new<br \/>\nallocated tags, see blk_mq_tag_update_depth().<\/p>\n<p>The problem is that hctx-&gt;sched_tags is from elevator-&gt;et-&gt;tags, while<br \/>\net-&gt;tags is still the freed tags, hence later elevator exit will try to<br \/>\nfree the tags again, causing kernel panic.<\/p>\n<p>Fix this problem by replacing et-&gt;tags with new allocated tags as well.<\/p>\n<p>Noted there are still some long term problems that will require some<br \/>\nrefactor to be fixed thoroughly[1].<\/p>\n[1] https:\/\/lore.kernel.org\/all\/20250815080216.410665-1-yukuai1@huaweicloud.com\/<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-39999 Published : Oct. 15, 2025, 8:15 a.m. | 24\u00a0minutes ago 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-&gt;sched_tags will be freed directly and replaced with a &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-71724","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=71724"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71724\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=71724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=71724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=71724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}