CVE-2024-56681: Linux kernel · crypto: bcm – add error check in the ahash_hmac_init function
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:53 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to add proper error checking in the ahash_hmac_init function. Users should update to the fixed kernel versions once available.
Description
A vulnerability in the Linux kernel crypto bcm subsystem was fixed by adding an error check in the ahash_hmac_init function. Previously, ahash_hmac_init could incorrectly return success even when the underlying ahash_init function failed, such as when memory allocation failed (-ENOMEM). This flaw could lead to improper handling of error conditions during cryptographic initialization.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56681 (opens in a new tab)
- git.kernel.org/stable/c/05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc (opens in a new tab)
- git.kernel.org/stable/c/19630cf57233e845b6ac57c9c969a4888925467b (opens in a new tab)
- git.kernel.org/stable/c/28f8ffa945f7d7150463e15097ea73b19529d6f5 (opens in a new tab)
- git.kernel.org/stable/c/4ea3e3b761e371102bb1486778e2f8dbc9e37413 (opens in a new tab)
- git.kernel.org/stable/c/75e1e38e5d80d6d9011b7322698ffba3dd3db30a (opens in a new tab)
- git.kernel.org/stable/c/8f1a9a960b1107bd0e0ec3736055f5ed0e717edf (opens in a new tab)
- git.kernel.org/stable/c/ae5253313e0ea5f00c06176074592b7f493c8546 (opens in a new tab)
- git.kernel.org/stable/c/bba9e38c5ad41d0a88b22a59e5b6dd3e31825118 (opens in a new tab)
- git.kernel.org/stable/c/ee36db8e8203420e6d5c42eb9428920c2fc36532 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)