CVE-2024-36957

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-36957
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36957.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-36957
Downstream
Related
Published
2024-05-30T16:15:18Z
Modified
2025-08-09T20:01:26Z
Summary
[none]
Details

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 memdupuser(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 memdupuser_nul instead.

References

Affected packages