# CVE-2026-139127: block: don't lose the status of a failed flush request

- Severity: not scored yet
- 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.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-11-30T13:31:49.845Z
- Modified: 2026-11-30T14:18:26.150Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

block: don't lose the status of a failed flush request

flush_end_io() stores the status in fq->rq_status for whoever drops the
last reference to finish the flush sequence. blk_mq_put_rq_ref() calls
it with BLK_STS_OK from tag iterators and the timeout handler and
overwrites an error the real completion stored. With two extra
references, reading /sys/block/<disk>/inflight is enough for that, a
failed flush completes everything waiting on it with success and fsync()
lies to the application.

Only store a status that is an error.

(As written by CVE List.)

## Affected

- Linux Linux: from 2e315dc07df009c3e29d6926871f62a30cfae394 before 98b2dabb092e2ce8591d977b45efc47d665bd5fe; from 2e315dc07df009c3e29d6926871f62a30cfae394 before a1babfa5627cc95ae51d12aad8215d02ed3be444; from 2e315dc07df009c3e29d6926871f62a30cfae394 before ea7cddd9f8cadb075b9fc9cb40f62f9dae8e7ccd; from 2e315dc07df009c3e29d6926871f62a30cfae394 before 60c6f63a062ccf84b27b997be11cf305c5a4ae33; from 2e315dc07df009c3e29d6926871f62a30cfae394 before 204a406cd53537cb89a75582c3264c471e842577; from 2e315dc07df009c3e29d6926871f62a30cfae394 before 67c43ceaa29e9b904216651697adf20445b219fc; a3362ff0433b9cbd545c35baae59c5788b766e53; ea13467cf803a6a03652d1518ae8c14d07ce4eee; 0c0e6cd55d8762c8faaa7bd007905fffcc04c311; from 5.10.50 before 5.11; from 5.12.17 before 5.13; from 5.13.2 before 5.14; and 1 more (not affected: before 5.14; 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/98b2dabb092e2ce8591d977b45efc47d665bd5fe>
- <https://git.kernel.org/stable/c/a1babfa5627cc95ae51d12aad8215d02ed3be444>
- <https://git.kernel.org/stable/c/ea7cddd9f8cadb075b9fc9cb40f62f9dae8e7ccd>
- <https://git.kernel.org/stable/c/60c6f63a062ccf84b27b997be11cf305c5a4ae33>
- <https://git.kernel.org/stable/c/204a406cd53537cb89a75582c3264c471e842577>
- <https://git.kernel.org/stable/c/67c43ceaa29e9b904216651697adf20445b219fc>

## Sources

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

---

Page: https://cve.day/CVE-2026-139127 · Whole record: https://cve.day/CVE-2026-139127.json · Rebuilt by cve.day 2026-11-30T14:32:54.147Z
