Linux
dm-pcache: clamp the tail kset read to the segment data region
In the Linux kernel, the following vulnerability has been resolved: dm-pcache: clamp the tail kset read to the segment data region The tail-kset read in cache_replay(), the writeback worker and the GC worker bounds its length by PCACHE_SEG_SIZE - seg_off, the raw segment size rather than the data region. A tail near the segment end reads past the segment data into the following control area. Clamp the read to cache_seg_remain(), the data region.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < 2cd9776fe3f2d88ec22c36d3c8ba09fbf9d5500c
- >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < 1ab55354368d071ebaee4d8c82313955eab65a04
- >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < becf07e2b0053027495ecd671b1f82fb2e615f68
Fixed in 2cd9776fe3f2d88ec22c36d3c8ba09fbf9d5500c, 1ab55354368d071ebaee4d8c82313955eab65a04, becf07e2b0053027495ecd671b1f82fb2e615f68
- 6.18
Fixed in 0, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to 2cd9776fe3f2d88ec22c36d3c8ba09fbf9d5500c or 1ab55354368d071ebaee4d8c82313955eab65a04 or becf07e2b0053027495ecd671b1f82fb2e615f68 or later.
Upgrade Linux to 0 or 6.18.50 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.