Technical impact
A flaw in the erofs file system of the Linux kernel allows a stale cache entry to be reused without verifying that the mapping of the folio matches the mapping of the buffer. This incorrect reuse causes the kernel to read a wrong metadata mapping, resulting in the loss of shared extended attributes (xattrs) that use METABOX. The effect is a corruption of protected metadata and can lead to improper file system behavior, including data loss or denial of service. The vulnerability represents a flaw in resource validation and improper handling of cached data structures.
Affected Systems
The issue is present in all versions of the Linux kernel where the erofs file system supports metadata compression. No specific kernel release numbers are supplied, but any Linux distribution that includes the erofs driver and enables metadata compression is potentially affected. Linux kernel builds on x86, ARM, and other architectures that ship erofs are subject to the same bug.
Risk and Exploitability
The CVSS score is not disclosed and the EPSS score is unavailable, and the vulnerability is not listed in the CISA KEV catalog. No public exploitation is known, but the flaw can be triggered when compressed metadata is accessed via a cached folio. The likely attack vector is local, requiring the attacker to manipulate or observe erofs operations, though a remote attack that can influence erofs metadata handling might also be possible on systems exposed to untrusted users. The impact is limited to metadata integrity and could lead to a denial of service if critical xattrs are lost, but it does not immediately provide arbitrary code execution.