crypto: rk3288 - fail ahash requests on HASH idle timeout
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: rk3288 - fail ahash requests on HASH idle timeout
rk_hash_run() waits for RK_CRYPTO_HASH_STS to become idle after the final DMA transfer, but ignores the poll result. If the hash engine never becomes idle, the driver still reads the digest registers and finalizes the request with the previous success value.
Store the poll result and finalize the request with the timeout error before reading the digest registers.
From the CVE record · Linux
The Linux kernel's rk3288 crypto driver ignores a timeout while waiting for the hash engine to become idle after a DMA transfer. If the engine does not become idle, the driver can read the digest registers and complete the request as successful instead of returning a timeout error. The input does not establish whether an attacker can trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels that use the rk3288 crypto driver should check their deployments; affected versions are not specified.