{"id":"CVE-2024-26753","summary":"crypto: virtio/akcipher - Fix stack overflow on memcpy","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: virtio/akcipher - Fix stack overflow on memcpy\n\nsizeof(struct virtio_crypto_akcipher_session_para) is less than\nsizeof(struct virtio_crypto_op_ctrl_req::u), copying more bytes from\nstack variable leads stack overflow. Clang reports this issue by\ncommands:\nmake -j CC=clang-14 mrproper \u003e/dev/null 2\u003e&1\nmake -j O=/tmp/crypto-build CC=clang-14 allmodconfig \u003e/dev/null 2\u003e&1\nmake -j O=/tmp/crypto-build W=1 CC=clang-14 drivers/crypto/virtio/\n  virtio_crypto_akcipher_algs.o","modified":"2026-04-02T10:05:43.133266Z","published":"2024-04-03T17:00:38.148Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26753.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/37077ed16c7793e21b005979d33f8a61565b7e86"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62f361bfea60c6afc3df09c1ad4152e6507f6f47"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0365460e945e1117b47cf7329d86de752daff63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0ec2a712daf133d9996a8a1b7ee2d4996080363"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef1e47d50324e232d2da484fe55a54274eeb9bc1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26753.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26753"},{"type":"PACKAGE","url":"https://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":"1ff57428894fc4f5001d3df0762c1820295d6c4f"},{"fixed":"37077ed16c7793e21b005979d33f8a61565b7e86"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"59ca6c93387d325e96577d8bd4c23c78c1491c11"},{"fixed":"62f361bfea60c6afc3df09c1ad4152e6507f6f47"},{"fixed":"b0365460e945e1117b47cf7329d86de752daff63"},{"fixed":"ef1e47d50324e232d2da484fe55a54274eeb9bc1"},{"fixed":"c0ec2a712daf133d9996a8a1b7ee2d4996080363"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26753.json"}}],"schema_version":"1.7.5"}