crypto: cavium/cpt - fix DMA cleanup using wrong loop index
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c694b233295b99c33dd5ac28aede9f171f5a6862 · < fb4d57b83356d4bd411b45ede3024e0ff42c9b5e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: cavium/cpt - fix DMA cleanup using wrong loop index
The sg_cleanup error path used list[i] instead of list[j] when unmapping DMA buffers, leaking successfully mapped entries and repeatedly unmapping the failed one.
From the CVE record · Linux
The cavium/cpt crypto driver uses the wrong loop index when cleaning up DMA buffers after a mapping error. This can leave successfully mapped entries mapped and repeatedly attempt to unmap the failed entry. The input does not establish how an attacker could trigger the error or whether access or user interaction is required.
Engineers running the Linux kernel with the cavium/cpt crypto driver should check their systems; affected versions were not provided.