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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1ff57428894fc4f5001d3df0762c1820295d6c4f to < 37077ed16c7793e21b005979d33f8a61565b7e86affected59ca6c93387d325e96577d8bd4c23c78c1491c11 to < 62f361bfea60c6afc3df09c1ad4152e6507f6f47affected59ca6c93387d325e96577d8bd4c23c78c1491c11 to < b0365460e945e1117b47cf7329d86de752daff63affected59ca6c93387d325e96577d8bd4c23c78c1491c11 to < ef1e47d50324e232d2da484fe55a54274eeb9bc1affected59ca6c93387d325e96577d8bd4c23c78c1491c11 to < c0ec2a712daf133d9996a8a1b7ee2d4996080363affected5.10.209 to < 5.10.212affected
Linux Linux
Default version status: affected
5.18affected0 to < 5.18unaffected5.10.212 to ≤ 5.10.*unaffected6.1.80 to ≤ 6.1.*unaffected6.6.19 to ≤ 6.6.*unaffected6.7.7 to ≤ 6.7.*unaffected6.8 to ≤ *unaffected
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 ↗