Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.0CVE-2026-139124

blk-mq: don't bring back flags of a completed request

Published 30/11/2026 · Updated 01/12/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: blk-mq: don't bring back flags of a completed request The timeout handler sets and clears RQF_TIMED_OUT in a request it only holds a reference to, with a plain read-modify-write, while the completion clears flags in rq_flags the same way. If the two interleave, blk_mq_finish_request() runs twice with the flags back: the zone write plug reference is dropped twice and the scheduler's ->finish_request() is called again. Change RQF_TIMED_OUT with cmpxchg, so the handler never writes back a flag that changed under it.

Affected products and versions

Linux Linux052e4c8987ee9bef8994cf9c9166e2c6759e0752 – < 6c681181a9adf301550d5539b52b07d0e13292ad · e5c0ca13659e9d18f53368d651ed7e6e433ec1cf – < a41beacd62449f29337419f40967e0e63ef06b0b · e5c0ca13659e9d18f53368d651ed7e6e433ec1cf – < 5d1abbe56e767959389a14f9f894c7817b64bdca · e5c0ca13659e9d18f53368d651ed7e6e433ec1cf – < 01686e7fffa83df2b36707ef7df2484e984b8e3b · e5c0ca13659e9d18f53368d651ed7e6e433ec1cf – < 47947572ad14c01872b60e91084954e0b0ebcadb · e5c0ca13659e9d18f53368d651ed7e6e433ec1cf – < 9531230ee1fcb8eca2c9cbb9bf02651cbf798842 · 6.1.84 – < 6.1.193Fixed in: 6c681181a9adf301550d5539b52b07d0e13292ad · a41beacd62449f29337419f40967e0e63ef06b0b · 5d1abbe56e767959389a14f9f894c7817b64bdca · 01686e7fffa83df2b36707ef7df2484e984b8e3b · 47947572ad14c01872b60e91084954e0b0ebcadb · 9531230ee1fcb8eca2c9cbb9bf02651cbf798842 · 6.1.193
Linux Linux6.5Fixed in: 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.