dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list (Linux Linux)

CVE-2024-40956
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.27 % · centile 19 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 16e19e11228ba660d9e322035635e7dcf160d5c2 < 1b08bf5a17c66ab7dbb628df5344da53c8e7ab33 ; affected 16e19e11228ba660d9e322035635e7dcf160d5c2 < 83163667d881100a485b6c2daa30301b7f68d9b5 ; affected 16e19e11228ba660d9e322035635e7dcf160d5c2 < faa35db78b058a2ab6e074ee283f69fa398c36a8 ; affected 16e19e11228ba660d9e322035635e7dcf160d5c2 < a14968921486793f2a956086895c3793761309dd ; affected 16e19e11228ba660d9e322035635e7dcf160d5c2 < e3215deca4520773cd2b155bed164c12365149a7
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.162 ≤ 5.15.* ; unaffected 6.1.96 ≤ 6.1.* ; unaffected 6.6.36 ≤ 6.6.* ; unaffected 6.9.7 ≤ 6.9.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD