Lucene search

K
ubuntucveUbuntu.comUB:CVE-2024-36957
HistoryMay 30, 2024 - 12:00 a.m.

CVE-2024-36957

2024-05-3000:00:00
ubuntu.com
ubuntu.com
4
linux kernel
cve-2024-36957
octeontx2-af
off-by-one read
userspace
memdup_user
memdup_user_nul

AI Score

8.6

Confidence

High

EPSS

0

Percentile

10.3%

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.