1. Archivio CVE
  2. 2025
  3. CVE-2025-38579

CVE-2025-38579

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix KMSAN uninit-value in extent_info usage KMSAN reported a use of uninitialized value in `__is_extent_mergeable()` and `__is_back_mergeable()` via the read extent tree path. The root cause is that `get_read_extent_info()` only initializes three fields (`fofs`, `blk`, `len`) of `struct extent_info`, leaving the remaining fields uninitialized. This leads to undefined behavior when those fields are accessed later, especially during extent merging. Fix it by zero-initializing the `extent_info` struct before population.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 11.0 –
linux linux kernel >= 5.15 < 5.15.190 –
linux linux kernel >= 5.16 < 6.1.148 –
linux linux kernel >= 6.2 < 6.6.102 –
linux linux kernel >= 6.7 < 6.12.42 –
linux linux kernel >= 6.13 < 6.15.10 –
linux linux kernel >= 6.16 < 6.16.1 –
Tutte le 23.461 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-908 Uso di una risorsa non inizializzata

Il prodotto usa o accede a una risorsa che non è stata inizializzata.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere la memoria, Leggere i dati dell’applicazione
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità
Altro Stato imprevisto, Dipende dal contesto

Come si previene

Sviluppo Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
Sviluppo Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Sviluppo Avoid race conditions (CWE-362) during initialization routines.
Build e compilazione Run or compile the product with settings that generate warnings about uninitialized variables or data.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.024 CVE di tipo CWE-908, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org