Lucene search

K
ubuntucveUbuntu.comUB:CVE-2024-38629
HistoryJun 21, 2024 - 12:00 a.m.

CVE-2024-38629

2024-06-2100:00:00
ubuntu.com
ubuntu.com
10
linux kernel
vulnerability resolved
file_ida
dmaengine
idxd
driver file operations
kernel panic

AI Score

6.4

Confidence

High

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.