dm-pcache: bound the persisted tail-position offset
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.507.2.47.3In 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.
From the CVE record · Linux
The Linux kernel's dm-pcache component does not bound a persisted segment offset read from a cache device. Someone who supplies the device and has CAP_SYS_ADMIN can cause a read past the segment data; no user interaction is described.
Operators running Linux with dm-pcache should check their kernels; affected versions are not specified.