Lucene search

K
osvGoogleOSV:CVE-2024-36957
HistoryMay 30, 2024 - 4:15 p.m.

CVE-2024-36957

2024-05-3016:15:00
Google
osv.dev
1
linux kernel
octeontx2-af
vulnerability
off-by-one read
userspace

AI Score

6.7

Confidence

Low

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.