All vulnerabilities

Servers and applications

CVE-2026-64017

blk-mq: pop cached request if it is usable

Severity
High 7.8
Published
19 Jul 2026
Last changed
30 Oct 2026
Added to UpHeron
30 Oct 2026
Fixed in
6.1.191, 6.6, 6.6.161, 6.12.104, 6.18.45, 7.0.11
Exploit chance
0.1% in the next 30 daysHigher than 2% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Use after free (CWE-416)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Sources
CVE Program

Description

In the Linux kernel, the following vulnerability has been resolved:

When submitting a bio to blk-mq, if the task should sleep after peeking a cached request, but before it pops it, the plug flushes and calls blk_mq_free_plug_rqs, freeing the cached_rqs. This creates a use-after-free bug. Fix this by popping the cached request before any possible blocking calls if it is suitable for use.

Popping this request first holds a queue reference, so avoid any serialization races with queue freezes and can safely proceed with dispatching that request to the driver. This potentially increases a timing window from when a driver wants to freeze its queue to when requests stop being dispatched. That scenario is off the fast path though, and drivers need to appropriately handle requests during a freeze request anyway.

The downside is the popped element needs to be individually freed when we performed a bio plug merge.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.0.11
  • From 6.13 before 6.18.45
  • From 6.12 before 6.12.104
  • From 6.7 before 6.1.191
All 8 release lines
  • From 6.1.72 before 6.1.191
  • From 6.2 before 6.6.161
  • From 6.5.13 before 6.6
  • From 6.6.3 before 6.6.161
  • From 6.7 before 6.1.191
  • From 6.12 before 6.12.104
  • From 6.13 before 6.18.45
  • From 6.19 before 7.0.11

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-64017