CVE-2024-46716: dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor

Published Sep 18, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: altera-msgdma: properly free descriptor in msgdmafreedescriptor

Remove listdel call in msgdmachandesccleanup, this should be the role of msgdmafreedescriptor. In consequence replace listaddtail with listmovetail in msgdmafreedescriptor.

This fixes the path: msgdmafreechanresources -> msgdmafreedescriptors -> msgdmafreedesclist -> msgdmafreedescriptor

which does not correctly free the descriptors as first nodes were not removed from the list.

Affected Software

5 affected componentsFixes available
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-1
debian/linux-6.1
6.1.129-1~deb11u1
Linux Linux kernel<6.1.109
Linux Linux kernel>=6.2<6.6.50
Linux Linux kernel>=6.7<6.10.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1
  3. Configuration

    In dmaengine/altera-msgdma, in msgdma_free_descriptor replace list_add_tail with list_move_tail.

    Linux kernel (dmaengine: altera-msgdma) Use list_move_tail instead of list_add_tail in msgdma_free_descriptor = list_move_tail (replace list_add_tail)
  4. Configuration

    In dmaengine/altera-msgdma, remove the list_del call in msgdma_chan_desc_cleanup, so descriptor removal/freeing is handled by msgdma_free_descriptor.

    Linux kernel (dmaengine: altera-msgdma) Remove list_del call in msgdma_chan_desc_cleanup = remove list_del call

Event History

Sep 18, 2024
CVE Published
via MITRE·06:32 AM
Data Sourced
via MITRE·06:32 AM
DescriptionSeverity
Data Sourced
via NVD·07:15 AM
Description
Data Sourced
via NVD·07:15 AM
RemedySeverityWeaknessAffected Software
Apr 27, 2025
Data Sourced
via Ubuntu·08:37 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46716?

CVE-2024-46716 is classified as a moderate severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2024-46716?

To fix CVE-2024-46716, ensure your Linux kernel is updated to versions 6.1.123-1, 6.1.119-1, 6.12.9-1, or 6.12.10-1.

3

Which systems are affected by CVE-2024-46716?

CVE-2024-46716 affects Debian Linux packages such as linux and linux-6.1.

4

What type of vulnerability is CVE-2024-46716?

CVE-2024-46716 is a memory management issue related to descriptor handling in the dmaengine of the Linux kernel.

5

Is there a workaround for CVE-2024-46716?

There are no known workarounds for CVE-2024-46716; applying the appropriate updates is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203