dmaengine: apple-admac: Fix 'current_tx' not getting freed
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 |
|
|
6.1.256.2.126.3In the Linux kernel, the following vulnerability has been resolved:
dmaengine: apple-admac: Fix 'current_tx' not getting freed
In terminate_all we should queue up all submitted descriptors to be freed. We do that for the content of the 'issued' and 'submitted' lists, but the 'current_tx' descriptor falls through the cracks as it's removed from the 'issued' list once it gets assigned to be the current descriptor. Explicitly queue up freeing of the 'current_tx' descriptor to address a memory leak that is otherwise present.
From the CVE record · Linux
The Linux kernel’s apple-admac dmaengine driver can leak a descriptor when terminate_all runs after a descriptor has become current_tx. The input does not establish whether an attacker can trigger this condition or specify any network, authentication, or user-interaction requirements.
Engineers running Linux kernels with the apple-admac driver should check their versions; affected versions are not specified.