# CVE-2025-38369: dmaengine: idxd: Check availability of workqueue allocated by idxd wq driver before using

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-25T12:47:43.583Z
- Modified: 2026-11-05T21:18:29.350Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before e0051a3daa8b2cb318b03b2f9317c3e40855847a; from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before 98fd66c8ba77e3a7137575f610271014bc0e701f; from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before aee7a7439f8c0884da87694a401930204a57128f; from bfe1d56091c1a404b3d4ce7e9809d745fc4453bb before 17502e7d7b7113346296f6758324798d536c31fd; 5.6 (not affected: before 5.6; from 6.6.96 up to 6.6.*; from 6.12.36 up to 6.12.*; from 6.15.5 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.6 before 6.6.96; from 6.7 before 6.12.36; from 6.13 before 6.15.5

## References

- <https://git.kernel.org/stable/c/e0051a3daa8b2cb318b03b2f9317c3e40855847a> (patch)
- <https://git.kernel.org/stable/c/98fd66c8ba77e3a7137575f610271014bc0e701f> (patch)
- <https://git.kernel.org/stable/c/aee7a7439f8c0884da87694a401930204a57128f> (patch)
- <https://git.kernel.org/stable/c/17502e7d7b7113346296f6758324798d536c31fd> (patch)

## Sources

- CVE List: [CVE-2025-38369](https://www.cve.org/CVERecord?id=CVE-2025-38369), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38369](https://nvd.nist.gov/vuln/detail/CVE-2025-38369), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38369 · Whole record: https://cve.day/CVE-2025-38369.json · Rebuilt by cve.day 2026-11-25T22:59:01.669Z
