crypto: caam - Fix the pointer passed to caam_qi_shutdown()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f414de2e2fffd89c8a4e5b5e06b0eba5f9d8b1eb · < ad39df0898d3f469776c19d99229be055cc2dcea| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
crypto: caam - Fix the pointer passed to caam_qi_shutdown()
The type of the last parameter given to devm_add_action_or_reset() is "struct caam_drv_private *", but in caam_qi_shutdown(), it is casted to "struct device *".
Pass the correct parameter to devm_add_action_or_reset() so that the resources are released as expected.
From the CVE record · Linux
The Linux kernel CAAM crypto driver passes the wrong pointer type to caam_qi_shutdown(), so resources may not be released as expected. The input does not specify an attacker capability or whether exploitation requires network access, authentication, local access, or user interaction.
Engineers running the Linux kernel with the CAAM crypto driver should check their deployments; affected versions are not specified.