Linux · Linux Kernel · CVE-2023-52497
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue is related to the erofs component in the Linux kernel, specifically with the lz4 inplace decompression. The problem arises because the LZ4 algorithm expects the compressed data to be arranged at the end of the decompressed buffer, but erofs typically maps two individual virtual buffers, making the relative order uncertain. This uncertainty can lead to data corruption, particularly on new Intel x86 processors with the FSRM feature, which exposes the issue with "rep movsb". The solution involves strictly using the decompressed buffer for lz4 inplace decompression.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.