What’s Vulnerable › Vulnerabilities

CVE-2024-56754: crypto: caam - Fix the pointer passed to caam_qi_shutdown()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.231, 5.15.174, 6.1.120, 6.11.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-56754 or the next vulnerability affects your stack