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.
{ "vanir_signatures": [ { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ea3e3b761e371102bb1486778e2f8dbc9e37413", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-16e56636", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ae5253313e0ea5f00c06176074592b7f493c8546", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-17f6838b", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-229db8c8", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@28f8ffa945f7d7150463e15097ea73b19529d6f5", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-36c41111", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75e1e38e5d80d6d9011b7322698ffba3dd3db30a", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-43eab142", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-466a281c", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bba9e38c5ad41d0a88b22a59e5b6dd3e31825118", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-55cef50d", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4ea3e3b761e371102bb1486778e2f8dbc9e37413", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-89b594bb", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@19630cf57233e845b6ac57c9c969a4888925467b", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-8c7941a7", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f1a9a960b1107bd0e0ec3736055f5ed0e717edf", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-960ef064", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75e1e38e5d80d6d9011b7322698ffba3dd3db30a", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-96460894", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8f1a9a960b1107bd0e0ec3736055f5ed0e717edf", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-a5b89623", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee36db8e8203420e6d5c42eb9428920c2fc36532", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-be2fb8d5", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee36db8e8203420e6d5c42eb9428920c2fc36532", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-c497b1f6", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@19630cf57233e845b6ac57c9c969a4888925467b", "signature_type": "Line", "target": { "file": "drivers/crypto/bcm/cipher.c" }, "id": "CVE-2024-56681-d1dbd962", "digest": { "threshold": 0.9, "line_hashes": [ "222314244642318156107656922538293571704", "144769303333689788421813997317720821842", "186416936809442622751234968509318134156", "108854471201923136974105248272487761829", "226376561796747218040409979564515386865", "95030926843727278931177716973671302359", "115154174832760227295743107720408933962", "339298806749234686077291652052558976999" ] }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ae5253313e0ea5f00c06176074592b7f493c8546", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-d5d81f7a", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bba9e38c5ad41d0a88b22a59e5b6dd3e31825118", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-eb54027c", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@28f8ffa945f7d7150463e15097ea73b19529d6f5", "signature_type": "Function", "target": { "file": "drivers/crypto/bcm/cipher.c", "function": "ahash_hmac_init" }, "id": "CVE-2024-56681-ef3b97c4", "digest": { "function_hash": "244758078980349225530214927725555363350", "length": 473.0 }, "deprecated": false, "signature_version": "v1" } ] }