# CVE-2024-26753: crypto: virtio/akcipher - Fix stack overflow on memcpy

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2024-04-03T17:00:38.148Z
- Modified: 2026-06-17T07:18:15.457Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

crypto: virtio/akcipher - Fix stack overflow on memcpy

sizeof(struct virtio_crypto_akcipher_session_para) is less than
sizeof(struct virtio_crypto_op_ctrl_req::u), copying more bytes from
stack variable leads stack overflow. Clang reports this issue by
commands:
make -j CC=clang-14 mrproper >/dev/null 2>&1
make -j O=/tmp/crypto-build CC=clang-14 allmodconfig >/dev/null 2>&1
make -j O=/tmp/crypto-build W=1 CC=clang-14 drivers/crypto/virtio/
  virtio_crypto_akcipher_algs.o

(As written by CVE List.)

## Affected

- Linux Linux: from 1ff57428894fc4f5001d3df0762c1820295d6c4f before 37077ed16c7793e21b005979d33f8a61565b7e86; from 59ca6c93387d325e96577d8bd4c23c78c1491c11 before 62f361bfea60c6afc3df09c1ad4152e6507f6f47; from 59ca6c93387d325e96577d8bd4c23c78c1491c11 before b0365460e945e1117b47cf7329d86de752daff63; from 59ca6c93387d325e96577d8bd4c23c78c1491c11 before ef1e47d50324e232d2da484fe55a54274eeb9bc1; from 59ca6c93387d325e96577d8bd4c23c78c1491c11 before c0ec2a712daf133d9996a8a1b7ee2d4996080363; from 5.10.209 before 5.10.212; 5.18 (not affected: before 5.18; from 5.10.212 up to 5.10.*; from 6.1.80 up to 6.1.*; from 6.6.19 up to 6.6.*; from 6.7.7 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.10.209 before 5.10.212; from 5.18 before 6.1.80; from 6.2 before 6.6.19; from 6.7 before 6.7.7; 6.8
- debian debian_linux: 10.0

## References

- <https://git.kernel.org/stable/c/37077ed16c7793e21b005979d33f8a61565b7e86> (patch)
- <https://git.kernel.org/stable/c/62f361bfea60c6afc3df09c1ad4152e6507f6f47> (patch)
- <https://git.kernel.org/stable/c/b0365460e945e1117b47cf7329d86de752daff63> (patch)
- <https://git.kernel.org/stable/c/ef1e47d50324e232d2da484fe55a54274eeb9bc1> (patch)
- <https://git.kernel.org/stable/c/c0ec2a712daf133d9996a8a1b7ee2d4996080363> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list)

## Sources

- CVE List: [CVE-2024-26753](https://www.cve.org/CVERecord?id=CVE-2024-26753), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-26753](https://nvd.nist.gov/vuln/detail/CVE-2024-26753), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26753 · Whole record: https://cve.day/CVE-2024-26753.json · Rebuilt by cve.day 2026-11-25T22:58:38.684Z
