1. Archivio CVE
  2. 2026
  3. CVE-2026-43055

CVE-2026-43055

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

Descrizione

In the Linux kernel, the following vulnerability has been resolved: scsi: target: file: Use kzalloc_flex for aio_cmd The target_core_file doesn't initialize the aio_cmd->iocb for the ki_write_stream. When a write command fd_execute_rw_aio() is executed, we may get a bogus ki_write_stream value, causing unintended write failure status when checking iocb->ki_write_stream > max_write_streams in the block device. Let's just use kzalloc_flex when allocating the aio_cmd and let ki_write_stream=0 to fix this issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 6.16 < 6.18.22 –
linux linux kernel >= 6.19 < 6.19.12 –
linux linux kernel 7.0 rc1 –
linux linux kernel 7.0 rc2 –
linux linux kernel 7.0 rc3 –
linux linux kernel 7.0 rc4 –
linux linux kernel 7.0 rc5 –
Tutte le 24.148 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-457 Use of Uninitialized Variable

The code uses a variable that has not been initialized, leading to unpredictable or unintended results.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità, Altro Dipende dal contesto, Leggere i dati dell’applicazione
Disponibilità Alterare la logica di esecuzione, Stato imprevisto
Autorizzazione, Altro Dipende dal contesto

Come si previene

Sviluppo · Riduzione della superficie di attacco Ensure that critical variables are initialized before first use.
Build e compilazione · Hardening della compilazione Most compilers will complain about the use of uninitialized variables if warnings are turned on.
Sviluppo · Esercizio When using a language that does not require explicit declaration of variables, run or compile the software in a mode that reports undeclared or unknown variables. This may indicate the presence of a typographic error in the variable's name.
Requisiti · Scelta del linguaggio Choose a language that is not susceptible to these issues.
Architettura e progettazione Mitigating technologies such as safe string libraries and container abstractions could be introduced.

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

Tutte le 222 CVE di tipo CWE-457, con andamento e prevenzione

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