Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.10.20, < 5.10.217 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/0a0285cee11c7dcc2657bcd456e469958a5009e7Patch
- https://git.kernel.org/stable/c/8f11fe3ea3fc261640cfc8a5addd838000407c67Patch
- https://git.kernel.org/stable/c/bcdac70adceb44373da204c3c297f2a98e13216ePatch
- https://git.kernel.org/stable/c/ec697fbd38cbe2eef0948b58673b146caa95402fPatch
- https://git.kernel.org/stable/c/f299ee709fb45036454ca11e90cb2810fe771878Patch
- https://git.kernel.org/stable/c/fc3e0076c1f82fe981d321e3a7bad4cbee542c19Patch
- https://git.kernel.org/stable/c/0a0285cee11c7dcc2657bcd456e469958a5009e7Patch
- https://git.kernel.org/stable/c/8f11fe3ea3fc261640cfc8a5addd838000407c67Patch
- https://git.kernel.org/stable/c/bcdac70adceb44373da204c3c297f2a98e13216ePatch
- https://git.kernel.org/stable/c/ec697fbd38cbe2eef0948b58673b146caa95402fPatch
- https://git.kernel.org/stable/c/f299ee709fb45036454ca11e90cb2810fe771878Patch
- https://git.kernel.org/stable/c/fc3e0076c1f82fe981d321e3a7bad4cbee542c19Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.htmlThird Party Advisory
FAQ
What is CVE-2024-36957?
CVE-2024-36957 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 +...
How severe is CVE-2024-36957?
CVE-2024-36957 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-36957?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Debian Debian Linux.