CVE-2024-36957Off-by-one Error in Linux

CWE-193Off-by-one Error28 documents6 sources
Severity
5.5MEDIUMNVD
OSV6.5
EPSS
0.0%
top 91.66%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 30
Latest updateSep 18

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 vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages5 packages

NVDlinux/linux_kernel5.10.205.10.217+5
Debianlinux/linux_kernel< 5.10.218-1+3
Ubuntulinux/linux_kernel< 5.15.0-118.128+1
CVEListV5linux/linuxdae49384d0d7695540e2d75168f323cef1384810bcdac70adceb44373da204c3c297f2a98e13216e+7
debiandebian/linux< linux 6.1.94-1 (bookworm)

Also affects: Debian Linux 10.0

Patches

🔴Vulnerability Details

13
OSV
linux-xilinx-zynqmp vulnerabilities2024-09-18
OSV
linux-hwe-5.15 vulnerabilities2024-08-21
OSV
linux-oracle-5.15 vulnerabilities2024-08-13
OSV
linux-oracle vulnerabilities2024-08-13
OSV
linux-lowlatency, linux-raspi vulnerabilities2024-08-13

📋Vendor Advisories

13
Ubuntu
Linux kernel vulnerabilities2024-09-18
Ubuntu
Linux kernel (HWE) vulnerabilities2024-08-21
Ubuntu
Linux kernel (Oracle) vulnerabilities2024-08-13
Ubuntu
Linux kernel (Oracle) vulnerabilities2024-08-13
Ubuntu
Linux kernel vulnerabilities2024-08-13

💬Community

1
Bugzilla
CVE-2024-36957 kernel: octeontx2-af: avoid off-by-one read from userspace2024-06-03