cvelo
P4 · InfoEPSS 0.3%

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

  • CVE-2026-139127
  • GHSA-vv63-w974-576j
  • EUVD-2026-138681

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.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run a version from 5.12.17 to before 5.13update to 5.13 or laterMinor version change: check the release notes
    • If you run a version from 5.10.50 to before 5.11update to 5.11 or laterMinor version change: check the release notes

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 5.12.17 to before 5.135.13
    from 5.10.50 to before 5.115.11
    from 5.13.2 to before 5.14none stated
    5.14none stated
    before 5.14: not affectednone stated
    from 6.1.193 up to 6.1.*: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.119 up to 6.12.*: not affectednone stated

    and 3 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.