CVEvulnerability

CVE-2024-36957

5.5 MEDIUM Published 2024-05-30 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-30
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-193

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.

Affected configurations

• linux linux kernel (>= 5.10.20 < 5.10.217) • linux linux kernel (>= 5.11.3 < 5.15.159) • linux linux kernel (>= 5.16 < 6.1.91) • linux linux kernel (>= 6.2 < 6.6.31) • linux linux kernel (>= 6.7 < 6.8.10) • linux linux kernel 6.9 • debian debian linux 10.0

Related

Weakness · CWE (1)

  • CWE-193 Off-by-one Error weakness

References