CVE-2024-26753

crypto: virtio/akcipher - Fix stack overflow on memcpy

HIGH
7.8
CVSS Score
Published: April 3, 2024 at 05:00 PM UTC
Updated: June 17, 2026 at 07:18 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.209 ≤ v < 5.10.2125.18 ≤ v < 6.1.805.18 ≤ v < 6.6.195.18 ≤ v < 6.7.75.18 ≤ v < 6.86.2 ≤ v < 6.6.196.7 ≤ v < 6.7.71ff57428894fc4f5001d3df0762c1820295d6c4f5.10.20959ca6c93387d325e96577d8bd4c23c78c1491c116.8 rc16.8 rc26.8 rc36.8 rc46.8 rc5
Vendor states this is fixed in 37077ed16c7793e21b005979d33f8a61565b7e86 (fixed)
Vendor states this is fixed in 62f361bfea60c6afc3df09c1ad4152e6507f6f47 (fixed)
Vendor states this is fixed in b0365460e945e1117b47cf7329d86de752daff63 (fixed)
Vendor states this is fixed in c0ec2a712daf133d9996a8a1b7ee2d4996080363 (fixed)
Vendor states this is fixed in ef1e47d50324e232d2da484fe55a54274eeb9bc1 (fixed)
Vendor states this is fixed in 5.10.212 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 6.1.80 (unaffected)
Vendor states this is fixed in 6.6.19 (unaffected)
Vendor states this is fixed in 6.7.7 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/37077ed16c7793e21b005979d33f8a61565b7e86
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/62f361bfea60c6afc3df09c1ad4152e6507f6f47
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b0365460e945e1117b47cf7329d86de752daff63
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c0ec2a712daf133d9996a8a1b7ee2d4996080363
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ef1e47d50324e232d2da484fe55a54274eeb9bc1
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card