CVE-2024-38629: dmaengine: idxd: Avoid unnecessary destruction of file_ida

Published Jun 21, 2024
·
Updated

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

dmaengine: idxd: Avoid unnecessary destruction of fileida

fileida is allocated during cdev open and is freed accordingly during cdev release. This sequence is guaranteed by driver file operations. Therefore, there is no need to destroy an already empty fileida when the WQ cdev is removed.

Worse, idafree() in cdev release may happen after destruction of fileida per WQ cdev. This can lead to accessing an id in fileida after it has been destroyed, resulting in a kernel panic.

Remove idadestroy(&fileida) to address these issues.

Other sources

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

dmaengine: idxd: Avoid unnecessary destruction of fileida

The Linux kernel CVE team has assigned CVE-2024-38629 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024062141-CVE-2024-38629-47c6@gregkh/T

Red Hat

Affected Software

6 affected componentsFixes available
redhat/kernel<6.6.33
6.6.33
redhat/kernel<6.9.4
6.9.4
redhat/kernel<6.10
6.10
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
Linux Linux kernel>=6.4<6.6.33
Linux Linux kernel>=6.7<6.9.4

Event History

Jun 21, 2024
CVE Published
via MITRE·10:18 AM
Data Sourced
via MITRE·10:18 AM
Description
Data Sourced
via NVD·11:15 AM
Description
Data Sourced
via NVD·11:15 AM
RemedySeverityWeaknessAffected Software
Sep 11, 2024
Data Sourced
via Launchpad·04:24 PM
Description
Nov 30, 2024
Data Sourced
via Ubuntu·04:42 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38629?

CVE-2024-38629 has not been assigned a specific CVSS score but addresses a low-risk issue in the Linux kernel's dmaengine.

2

How do I fix CVE-2024-38629?

To fix CVE-2024-38629, update the kernel to version 6.6.33 or later for Red Hat and specific versions for Debian as outlined in the patch.

3

Which versions of the Linux kernel are affected by CVE-2024-38629?

CVE-2024-38629 affects kernel versions prior to 6.6.33 for Red Hat and several versions including 5.10.223-1 and 6.12.13-1 for Debian.

4

Is there any workaround available for CVE-2024-38629?

No official workaround is mentioned for CVE-2024-38629; the recommended action is to apply the appropriate kernel updates.

5

Where can I find more information about CVE-2024-38629?

More detailed information regarding CVE-2024-38629 can typically be found in Linux kernel patch notes and security advisories.

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