CVE-2024-46716
JSON

7.8high

dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor Remove list_del call in msgdma_chan_desc_cleanup, this should be the role of msgdma_free_descriptor. In consequence replace list_add_tail with list_move_tail in msgdma_free_descriptor. This fixes the path: msgdma_free_chan_resources -> msgdma_free_descriptors -> msgdma_free_desc_list -> msgdma_free_descriptor which does not correctly free the descriptors as first nodes were not removed from the list.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a85c6f1b2921cbd2f54666a52804f407c4a064fe before a3480e59fdbe5585d2d1eff0bed7671583acf725, from a85c6f1b2921cbd2f54666a52804f407c4a064fe before 20bf2920a869f9dbda0ef8c94c87d1901a64a716, from a85c6f1b2921cbd2f54666a52804f407c4a064fe before db67686676c7becc1910bf1d6d51505876821863, from a85c6f1b2921cbd2f54666a52804f407c4a064fe before 54e4ada1a4206f878e345ae01cf37347d803d1b1, 4.14
Not affected: before 4.14, from 6.1.109 up to 6.1.*, from 6.6.50 up to 6.6.*, from 6.10.9 up to 6.10.*, from 6.11 up to *
CVE List
linux linux_kernelbefore 6.1.109, from 6.2 before 6.6.50, from 6.7 before 6.10.9NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor Remove list_del call in msgdma_chan_desc_cleanup, this should be the role of msgdma_free_descriptor. In consequence replace list_add_tail with list_move_tail in msgdma_free_descriptor. This fixes the path: msgdma_free_chan_resources -> msgdma_free_descriptors -> msgdma_free_desc_list -> msgdma_free_descriptor which does not correctly free the descriptors as first nodes were not removed from the list.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dmaengine: altera-msgdma: liberar correctamente el descriptor en msgdma_free_descriptor Eliminar la llamada list_del en msgdma_chan_desc_cleanup, esta debería ser la función de msgdma_free_descriptor. En consecuencia, reemplace list_add_tail con list_move_tail en msgdma_free_descriptor. Esto corrige la ruta: msgdma_free_chan_resources -> msgdma_free_descriptors -> msgdma_free_desc_list -> msgdma_free_descriptor que no libera correctamente los descriptores ya que los primeros nodos no se eliminaron de la lista.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46716 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-46716 changed 2026-08-04Public domain