CVE-2024-40956

dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list

State
Published
Severity
7.8 High
Published
Jul 12, 2024
Updated
Aug 5, 2026
Reserved
Jul 12, 2024

Read the record on cve.org

Description

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

dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list

Use list_for_each_entry_safe() to allow iterating through the list and deleting the entry in the iteration process. The descriptor is freed via idxd_desc_complete() and there's a slight chance may cause issue for the list iterator when the descriptor is reused by another thread without it being deleted from the list.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 16e19e11228ba660d9e322035635e7dcf160d5c2 to before 1b08bf5a17c66ab7dbb628df5344da53c8e7ab33Affected
  • 16e19e11228ba660d9e322035635e7dcf160d5c2 to before 83163667d881100a485b6c2daa30301b7f68d9b5Affected
  • 16e19e11228ba660d9e322035635e7dcf160d5c2 to before faa35db78b058a2ab6e074ee283f69fa398c36a8Affected
  • 16e19e11228ba660d9e322035635e7dcf160d5c2 to before a14968921486793f2a956086895c3793761309ddAffected
  • 16e19e11228ba660d9e322035635e7dcf160d5c2 to before e3215deca4520773cd2b155bed164c12365149a7Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.162 through 5.15.*Not affected
  • 6.1.96 through 6.1.*Not affected
  • 6.6.36 through 6.6.*Not affected
  • 6.9.7 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.