{"id":"CVE-2026-139127","aliases":["CVE-2026-139127"],"related":[],"kind":"vulnerability","state":"published","title":"block: don't lose the status of a failed flush request","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: don't lose the status of a failed flush request\n\nflush_end_io() stores the status in fq->rq_status for whoever drops the\nlast reference to finish the flush sequence. blk_mq_put_rq_ref() calls\nit with BLK_STS_OK from tag iterators and the timeout handler and\noverwrites an error the real completion stored. With two extra\nreferences, reading /sys/block/<disk>/inflight is enough for that, a\nfailed flush completes everything waiting on it with success and fsync()\nlies to the application.\n\nOnly store a status that is an error.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: don't lose the status of a failed flush request\n\nflush_end_io() stores the status in fq->rq_status for whoever drops the\nlast reference to finish the flush sequence. blk_mq_put_rq_ref() calls\nit with BLK_STS_OK from tag iterators and the timeout handler and\noverwrites an error the real completion stored. With two extra\nreferences, reading /sys/block/<disk>/inflight is enough for that, a\nfailed flush completes everything waiting on it with success and fsync()\nlies to the application.\n\nOnly store a status that is an error.","source":"cvelist"}],"published":"2026-11-30T13:31:49.845Z","modified":"2026-11-30T14:18:26.150Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2e315dc07df009c3e29d6926871f62a30cfae394","fixed":"98b2dabb092e2ce8591d977b45efc47d665bd5fe","status":"affected"},{"type":"git","introduced":"2e315dc07df009c3e29d6926871f62a30cfae394","fixed":"a1babfa5627cc95ae51d12aad8215d02ed3be444","status":"affected"},{"type":"git","introduced":"2e315dc07df009c3e29d6926871f62a30cfae394","fixed":"ea7cddd9f8cadb075b9fc9cb40f62f9dae8e7ccd","status":"affected"},{"type":"git","introduced":"2e315dc07df009c3e29d6926871f62a30cfae394","fixed":"60c6f63a062ccf84b27b997be11cf305c5a4ae33","status":"affected"},{"type":"git","introduced":"2e315dc07df009c3e29d6926871f62a30cfae394","fixed":"204a406cd53537cb89a75582c3264c471e842577","status":"affected"},{"type":"git","introduced":"2e315dc07df009c3e29d6926871f62a30cfae394","fixed":"67c43ceaa29e9b904216651697adf20445b219fc","status":"affected"},{"type":"git","version":"a3362ff0433b9cbd545c35baae59c5788b766e53","status":"affected"},{"type":"git","version":"ea13467cf803a6a03652d1518ae8c14d07ce4eee","status":"affected"},{"type":"git","version":"0c0e6cd55d8762c8faaa7bd007905fffcc04c311","status":"affected"},{"type":"semver","introduced":"5.10.50","fixed":"5.11","status":"affected"},{"type":"semver","introduced":"5.12.17","fixed":"5.13","status":"affected"},{"type":"semver","introduced":"5.13.2","fixed":"5.14","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","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/98b2dabb092e2ce8591d977b45efc47d665bd5fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1babfa5627cc95ae51d12aad8215d02ed3be444","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea7cddd9f8cadb075b9fc9cb40f62f9dae8e7ccd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60c6f63a062ccf84b27b997be11cf305c5a4ae33","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/204a406cd53537cb89a75582c3264c471e842577","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67c43ceaa29e9b904216651697adf20445b219fc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139127","url":"https://www.cve.org/CVERecord?id=CVE-2026-139127","licence":"CVE Terms of Use","modified":"2026-11-30T13:31:49.845Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139127","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139127","licence":"Public domain","modified":"2026-11-30T14:18:26.150Z"}],"updatedAt":"2026-11-30T14:32:54.147Z","epss":{"score":0.00318,"percentile":0.26706,"date":"2026-12-01T12:00:22.000Z"}}