CVEvulnerability

CVE-2024-26753

7.8 HIGH Published 2024-04-03 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-04-03
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787

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 configurations

• linux linux kernel (>= 5.10.209 < 5.10.212) • linux linux kernel (>= 5.18 < 6.1.80) • linux linux kernel (>= 6.2 < 6.6.19) • linux linux kernel (>= 6.7 < 6.7.7) • linux linux kernel 6.8 • debian debian linux 10.0

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References