Linux
dmaengine: idxd: Check availability of workqueue allocated by idxd wq driver before using
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= bfe1d56091c1a404b3d4ce7e9809d745fc4453bb, < e0051a3daa8b2cb318b03b2f9317c3e40855847a
- >= bfe1d56091c1a404b3d4ce7e9809d745fc4453bb, < 98fd66c8ba77e3a7137575f610271014bc0e701f
- >= bfe1d56091c1a404b3d4ce7e9809d745fc4453bb, < aee7a7439f8c0884da87694a401930204a57128f
- >= bfe1d56091c1a404b3d4ce7e9809d745fc4453bb, < 17502e7d7b7113346296f6758324798d536c31fd
Fixed in e0051a3daa8b2cb318b03b2f9317c3e40855847a, 98fd66c8ba77e3a7137575f610271014bc0e701f, aee7a7439f8c0884da87694a401930204a57128f, 17502e7d7b7113346296f6758324798d536c31fd
- 5.6
Fixed in 0, 6.6.96, 6.12.36, 6.15.5, 6.16
Mitigation
Upgrade Linux to e0051a3daa8b2cb318b03b2f9317c3e40855847a or 98fd66c8ba77e3a7137575f610271014bc0e701f or aee7a7439f8c0884da87694a401930204a57128f or 17502e7d7b7113346296f6758324798d536c31fd or later.
Upgrade Linux to 0 or 6.6.96 or 6.12.36 or 6.15.5 or 6.16 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.