7.8high
crypto: virtio/akcipher - Fix stack overflow on memcpy
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | NVD |
| debian debian_linux | 10.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: virtio/akcipher: corrige el desbordamiento de pila en memcpy sizeof(struct virtio_crypto_akcipher_session_para) es menor que sizeof(struct virtio_crypto_op_ctrl_req::u), copiar más bytes de la variable de pila provoca el desbordamiento de pila. Clang informa este problema mediante comandos: 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
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26753 changed 2026-05-23 | CVE Terms of Use |
| NVD | CVE-2024-26753 changed 2026-06-17 | Public domain |