Review reviewHigh

CVE-2024-40956

Linux Linux, linux kernel

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.

CVSS
7.8
EPSS
0.27%
18.7% percentile
CISA KEV
Not listed
Published
2024.07.12
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.27%
Technical severityCVSS 7.8

Vulnerability overview

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.

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 16e19e11228ba660d9e322035635e7dcf160d5c2 < 1b08bf5a17c66ab7dbb628df5344da53c8e7ab33, >= 16e19e11228ba660d9e322035635e7dcf160d5c2 < 83163667d881100a485b6c2daa30301b7f68d9b5, >= 16e19e11228ba660d9e322035635e7dcf160d5c2 < faa35db78b058a2ab6e074ee283f69fa398c36a8, >= 16e19e11228ba660d9e322035635e7dcf160d5c2 < a14968921486793f2a956086895c3793761309dd, >= 16e19e11228ba660d9e322035635e7dcf160d5c2 < e3215deca4520773cd2b155bed164c12365149a7, >= 5.11, >= 5.11 < 5.15.162, >= 5.16 < 6.1.96, >= 6.2 < 6.6.36, >= 6.7 < 6.9.7, 6.10
Fixed versions
5.15.162, 6.1.96, 6.6.36, 6.9.7

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2024-40956 — Linux Linux, linux kernel | SECUFOCUS NOW