Skip to main content
← All vulnerabilities
CVE-2024-36957

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.217, 5.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.10.20 · fixed in 5.10.217; From 5.11.3 · fixed in 5.12

  • Linux Linux

    5.12

References 6

git.kernel.org