Wiz Agents & Workflows are here

CVE-2023-52497
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52497 affects the Linux kernel's EROFS (Enhanced Read-Only File System) implementation, specifically related to LZ4 inplace decompression. The vulnerability was discovered in March 2024 and affects Linux kernel versions from 5.3 up to (excluding) 6.7.3. The issue occurs in the EROFS filesystem's handling of LZ4 compressed data decompression (NVD).

Technical details

The vulnerability stems from how EROFS handles compressed buffer mapping for inplace decompression. LZ4, like most LZ77 algorithms, expects compressed data to be arranged at the end of the decompressed buffer and uses memmove() for overlapping. While EROFS arranges compressed data correctly, it maps two individual virtual buffers where the relative order is uncertain. This issue became apparent with recent Intel x86 processors featuring the FSRM feature, which exposes the problem through 'rep movsb' instructions. The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H (NVD).

Impact

The vulnerability can lead to data corruption on systems using EROFS with LZ4 compression, particularly on newer Intel x86 processors with the FSRM feature. The CVSS scoring indicates potential impacts on data integrity (Low) and system availability (High), though there is no impact on confidentiality (NVD).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through a patch that modifies how EROFS handles LZ4 inplace decompression. The fix strictly uses the decompressed buffer for LZ4 inplace decompression. Various Linux distributions have released updates incorporating this fix, including Ubuntu and Debian. Users should update their systems to the patched versions (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23417N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-core
NoNoApr 02, 2026
CVE-2026-23415N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoApr 02, 2026
CVE-2026-23414N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra-matched
NoYesApr 02, 2026
CVE-2026-23413N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoYesApr 02, 2026
CVE-2026-23412N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management