CVE-2024-56681

Source
https://cve.org/CVERecord?id=CVE-2024-56681
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56681.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56681
Downstream
Related
Published
2024-12-28T09:46:09.675Z
Modified
2026-05-28T03:55:40.563368262Z
Summary
crypto: bcm - add error check in the ahash_hmac_init function
Details

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, ahash_init will return -ENOMEM when allocation memory is error.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56681.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9d12ba86f818aa9cfe9f01b750336aa441f2ffa2
Fixed
8f1a9a960b1107bd0e0ec3736055f5ed0e717edf
Fixed
75e1e38e5d80d6d9011b7322698ffba3dd3db30a
Fixed
28f8ffa945f7d7150463e15097ea73b19529d6f5
Fixed
4ea3e3b761e371102bb1486778e2f8dbc9e37413
Fixed
05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc
Fixed
ae5253313e0ea5f00c06176074592b7f493c8546
Fixed
ee36db8e8203420e6d5c42eb9428920c2fc36532
Fixed
bba9e38c5ad41d0a88b22a59e5b6dd3e31825118
Fixed
19630cf57233e845b6ac57c9c969a4888925467b

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56681.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.11.0
Fixed
4.19.325
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.287
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.231
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.174
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.120
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.64
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.11
Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56681.json"