dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor (Linux Linux)

CVE-2024-46716
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a85c6f1b2921cbd2f54666a52804f407c4a064fe < a3480e59fdbe5585d2d1eff0bed7671583acf725 ; affected a85c6f1b2921cbd2f54666a52804f407c4a064fe < 20bf2920a869f9dbda0ef8c94c87d1901a64a716 ; affected a85c6f1b2921cbd2f54666a52804f407c4a064fe < db67686676c7becc1910bf1d6d51505876821863 ; affected a85c6f1b2921cbd2f54666a52804f407c4a064fe < 54e4ada1a4206f878e345ae01cf37347d803d1b1
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 6.1.109 ≤ 6.1.* ; unaffected 6.6.50 ≤ 6.6.* ; unaffected 6.10.9 ≤ 6.10.* ; unaffected 6.11 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD