CVE-2024-36957

octeontx2-af: avoid off-by-one read from userspace

published May 30, 2024

CVSS
—
EPSS
0%
Percentile
14.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00238 · 14.0th percentile
Published
2024-05-30T15:35Z
EPSS history
Timeline
  • 30 MAY 15:35Z
    octeontx2-af: avoid off-by-one read from userspace
    cvelistv5