Linux Kernel EROFS Missing Unmap Vulnerability in Compressed Length Handling

Vulnerability

A vulnerability in the Linux kernel's EROFS (Enhanced Read-Only File System) component has been addressed. The issue arose because the function responsible for retrieving the compressed length of extents could fail, leading to a situation where metadata buffers were not properly unmapped, causing potential leaks. This vulnerability affects the stable versions of the Linux kernel.

Impact

The vulnerability could lead to memory leaks by not properly unmapping metadata buffers, allowing for the possibility of increased memory usage or exhaustion.

Reproduction

The vulnerability can be reproduced by using the EROFS file system and triggering a failure in the 'z_erofs_get_extent_compressedlen' function while mapping blocks. This failure can be simulated by manipulating the conditions under which the function operates, causing it to return an error without the corresponding metadata buffer being unmapped.

Remediation

Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been fixed.

Added: Dec 30, 2025, 6:02 PM
Updated: Dec 30, 2025, 6:02 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
1.8
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.