PT-2025-46625 · Linux+3 · Linux Kernel+3

Publicado

2025-11-12

·

Atualizado

2026-04-20

·

CVE-2025-40150

CVSS v2.0

4.5

Média

VetorAV:L/AC:H/Au:S/C:N/I:P/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains a flaw within the f2fs filesystem related to segment migration. A race condition can occur during file allocation and garbage collection, specifically when a pinning file undergoes fallocate operations concurrently with block allocation. This can lead to inconsistencies between segment types in on-disk structures (SSA) and in-memory structures (SIT), potentially causing filesystem shutdown. The issue arises from fallocate potentially racing with block allocation, resulting in garbage collection migrating a segment that has just been allocated by a log. The inconsistency occurs when the on-disk SSA indicates a segment type that differs from the in-memory SIT. The fix involves checking for empty sections before garbage collection and adding sanity checks to do garbage collect() to prevent race conditions during segment migration. The functions involved include f2fs expand inode data, f2fs allocate pinning section, f2fs gc range, do garbage collect, f2fs allocate data block, and new curseg.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Allocation of Resources Without Limits

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2025-14947
CVE-2025-40150
USN-8029-1
USN-8029-2
USN-8029-3
USN-8030-1
USN-8048-1

Produtos afetados

Debian
Linuxmint
Linux Kernel
Ubuntu