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

CVE-2023-53181

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

Descrizione

In the Linux kernel, the following vulnerability has been resolved: dma-buf/dma-resv: Stop leaking on krealloc() failure Currently dma_resv_get_fences() will leak the previously allocated array if the fence iteration got restarted and the krealloc_array() fails. Free the old array by hand, and make sure we still clear the returned *fences so the caller won't end up accessing freed memory. Some (but not all) of the callers of dma_resv_get_fences() seem to still trawl through the array even when dma_resv_get_fences() failed. And let's zero out *num_fences as well for good measure.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 5.16 < 6.1.42 –
linux linux kernel >= 6.2 < 6.4.7 –
linux linux kernel 6.5 rc1 –
linux linux kernel 6.5 rc2 –
Tutte le 24.085 vulnerabilità di Linux Kernel