CVE-2025-38369

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

HIGH
7.8
CVSS Score
Published: July 25, 2025 at 12:47 PM UTC
Updated: June 17, 2026 at 09:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.6 ≤ v < 6.12.365.6 ≤ v < 6.15.55.6 ≤ v < 6.165.6 ≤ v < 6.6.966.13 ≤ v < 6.15.56.7 ≤ v < 6.12.365.6bfe1d56091c1a404b3d4ce7e9809d745fc4453bb
Vendor states this is fixed in 17502e7d7b7113346296f6758324798d536c31fd (fixed)
Vendor states this is fixed in 98fd66c8ba77e3a7137575f610271014bc0e701f (fixed)
Vendor states this is fixed in aee7a7439f8c0884da87694a401930204a57128f (fixed)
Vendor states this is fixed in e0051a3daa8b2cb318b03b2f9317c3e40855847a (fixed)
Vendor states this is fixed in 5.6 (unaffected)
Vendor states this is fixed in 6.12.36 (unaffected)
Vendor states this is fixed in 6.15.5 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.96 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/17502e7d7b7113346296f6758324798d536c31fd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/98fd66c8ba77e3a7137575f610271014bc0e701f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aee7a7439f8c0884da87694a401930204a57128f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e0051a3daa8b2cb318b03b2f9317c3e40855847a

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card