crypto: virtio/akcipher - Fix stack overflow on memcpy
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ef1e47d50324e232d2da484fe55a54274eeb9bc1, Kernel 5.10.212, Kernel 62f361bfea60c6afc3df09c1ad4152e6507f6f47 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=59ca6c93387d325e96577d8bd4c23c78c1491c11 <ef1e47d50324e232d2da484fe55a54274eeb9bc1, >=5.10.209 <5.10.212, >=59ca6c93387d325e96577d8bd4c23c78c1491c11 <62f361bfea60c6afc3df09c1ad4152e6507f6f47, >=59ca6c93387d325e96577d8bd4c23c78c1491c11 <b0365460e945e1117b47cf7329d86de752daff63, >=59ca6c93387d325e96577d8bd4c23c78c1491c11 <c0ec2a712daf133d9996a8a1b7ee2d4996080363, =5.18, >=1ff57428894fc4f5001d3df0762c1820295d6c4f <37077ed16c7793e21b005979d33f8a61565b7e86 | ef1e47d50324e232d2da484fe55a54274eeb9bc1, 5.10.212, 62f361bfea60c6afc3df09c1ad4152e6507f6f47, b0365460e945e1117b47cf7329d86de752daff63, c0ec2a712daf133d9996a8a1b7ee2d4996080363, 37077ed16c7793e21b005979d33f8a61565b7e86 |
| linux-kernel: Kernel | >=5.18.0 <6.1.80, >=6.2.0 <6.6.19, >=6.7.0 <6.7.7, >=5.10.209 <5.10.212 | 6.1.80, 6.6.19, 6.7.7, 5.10.212 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket