{"id":"CVE-2024-38629","published":"2024-06-21T10:18:20Z","modified":"2026-05-11T20:20:28Z","title":"dmaengine: idxd: Avoid unnecessary destruction of file_ida","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndmaengine: idxd: Avoid unnecessary destruction of file_ida\n\nfile_ida is allocated during cdev open and is freed accordingly\nduring cdev release. This sequence is guaranteed by driver file\noperations. Therefore, there is no need to destroy an already empty\nfile_ida when the WQ cdev is removed.\n\nWorse, ida_free() in cdev release may happen after destruction of\nfile_ida per WQ cdev. This can lead to accessing an id in file_ida\nafter it has been destroyed, resulting in a kernel panic.\n\nRemove ida_destroy(&file_ida) to address these issues.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00231,"percentile":0.14284,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9eb15f24a0b9b017b39cde8b8c07243676b63687","tags":[]},{"url":"https://git.kernel.org/stable/c/15edb906211bf53e7b5574f7326ab734d6bff4f9","tags":[]},{"url":"https://git.kernel.org/stable/c/76e43fa6a456787bad31b8d0daeabda27351a480","tags":[]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":2.86}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, < 9eb15f24a0b9b017b39cde8b8c07243676b63687",">= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, < 15edb906211bf53e7b5574f7326ab734d6bff4f9",">= e6fd6d7e5f0fe4a17a08e892afb5db800e7794ec, < 76e43fa6a456787bad31b8d0daeabda27351a480"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-21T13:46:11.658594Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37492","exploited":false,"provenance":"source"}}