Bug 1222601 (CVE-2024-26753) - VUL-0: CVE-2024-26753: kernel: stack overflow on memcpy in virtio/akcipher
Summary: VUL-0: CVE-2024-26753: kernel: stack overflow on memcpy in virtio/akcipher
Status: RESOLVED FIXED
Alias: CVE-2024-26753
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/400243/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26753:4.4:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-10 08:22 UTC by SMASH SMASH
Modified: 2024-07-01 16:07 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-04-10 08:22:38 UTC
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

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26753
https://www.cve.org/CVERecord?id=CVE-2024-26753
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/c0ec2a712daf133d9996a8a1b7ee2d4996080363
https://git.kernel.org/stable/c/ef1e47d50324e232d2da484fe55a54274eeb9bc1
https://bugzilla.redhat.com/show_bug.cgi?id=2273217
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-26753.mbox
Comment 1 Thomas Leroy 2024-04-10 08:24:21 UTC
SLE15-SP6-GA and stable contain both offending and fixing commit, and no other branch is affected. So I guess only changelog update is needed