PT-2024-11111 · Linux · Linux Kernel

Chao Yu

·

Published

2021-03-12

·

Updated

2025-01-08

·

CVE-2021-47007

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a panic that occurs during the f2fs resize fs() function in the Linux kernel. This happens when the filesystem is resized to a smaller size, and there is not enough space to store all valid blocks. The root cause is the failure to check for sufficient space in the resized filesystem before migrating blocks, leading to an out-of-space condition during block migration in free segment range(). The vulnerable function is f2fs resize fs(), and the affected code path includes allocate segment by default(), f2fs allocate data block(), do write page(), f2fs outplace write data(), f2fs do write data page(), move data page(), do garbage collect(), and free segment range().
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Improper Check for Exceptional Conditions

Weakness Enumeration

Related Identifiers

BDU:2025-06536
CVE-2021-47007

Affected Products

Linux Kernel