Technical impact
The Linux kernel has a logic flaw in the dm_accept_partial_bio function where the I/O sectors count is set incorrectly, causing writes to be misaccounted. This bug results in data corruption when the dm-writecache target operates in pmem mode, leading to filesystem corruption during mkfs or fsck operations.
Affected Systems
All Linux kernel versions that include the commit 7dd76d1feec7 and prior to the fix introduced in commit 8b211aaccb91 are affected. The flaw manifests only when dm-writecache operates in pmem mode; other dm targets remain unaffected.
Risk and Exploitability
The vulnerability is likely local, requiring write access to the dm-writecache device in pmem mode. An attacker with such privileges can trigger data corruption, potentially causing loss of critical information. There are no publicly available exploitation scripts, the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, but the impact of data loss warrants immediate attention.