CVE-2026-139127: block: don't lose the status of a failed flush request
In the Linux kernel, the following vulnerability has been resolved:
block: don't lose the status of a failed flush request
flushendio() stores the status in fq->rqstatus for whoever drops the last reference to finish the flush sequence. blkmqputrqref() calls it with BLKSTSOK 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.