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

Published Dec 3, 2026
·
Updated

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

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

After all writeback bios for a kset complete, writebackctxend() flushes the backing device and then advances the persistent dirtytail. However, backingdevflush() discards the error returned by blkdevissueflush(), so dirtytail is advanced even when the written data is not known to be durable.

dirtytail 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 backingdevflush() return the flush status and handle a flush failure like a writeback I/O failure. Leave dirtytail unchanged so that the same kset will be retried.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In dm-pcache, make backing_dev_flush() return the flush status and handle a backing-device flush failure like a writeback I/O failure: leave dirty_tail unchanged so the same kset is retried.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description

Frequently Asked Questions

1

Which systems are exposed to data loss from this issue?

Systems using the Linux kernel's dm-pcache device-mapper cache are exposed when a backing-device flush fails. Data loss requires a subsequent power failure after the failed flush causes dirty data to be incorrectly treated as clean.

2

What condition is needed for exploitation or impact?

This is a failure-handling issue rather than an attacker-driven condition described in the available data. The backing device must fail a flush after writeback I/O completes, and power must then fail before the data can be safely written again.

3

What happens if the flush failure is handled correctly?

The persistent dirty_tail remains unchanged, so the affected kset continues to require writeback and will be retried. This prevents recovery from treating data as durable when the backing-device flush did not succeed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203