CVE-2024-26753

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26753
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26753.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26753
Downstream
Published
2024-04-03T17:00:38.148Z
Modified
2025-11-28T02:34:50.431252Z
Summary
crypto: virtio/akcipher - Fix stack overflow on memcpy
Details

In the Linux kernel, the following vulnerability has been resolved:

crypto: virtio/akcipher - Fix stack overflow on memcpy

sizeof(struct virtiocryptoakciphersessionpara) is less than sizeof(struct virtiocryptoopctrlreq::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/ virtiocryptoakcipher_algs.o

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26753.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1ff57428894fc4f5001d3df0762c1820295d6c4f
Fixed
37077ed16c7793e21b005979d33f8a61565b7e86
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
59ca6c93387d325e96577d8bd4c23c78c1491c11
Fixed
62f361bfea60c6afc3df09c1ad4152e6507f6f47
Fixed
b0365460e945e1117b47cf7329d86de752daff63
Fixed
ef1e47d50324e232d2da484fe55a54274eeb9bc1
Fixed
c0ec2a712daf133d9996a8a1b7ee2d4996080363

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.212
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
6.1.80
Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.6.19
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.7.7