VDB

CVE-2024-38629

CVE-2024-38629 PUBLISHED

dmaengine: idxd: Avoid unnecessary destruction of file_ida

Reported by linux · Published June 21, 2024

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Avoid unnecessary destruction of file_ida file_ida 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 file_ida when the WQ cdev is removed. Worse, ida_free() in cdev release may happen after destruction of file_ida per WQ cdev. This can lead to accessing an id in file_ida after it has been destroyed, resulting in a kernel panic. Remove ida_destroy(&file_ida) to address these issues.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.9.4, 6.6.33

Affected products

VendorProductVersions
LinuxLinuxe6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec
LinuxLinux6.4, 0, 6.6.33
linuxlinux_kernel6.4, 6.4, 6.4
LinuxLinux*, *, 6.4

Timeline

  • Jun 20, 2024 CVE Published
  • Jun 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Jan 8, 2026 Security Advisory (118 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (98 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38629
vulnetix vdb fixes CVE-2024-38629

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38629/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›