dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: fix possible wrong descriptor completion in llist_abort_desc()
At the end of this function, d is the traversal cursor of flist, but the code completes found instead. This can lead to issues such as NULL pointer dereferences, double completion, or descriptor leaks.
Fix this by completing d instead of found in the final list_for_each_entry_safe() loop.
From the CVE record · Linux
The Linux kernel’s dmaengine idxd driver can complete the wrong descriptor in llist_abort_desc(). This can cause NULL pointer dereferences, double completion, or descriptor leaks; the input does not specify attacker access requirements or whether user interaction is needed.
Teams running Linux kernels with the dmaengine idxd driver should check their installations; affected versions are not specified.