CVE-2024-38629

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedJun 21, 2024
First seenJun 21, 2024

How to fix

Update
  • linux linux_kernel6.6.33, 6.9.4 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.4 ≤ v < 6.6.33, 6.7 ≤ v < 6.9.46.6.33, 6.9.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-38629 · Linux Kernel · Dark Radar