In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: avoid off-by-one read from userspace
We try to access count + 1 byte from userspace with memdup_user(buffer,
count + 1). However, the userspace only provides buffer of count bytes and
only these count bytes are verified to be okay to access. To ensure the
copied buffer is NUL terminated, we use memdup_user_nul instead.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
No history.
Information
Published : 2024-05-30 16:15
Updated : 2025-12-23 19:16
NVD link : CVE-2024-36957
Mitre link : CVE-2024-36957
CVE.ORG link : CVE-2024-36957
JSON object : View
Products Affected
debian
- debian_linux
linux
- linux_kernel
CWE
CWE-193
Off-by-one Error
