CVE-2024-56681
crypto: bcm - add error check in the ahash_hmac_init function
Mitigation
- Upgrade Linux to 19630cf57233e845b6ac57c9c969a4888925467b or later.
Who should check
- Anyone running Linux >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 8f1a9a960b1107bd0e0ec3736055f5ed0e717edf; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 75e1e38e5d80d6d9011b7322698ffba3dd3db30a; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 28f8ffa945f7d7150463e15097ea73b19529d6f5; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 4ea3e3b761e371102bb1486778e2f8dbc9e37413; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ae5253313e0ea5f00c06176074592b7f493c8546; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ee36db8e8203420e6d5c42eb9428920c2fc36532; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < bba9e38c5ad41d0a88b22a59e5b6dd3e31825118; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 19630cf57233e845b6ac57c9c969a4888925467b
- Anyone running Linux 4.11
Vulnerability facts
- Affected
- Linux >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 8f1a9a960b1107bd0e0ec3736055f5ed0e717edf; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 75e1e38e5d80d6d9011b7322698ffba3dd3db30a; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 28f8ffa945f7d7150463e15097ea73b19529d6f5; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 4ea3e3b761e371102bb1486778e2f8dbc9e37413; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ae5253313e0ea5f00c06176074592b7f493c8546; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ee36db8e8203420e6d5c42eb9428920c2fc36532; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < bba9e38c5ad41d0a88b22a59e5b6dd3e31825118; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 19630cf57233e845b6ac57c9c969a4888925467b; Linux 4.11
- Fixed in
- Linux 8f1a9a960b1107bd0e0ec3736055f5ed0e717edf, Linux 75e1e38e5d80d6d9011b7322698ffba3dd3db30a, Linux 28f8ffa945f7d7150463e15097ea73b19529d6f5, Linux 4ea3e3b761e371102bb1486778e2f8dbc9e37413, Linux 05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc, Linux 19630cf57233e845b6ac57c9c969a4888925467b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 8f1a9a960b1107bd0e0ec3736055f5ed0e717edf; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 75e1e38e5d80d6d9011b7322698ffba3dd3db30a; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 28f8ffa945f7d7150463e15097ea73b19529d6f5; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 4ea3e3b761e371102bb1486778e2f8dbc9e37413; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ae5253313e0ea5f00c06176074592b7f493c8546; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ee36db8e8203420e6d5c42eb9428920c2fc36532; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < bba9e38c5ad41d0a88b22a59e5b6dd3e31825118; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 19630cf57233e845b6ac57c9c969a4888925467b | — | cvelist |
| Linux | 4.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-56681. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-56681.md Affected: Linux >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 8f1a9a960b1107bd0e0ec3736055f5ed0e717edf; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 75e1e38e5d80d6d9011b7322698ffba3dd3db30a; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 28f8ffa945f7d7150463e15097ea73b19529d6f5; >= 9d12ba86f818aa9cfe9f01b… Fixed in: Linux 8f1a9a960b1107bd0e0ec3736055f5ed0e717edf, Linux 75e1e38e5d80d6d9011b7322698ffba3dd3db30a, Linux 28f8ffa945f7d7150463e15097ea73b19529d6f5, Linux 4ea3e3b761e371102bb1486778e2f8dbc9e37413, Linux 05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc, Linux 19630cf57233e845b6ac57c9c969a4888925467b Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/8f1a9a960b1107bd0e0ec3736055f5ed0e717edf
- https://git.kernel.org/stable/c/75e1e38e5d80d6d9011b7322698ffba3dd3db30a
- https://git.kernel.org/stable/c/28f8ffa945f7d7150463e15097ea73b19529d6f5
- https://git.kernel.org/stable/c/4ea3e3b761e371102bb1486778e2f8dbc9e37413
- https://git.kernel.org/stable/c/05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc
- https://git.kernel.org/stable/c/ae5253313e0ea5f00c06176074592b7f493c8546
- https://git.kernel.org/stable/c/ee36db8e8203420e6d5c42eb9428920c2fc36532
- https://git.kernel.org/stable/c/bba9e38c5ad41d0a88b22a59e5b6dd3e31825118
- https://git.kernel.org/stable/c/19630cf57233e845b6ac57c9c969a4888925467b
FAQ
Is CVE-2024-56681 being exploited?
There is no confirmed exploitation: CVE-2024-56681 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-56681?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-56681?
Linux >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 8f1a9a960b1107bd0e0ec3736055f5ed0e717edf; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 75e1e38e5d80d6d9011b7322698ffba3dd3db30a; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 28f8ffa945f7d7150463e15097ea73b19529d6f5; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 4ea3e3b761e371102bb1486778e2f8dbc9e37413; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ae5253313e0ea5f00c06176074592b7f493c8546; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < ee36db8e8203420e6d5c42eb9428920c2fc36532; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < bba9e38c5ad41d0a88b22a59e5b6dd3e31825118; >= 9d12ba86f818aa9cfe9f01b750336aa441f2ffa2, < 19630cf57233e845b6ac57c9c969a4888925467b; Linux 4.11.
Is there a fix for CVE-2024-56681?
Yes. Fixed in Linux 8f1a9a960b1107bd0e0ec3736055f5ed0e717edf, Linux 75e1e38e5d80d6d9011b7322698ffba3dd3db30a, Linux 28f8ffa945f7d7150463e15097ea73b19529d6f5, Linux 4ea3e3b761e371102bb1486778e2f8dbc9e37413, Linux 05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc, Linux 19630cf57233e845b6ac57c9c969a4888925467b. Upgrade Linux to 19630cf57233e845b6ac57c9c969a4888925467b or later.
How do I check if I'm affected by CVE-2024-56681?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.