CVE-2024-56754 crypto: caam - Fix the pointer passed to caam_qi_shutdown()
Incorrect pointer type in CAAM crypto driver shutdown causes potential null dereference and system crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-56754?
CVE-2024-56754 is a medium-severity vulnerability in Linux kernel, published on 29 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-56754?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56754?
Apply the vendor's patch.
Is CVE-2024-56754 being exploited?
There is no known exploitation of CVE-2024-56754 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-54753, AZL-54836, BELL-CVE-2024-56754, DEBIAN-CVE-2024-56754, GHSA-7m9x-pr76-7p23, UBUNTU-CVE-2024-56754.