{"id":"CVE-2026-139124","aliases":["CVE-2026-139124"],"related":[],"kind":"vulnerability","state":"published","title":"blk-mq: don't bring back flags of a completed request","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: don't bring back flags of a completed request\n\nThe timeout handler sets and clears RQF_TIMED_OUT in a request it only\nholds a reference to, with a plain read-modify-write, while the\ncompletion clears flags in rq_flags the same way. If the two interleave,\nblk_mq_finish_request() runs twice with the flags back: the zone write\nplug reference is dropped twice and the scheduler's ->finish_request()\nis called again.\n\nChange RQF_TIMED_OUT with cmpxchg, so the handler never writes back a\nflag that changed under it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: don't bring back flags of a completed request\n\nThe timeout handler sets and clears RQF_TIMED_OUT in a request it only\nholds a reference to, with a plain read-modify-write, while the\ncompletion clears flags in rq_flags the same way. If the two interleave,\nblk_mq_finish_request() runs twice with the flags back: the zone write\nplug reference is dropped twice and the scheduler's ->finish_request()\nis called again.\n\nChange RQF_TIMED_OUT with cmpxchg, so the handler never writes back a\nflag that changed under it.","source":"cvelist"}],"published":"2026-11-30T13:31:48.170Z","modified":"2026-12-01T06:17:36.300Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"052e4c8987ee9bef8994cf9c9166e2c6759e0752","fixed":"6c681181a9adf301550d5539b52b07d0e13292ad","status":"affected"},{"type":"git","introduced":"e5c0ca13659e9d18f53368d651ed7e6e433ec1cf","fixed":"a41beacd62449f29337419f40967e0e63ef06b0b","status":"affected"},{"type":"git","introduced":"e5c0ca13659e9d18f53368d651ed7e6e433ec1cf","fixed":"5d1abbe56e767959389a14f9f894c7817b64bdca","status":"affected"},{"type":"git","introduced":"e5c0ca13659e9d18f53368d651ed7e6e433ec1cf","fixed":"01686e7fffa83df2b36707ef7df2484e984b8e3b","status":"affected"},{"type":"git","introduced":"e5c0ca13659e9d18f53368d651ed7e6e433ec1cf","fixed":"47947572ad14c01872b60e91084954e0b0ebcadb","status":"affected"},{"type":"git","introduced":"e5c0ca13659e9d18f53368d651ed7e6e433ec1cf","fixed":"9531230ee1fcb8eca2c9cbb9bf02651cbf798842","status":"affected"},{"type":"semver","introduced":"6.1.84","fixed":"6.1.193","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6c681181a9adf301550d5539b52b07d0e13292ad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a41beacd62449f29337419f40967e0e63ef06b0b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d1abbe56e767959389a14f9f894c7817b64bdca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01686e7fffa83df2b36707ef7df2484e984b8e3b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47947572ad14c01872b60e91084954e0b0ebcadb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9531230ee1fcb8eca2c9cbb9bf02651cbf798842","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139124","url":"https://www.cve.org/CVERecord?id=CVE-2026-139124","licence":"CVE Terms of Use","modified":"2026-12-01T05:41:24.258Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139124","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139124","licence":"Public domain","modified":"2026-12-01T06:17:36.300Z"}],"updatedAt":"2026-12-01T06:32:20.510Z","epss":{"score":0.00291,"percentile":0.23385,"date":"2026-12-01T12:00:22.000Z"}}