What’s Vulnerable › Vulnerabilities

CVE-2024-56681: crypto: bcm - add error check in the ahash_hmac_init function

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: bcm - add error check in the ahash_hmac_init function The ahash_init functions may return fails. The ahash_hmac_init should not return ok when ahash_init returns error. For an example, ahash_init will return -ENOMEM when allocation memory is error.

Affected products

How to fix

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

References

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