# CVE-2026-139124: blk-mq: don't bring back flags of a completed request

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:48.170Z
- Modified: 2026-12-01T06:17:36.300Z
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 052e4c8987ee9bef8994cf9c9166e2c6759e0752 before 6c681181a9adf301550d5539b52b07d0e13292ad; from e5c0ca13659e9d18f53368d651ed7e6e433ec1cf before a41beacd62449f29337419f40967e0e63ef06b0b; from e5c0ca13659e9d18f53368d651ed7e6e433ec1cf before 5d1abbe56e767959389a14f9f894c7817b64bdca; from e5c0ca13659e9d18f53368d651ed7e6e433ec1cf before 01686e7fffa83df2b36707ef7df2484e984b8e3b; from e5c0ca13659e9d18f53368d651ed7e6e433ec1cf before 47947572ad14c01872b60e91084954e0b0ebcadb; from e5c0ca13659e9d18f53368d651ed7e6e433ec1cf before 9531230ee1fcb8eca2c9cbb9bf02651cbf798842; from 6.1.84 before 6.1.193; 6.5 (not affected: before 6.5; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/6c681181a9adf301550d5539b52b07d0e13292ad>
- <https://git.kernel.org/stable/c/a41beacd62449f29337419f40967e0e63ef06b0b>
- <https://git.kernel.org/stable/c/5d1abbe56e767959389a14f9f894c7817b64bdca>
- <https://git.kernel.org/stable/c/01686e7fffa83df2b36707ef7df2484e984b8e3b>
- <https://git.kernel.org/stable/c/47947572ad14c01872b60e91084954e0b0ebcadb>
- <https://git.kernel.org/stable/c/9531230ee1fcb8eca2c9cbb9bf02651cbf798842>

## Sources

- CVE List: [CVE-2026-139124](https://www.cve.org/CVERecord?id=CVE-2026-139124), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139124](https://nvd.nist.gov/vuln/detail/CVE-2026-139124), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139124 · Whole record: https://cve.day/CVE-2026-139124.json · Rebuilt by cve.day 2026-12-01T06:32:20.510Z
