CVE-2025-38369

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxbfe1d56091c1a404b3d4ce7e9809d745fc4453bb < e0051a3daa8b2cb318b03b2f9317c3e40855847aaffected
LinuxLinuxbfe1d56091c1a404b3d4ce7e9809d745fc4453bb < 98fd66c8ba77e3a7137575f610271014bc0e701faffected
LinuxLinuxbfe1d56091c1a404b3d4ce7e9809d745fc4453bb < aee7a7439f8c0884da87694a401930204a57128faffected
LinuxLinuxbfe1d56091c1a404b3d4ce7e9809d745fc4453bb < 17502e7d7b7113346296f6758324798d536c31fdaffected
LinuxLinux5.6affected
LinuxLinux0 < 5.6unaffected
LinuxLinux6.6.96 <= 6.6.*unaffected
LinuxLinux6.12.36 <= 6.12.*unaffected
LinuxLinux6.15.5 <= 6.15.*unaffected
LinuxLinux6.16 <= *unaffected

Weaknesses

References