Bug 2586562 (CVE-2026-139124) - CVE-2026-139124 kernel: kernel: Denial of Service via race condition in blk-mq timeout handler
Summary: CVE-2026-139124 kernel: kernel: Denial of Service via race condition in blk-m...
Keywords:
Status: NEW
Alias: CVE-2026-139124
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:26 UTC by OSIDB Bzimport
Modified: 2026-12-01 00:50 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:26:05 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.