Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139127

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2e315dc07df009c3e29d6926871f62a30cfae394 to < 98b2dabb092e2ce8591d977b45efc47d665bd5feaffected
  • 2e315dc07df009c3e29d6926871f62a30cfae394 to < a1babfa5627cc95ae51d12aad8215d02ed3be444affected
  • 2e315dc07df009c3e29d6926871f62a30cfae394 to < ea7cddd9f8cadb075b9fc9cb40f62f9dae8e7ccdaffected
  • 2e315dc07df009c3e29d6926871f62a30cfae394 to < 60c6f63a062ccf84b27b997be11cf305c5a4ae33affected
  • 2e315dc07df009c3e29d6926871f62a30cfae394 to < 204a406cd53537cb89a75582c3264c471e842577affected
  • 2e315dc07df009c3e29d6926871f62a30cfae394 to < 67c43ceaa29e9b904216651697adf20445b219fcaffected
  • a3362ff0433b9cbd545c35baae59c5788b766e53affected
  • ea13467cf803a6a03652d1518ae8c14d07ce4eeeaffected
  • 0c0e6cd55d8762c8faaa7bd007905fffcc04c311affected
  • 5.10.50 to < 5.11affected
  • 5.12.17 to < 5.13affected
  • 5.13.2 to < 5.14affected

Linux Linux

Default version status: affected

  • 5.14affected
  • 0 to < 5.14unaffected
  • 6.1.193 to ≤ 6.1.*unaffected
  • 6.6.163 to ≤ 6.6.*unaffected
  • 6.12.119 to ≤ 6.12.*unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References