{"id":"CVE-2024-26753","state":"PUBLISHED","title":"crypto: virtio/akcipher - Fix stack overflow on memcpy","description":"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 >/dev/null 2>&1\nmake -j O=/tmp/crypto-build CC=clang-14 allmodconfig >/dev/null 2>&1\nmake -j O=/tmp/crypto-build W=1 CC=clang-14 drivers/crypto/virtio/\n  virtio_crypto_akcipher_algs.o","publishedAt":"2024-04-03T17:00:38.148Z","updatedAt":"2026-05-23T15:37:40.331Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1ff57428894fc4f5001d3df0762c1820295d6c4f","status":"affected","lessThan":"37077ed16c7793e21b005979d33f8a61565b7e86","versionType":"git"},{"version":"59ca6c93387d325e96577d8bd4c23c78c1491c11","status":"affected","lessThan":"62f361bfea60c6afc3df09c1ad4152e6507f6f47","versionType":"git"},{"version":"59ca6c93387d325e96577d8bd4c23c78c1491c11","status":"affected","lessThan":"b0365460e945e1117b47cf7329d86de752daff63","versionType":"git"},{"version":"59ca6c93387d325e96577d8bd4c23c78c1491c11","status":"affected","lessThan":"ef1e47d50324e232d2da484fe55a54274eeb9bc1","versionType":"git"},{"version":"59ca6c93387d325e96577d8bd4c23c78c1491c11","status":"affected","lessThan":"c0ec2a712daf133d9996a8a1b7ee2d4996080363","versionType":"git"},{"version":"5.10.209","status":"affected","lessThan":"5.10.212","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/virtio/virtio_crypto_akcipher_algs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"5.10.212","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"6.1.80","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.19","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.7","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/virtio/virtio_crypto_akcipher_algs.c"]}],"references":["https://git.kernel.org/stable/c/37077ed16c7793e21b005979d33f8a61565b7e86","https://git.kernel.org/stable/c/62f361bfea60c6afc3df09c1ad4152e6507f6f47","https://git.kernel.org/stable/c/b0365460e945e1117b47cf7329d86de752daff63","https://git.kernel.org/stable/c/ef1e47d50324e232d2da484fe55a54274eeb9bc1","https://git.kernel.org/stable/c/c0ec2a712daf133d9996a8a1b7ee2d4996080363","https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26753.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26753","state":"PUBLISHED","datePublished":"2024-04-03T17:00:38.148Z","dateUpdated":"2026-05-23T15:37:40.331Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.169Z"},"containers":{"cna":{"title":"crypto: virtio/akcipher - Fix stack overflow on memcpy","descriptions":[{"lang":"en","value":"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 >/dev/null 2>&1\nmake -j O=/tmp/crypto-build CC=clang-14 allmodconfig >/dev/null 2>&1\nmake -j O=/tmp/crypto-build W=1 CC=clang-14 drivers/crypto/virtio/\n  virtio_crypto_akcipher_algs.o"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1ff57428894fc4f5001d3df0762c1820295d6c4f","status":"affected","lessThan":"37077ed16c7793e21b005979d33f8a61565b7e86","versionType":"git"},{"version":"59ca6c93387d325e96577d8bd4c23c78c1491c11","status":"affected","lessThan":"62f361bfea60c6afc3df09c1ad4152e6507f6f47","versionType":"git"},{"version":"59ca6c93387d325e96577d8bd4c23c78c1491c11","status":"affected","lessThan":"b0365460e945e1117b47cf7329d86de752daff63","versionType":"git"},{"version":"59ca6c93387d325e96577d8bd4c23c78c1491c11","status":"affected","lessThan":"ef1e47d50324e232d2da484fe55a54274eeb9bc1","versionType":"git"},{"version":"59ca6c93387d325e96577d8bd4c23c78c1491c11","status":"affected","lessThan":"c0ec2a712daf133d9996a8a1b7ee2d4996080363","versionType":"git"},{"version":"5.10.209","status":"affected","lessThan":"5.10.212","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/virtio/virtio_crypto_akcipher_algs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"5.10.212","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"6.1.80","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.19","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.7","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/crypto/virtio/virtio_crypto_akcipher_algs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/37077ed16c7793e21b005979d33f8a61565b7e86"},{"url":"https://git.kernel.org/stable/c/62f361bfea60c6afc3df09c1ad4152e6507f6f47"},{"url":"https://git.kernel.org/stable/c/b0365460e945e1117b47cf7329d86de752daff63"},{"url":"https://git.kernel.org/stable/c/ef1e47d50324e232d2da484fe55a54274eeb9bc1"},{"url":"https://git.kernel.org/stable/c/c0ec2a712daf133d9996a8a1b7ee2d4996080363"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:37:40.331Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.209","versionEndExcluding":"5.10.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.80"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.7.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/37077ed16c7793e21b005979d33f8a61565b7e86","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/62f361bfea60c6afc3df09c1ad4152e6507f6f47","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/b0365460e945e1117b47cf7329d86de752daff63","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/ef1e47d50324e232d2da484fe55a54274eeb9bc1","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/c0ec2a712daf133d9996a8a1b7ee2d4996080363","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:14:13.229Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-26753","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:51:40.958573Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:15.875Z"}}]}}}