Vulnerability in Linux
CVE-2024-36957
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 14.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 5.15.159, 6.9, 3a2eb515d1367c0f667b76089a6e727279c688b8
- Linux Kernel — versions 6.9
- Debian Linux — versions 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/bcdac70adceb44373da204c3c297f2a98e13216e (Patch)
- git.kernel.org/stable/c/ec697fbd38cbe2eef0948b58673b146caa95402f (Patch)
- git.kernel.org/stable/c/8f11fe3ea3fc261640cfc8a5addd838000407c67 (Patch)
- git.kernel.org/stable/c/0a0285cee11c7dcc2657bcd456e469958a5009e7 (Patch)
- git.kernel.org/stable/c/fc3e0076c1f82fe981d321e3a7bad4cbee542c19 (Patch)
- git.kernel.org/stable/c/f299ee709fb45036454ca11e90cb2810fe771878 (Patch)
- lists.debian.org/debian-lts-announce/2024/06/msg00019.html (Third Party Advisory)