1. Archivio CVE
  2. 2023
  3. CVE-2023-54050

CVE-2023-54050

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: ubifs: Fix memleak when insert_old_idx() failed Following process will cause a memleak for copied up znode: dirty_cow_znode zn = copy_znode(c, znode); err = insert_old_idx(c, zbr->lnum, zbr->offs); if (unlikely(err)) return ERR_PTR(err); // No one refers to zn. Fetch a reproducer in [Link]. Function copy_znode() is split into 2 parts: resource allocation and znode replacement, insert_old_idx() is split in similar way, so resource cleanup could be done in error handling path without corrupting metadata(mem & disk). It's okay that old index inserting is put behind of add_idx_dirt(), old index is used in layout_leb_in_gaps(), so the two processes do not depend on each other.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 2.6.27 < 4.19.283 –
linux linux kernel >= 2.6.27 < 5.4.243 –
linux linux kernel >= 2.6.27 < 5.10.180 –
linux linux kernel >= 2.6.27 < 5.15.111 –
linux linux kernel >= 2.6.27 < 6.1.28 –
linux linux kernel >= 2.6.27 < 6.2.15 –
linux linux kernel >= 2.6.27 < 6.3.2 –
linux linux kernel >= 2.6.27 < 6.4 –
Tutte le 24.085 vulnerabilità di Linux Kernel