CVE-2024-56681: crypto: bcm - add error check in the ahash_hmac_init function
In the Linux kernel, the following vulnerability has been resolved:
crypto: bcm - add error check in the ahashhmacinit function
The ahashinit functions may return fails. The ahashhmacinit should not return ok when ahashinit returns error. For an example, ahashinit will return -ENOMEM when allocation memory is error.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56681?
CVE-2024-56681 has a severity level yet to be officially rated by the maintainers.
How do I fix CVE-2024-56681?
To fix CVE-2024-56681, users should apply the latest kernel updates that include the patch addressing the vulnerability.
What impacts does CVE-2024-56681 have on the Linux kernel?
CVE-2024-56681 impacts the error handling of the ahash_hmac_init function, which may incorrectly report success when there is an underlying error.
Is CVE-2024-56681 a remote or local vulnerability?
CVE-2024-56681 is considered a local vulnerability as it affects functions within the Linux kernel.
In what versions of the Linux kernel does CVE-2024-56681 exist?
CVE-2024-56681 affects multiple versions of the Linux kernel, specifically where the affected ahash_hmac_init function is implemented.