Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143025

dm-pcache: do not advance dirty_tail after backing flush failure

Description

In the Linux kernel, the following vulnerability has been resolved: dm-pcache: do not advance dirty_tail after backing flush failure After all writeback bios for a kset complete, writeback_ctx_end() flushes the backing device and then advances the persistent dirty_tail. However, backing_dev_flush() discards the error returned by blkdev_issue_flush(), so dirty_tail is advanced even when the written data is not known to be durable. dirty_tail points to the first kset that still requires writeback. Advancing it causes recovery to treat the preceding kset as clean and allows its cache copy to eventually be reclaimed by garbage collection. If the backing device flush failed, a subsequent power failure may therefore result in data loss. Make backing_dev_flush() return the flush status and handle a flush failure like a writeback I/O failure. Leave dirty_tail unchanged so that the same kset will be retried.

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

  • 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to < 6c674eb2ba966d1db238cf2ab421b2b05724f28caffected
  • 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to < 4b18793197878a0744b8d2ae5ef4878967a8c1b8affected
  • 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 to < b1310cb291935c788f34ed6eb1e7e9b42cfac045affected

Linux Linux

Default version status: affected

  • 6.18affected
  • 0 to < 6.18unaffected
  • 6.18.66 to ≤ 6.18.*unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc3 to ≤ *unaffected

References