{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39999","id":"CVE-2025-39999","title":"blk-mq: fix blk_mq_tags double free while nr_requests grown","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: fix blk_mq_tags double free while nr_requests grown\n\nIn the case user trigger tags grow by queue sysfs attribute nr_requests,\nhctx->sched_tags will be freed directly and replaced with a new\nallocated tags, see blk_mq_tag_update_depth().\n\nThe problem is that hctx->sched_tags is from elevator->et->tags, while\net->tags is st","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: fix blk_mq_tags double free while nr_requests grown\n\nIn the case user trigger tags grow by queue sysfs attribute nr_requests,\nhctx->sched_tags will be freed directly and replaced with a new\nallocated tags, see blk_mq_tag_update_depth().\n\nThe problem is that hctx->sched_tags is from elevator->et->tags, while\net->tags is still the freed tags, hence later elevator exit will try to\nfree the tags again, causing kernel panic.\n\nFix this problem by replacing et->tags with new allocated tags as well.\n\nNoted there are still some long term problems that will require some\nrefactor to be fixed thoroughly[1].\n\n[1] https://lore.kernel.org/all/20250815080216.410665-1-yukuai1@huaweicloud.com/","published":"2025-10-15T07:58:23.038Z","updated":"2026-11-17T07:02:05.425444089Z","reserved":"2025-04-16T07:20:57.151Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"58567d8e95c096ad234963df90a2ca518901f4b6","lessThan":"8faee580d63bc2a54a59dcdb7f9ce4de29384fec","status":"affected","versionType":"git"},{"version":"f5a6604f7a4405450e4a1f54e5430f47290c500f","lessThan":"392b1d64911f4de8887fe8b68299fa8bd6e5b923","status":"affected","versionType":"git"},{"version":"f5a6604f7a4405450e4a1f54e5430f47290c500f","lessThan":"ba28afbd9eff2a6370f23ef4e6a036ab0cfda409","status":"affected","versionType":"git"},{"version":"6.16.4","lessThan":"6.16.11","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","status":"unaffected","versionType":"semver"},{"version":"6.16.11","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17.1","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8faee580d63bc2a54a59dcdb7f9ce4de29384fec","tags":["web"]},{"url":"https://git.kernel.org/stable/c/392b1d64911f4de8887fe8b68299fa8bd6e5b923","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ba28afbd9eff2a6370f23ef4e6a036ab0cfda409","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39999.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39999","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00197,"epssPercentile":0.09444,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39999","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39999","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39999","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39999","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}