Linux
dm-pcache: bound the persisted tail-position offset
In the Linux kernel, the following vulnerability has been resolved: dm-pcache: bound the persisted tail-position offset cache_pos_decode() takes the persisted key_tail and dirty_tail seg_off from the cache device and addresses within the segment with it. A seg_off at or past the segment data_size, controllable by whoever supplies the device (CAP_SYS_ADMIN), reads past the segment data. Reject a decoded seg_off that is not below the segment data_size.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < ffd9a214a94f9928e54856f42b1cc3e33fb10e36
- >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < 8bf7a06ca3c1611809725f58cfd573f2ffbda75f
- >= 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0, < d1898576090a10d2ac2715218a652e78fb65a6b0
Fixed in ffd9a214a94f9928e54856f42b1cc3e33fb10e36, 8bf7a06ca3c1611809725f58cfd573f2ffbda75f, d1898576090a10d2ac2715218a652e78fb65a6b0
- 6.18
Fixed in 0, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to ffd9a214a94f9928e54856f42b1cc3e33fb10e36 or 8bf7a06ca3c1611809725f58cfd573f2ffbda75f or d1898576090a10d2ac2715218a652e78fb65a6b0 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.