dm-pcache: clamp the tail kset read to the segment data region
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: 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.
From the CVE record · Linux
The dm-pcache tail-kset read can extend past the segment data region into the following control area. The input does not establish how an attacker could trigger this read, or whether network access, authentication, or user interaction is required.
Teams running Linux kernels with dm-pcache should check their installations; affected versions are not specified.