NetSight
medium5.5

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 use…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.10.20 before 5.10.217
from 5.11.3 before 5.15.159
from 5.16 before 6.1.91
from 6.2 before 6.6.31
from 6.7 before 6.8.10
Version 6.9
DebianDebian Linux
Version 10.0

Weakness classification

References