dmaengine: idxd: Check availability of workqueue allocated by idxd wq driver before using (Linux Linux)

CVE-2025-38369
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.19 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: dmaengine: idxd: Check availability of workqueue allocated by idxd wq driver before using Running IDXD workloads in a container with the /dev directory mounted can trigger a call trace or even a kernel panic when the parent process of the container is terminated. This issue occurs because, under certain configurations, Docker does not properly propagate the mount replica back to the original mount point. In this case, when the user driver detaches, the WQ is destroyed but it still calls destroy_workqueue() attempting to completes all pending work. It's necessary to check wq->wq and skip the drain if it no longer exists.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected bfe1d56091c1a404b3d4ce7e9809d745fc4453bb < e0051a3daa8b2cb318b03b2f9317c3e40855847a ; affected bfe1d56091c1a404b3d4ce7e9809d745fc4453bb < 98fd66c8ba77e3a7137575f610271014bc0e701f ; affected bfe1d56091c1a404b3d4ce7e9809d745fc4453bb < aee7a7439f8c0884da87694a401930204a57128f ; affected bfe1d56091c1a404b3d4ce7e9809d745fc4453bb < 17502e7d7b7113346296f6758324798d536c31fd
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 6.6.96 ≤ 6.6.* ; unaffected 6.12.36 ≤ 6.12.* ; unaffected 6.15.5 ≤ 6.15.* ; unaffected 6.16 ≤ *

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