CVE-2024-36957
octeontx2-af: avoid off-by-one read from userspace
Reported by linux · Published May 30, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | fc3e0076c1f82fe981d321e3a7bad4cbee542c19, f299ee709fb45036454ca11e90cb2810fe771878, ec697fbd38cbe2eef0948b58673b146caa95402f, bcdac70adceb44373da204c3c297f2a98e13216e, 8f11fe3ea3fc261640cfc8a5addd838000407c67, 0a0285cee11c7dcc2657bcd456e469958a5009e7 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | dae49384d0d7695540e2d75168f323cef1384810, 3a2eb515d1367c0f667b76089a6e727279c688b8, 3a2eb515d1367c0f667b76089a6e727279c688b8 |
| Linux | Linux | 5.12, 0, 5.10.217 |
| Linux | Linux | 5.11.3, 5.10.217, 5.15.159 |
| linux | linux_kernel | 5.12, 5.12, 5.12 |
Timeline
- May 30, 2024 CVE Published
- May 31, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
- Jan 9, 2026 Security Advisory (330 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (234 in total, the first dated here)
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-36957
vulnetix vdb fixes CVE-2024-36957
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-36957/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart