{"id":"CVE-2024-56681","aliases":["CVE-2024-56681"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: bcm - add error check in the ahash_hmac_init function","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: bcm - add error check in the ahash_hmac_init function\n\nThe ahash_init functions may return fails. The ahash_hmac_init should\nnot return ok when ahash_init returns error. For an example, ahash_init\nwill return -ENOMEM when allocation memory is error.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: bcm - add error check in the ahash_hmac_init function\n\nThe ahash_init functions may return fails. The ahash_hmac_init should\nnot return ok when ahash_init returns error. For an example, ahash_init\nwill return -ENOMEM when allocation memory is error.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: bcm - añadir comprobación de errores en la función ahash_hmac_init Las funciones ahash_init pueden devolver errores. La función ahash_hmac_init no debería devolver ok cuando ahash_init devuelve un error. Por ejemplo, ahash_init devolverá -ENOMEM cuando la memoria de asignación sea errónea.","source":"nvd"}],"published":"2024-12-28T09:46:09.675Z","modified":"2026-10-15T22:18:02.660Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"8f1a9a960b1107bd0e0ec3736055f5ed0e717edf","status":"affected"},{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"75e1e38e5d80d6d9011b7322698ffba3dd3db30a","status":"affected"},{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"28f8ffa945f7d7150463e15097ea73b19529d6f5","status":"affected"},{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"4ea3e3b761e371102bb1486778e2f8dbc9e37413","status":"affected"},{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc","status":"affected"},{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"ae5253313e0ea5f00c06176074592b7f493c8546","status":"affected"},{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"ee36db8e8203420e6d5c42eb9428920c2fc36532","status":"affected"},{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"bba9e38c5ad41d0a88b22a59e5b6dd3e31825118","status":"affected"},{"type":"git","introduced":"9d12ba86f818aa9cfe9f01b750336aa441f2ffa2","fixed":"19630cf57233e845b6ac57c9c969a4888925467b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.11","status":"unaffected"},{"type":"semver","introduced":"4.19.325","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.287","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.231","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.174","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.120","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.64","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.11","lastAffected":"6.11.*","status":"unaffected"},{"type":"semver","introduced":"6.12.2","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.11","fixed":"4.19.325"},{"status":"affected","introduced":"4.20","fixed":"5.4.287"},{"status":"affected","introduced":"5.5","fixed":"5.10.231"},{"status":"affected","introduced":"5.11","fixed":"5.15.174"},{"status":"affected","introduced":"5.16","fixed":"6.1.120"},{"status":"affected","introduced":"6.2","fixed":"6.6.64"},{"status":"affected","introduced":"6.7","fixed":"6.11.11"},{"status":"affected","introduced":"6.12","fixed":"6.12.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8f1a9a960b1107bd0e0ec3736055f5ed0e717edf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75e1e38e5d80d6d9011b7322698ffba3dd3db30a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28f8ffa945f7d7150463e15097ea73b19529d6f5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ea3e3b761e371102bb1486778e2f8dbc9e37413","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae5253313e0ea5f00c06176074592b7f493c8546","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee36db8e8203420e6d5c42eb9428920c2fc36532","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bba9e38c5ad41d0a88b22a59e5b6dd3e31825118","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19630cf57233e845b6ac57c9c969a4888925467b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:41:19.814Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56681","url":"https://www.cve.org/CVERecord?id=CVE-2024-56681","licence":"CVE Terms of Use","modified":"2026-10-15T21:51:48.722Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56681","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56681","licence":"Public domain","modified":"2026-10-15T22:18:02.660Z"}],"updatedAt":"2026-11-25T22:58:50.530Z","epss":{"score":0.00244,"percentile":0.16659,"date":"2026-12-01T12:00:22.000Z"}}