1. Archivio CVE
  2. 2024
  3. CVE-2024-50088

CVE-2024-50088

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: btrfs: fix uninitialized pointer free in add_inode_ref() The add_inode_ref() function does not initialize the "name" struct when it is declared. If any of the following calls to "read_one_inode() returns NULL, dir = read_one_inode(root, parent_objectid); if (!dir) { ret = -ENOENT; goto out; } inode = read_one_inode(root, inode_objectid); if (!inode) { ret = -EIO; goto out; } then "name.name" would be freed on "out" before being initialized. out: ... kfree(name.name); This issue was reported by Coverity with CID 1526744.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 6.1.57 < 6.1.114 –
linux linux kernel >= 6.2 < 6.6.58 –
linux linux kernel >= 6.7 < 6.11.5 –
linux linux kernel 6.12 rc1 –
linux linux kernel 6.12 rc2 –
linux linux kernel 6.12 rc3 –
Tutte le 24.148 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-824 Access of Uninitialized Pointer

The product accesses or uses a pointer that has not been initialized.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere la memoria
Disponibilità Interruzione del servizio: arresto o riavvio
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Tutte le 300 CVE di tipo CWE-824, con andamento e prevenzione

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