CVE-2026-139124

high

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.

References

https://git.kernel.org/stable/c/a41beacd62449f29337419f40967e0e63ef06b0b

https://git.kernel.org/stable/c/9531230ee1fcb8eca2c9cbb9bf02651cbf798842

https://git.kernel.org/stable/c/6c681181a9adf301550d5539b52b07d0e13292ad

https://git.kernel.org/stable/c/5d1abbe56e767959389a14f9f894c7817b64bdca

https://git.kernel.org/stable/c/47947572ad14c01872b60e91084954e0b0ebcadb

https://git.kernel.org/stable/c/01686e7fffa83df2b36707ef7df2484e984b8e3b

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138678

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-12-01

Risk Information

CVSS v2

Base Score: 6.3

Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7

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

Severity: High