CVE-2024-36957 octeontx2-af: avoid off-by-one read from userspace
MediumCVSS 5.5
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
10 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 6.1.94-1; = 6.1.27-1; = 6.1.37-1; = 6.1.38-1 +20 more | 6.1.94-1 | Fixed |
| debian/linux(Debian 13) | < 6.8.11-1 | 6.8.11-1 | Fixed |
| debian/linux(Debian 14) | < 6.8.11-1 | 6.8.11-1 | Fixed |
| Linux kernel | < 5.10.217; < 5.15.159; < 6.1.91; < 6.6.31 +22 more | 0a0285cee11c7dcc2657bcd456e469958a5009e7, 5.10.217, 5.12, 5.15.159, 6.1.91, 6.6.31, 6.8.10, 6.9, 8f11fe3ea3fc261640cfc8a5addd838000407c67, bcdac70adceb44373da204c3c297f2a98e13216e, ec697fbd38cbe2eef0948b58673b146caa95402f, f299ee709fb45036454ca11e90cb2810fe771878, fc3e0076c1f82fe981d321e3a7bad4cbee542c19 | Fixed |
| ubuntu/linux(Ubuntu 22.04) | < 5.15.0-118.128 | 5.15.0-118.128 | Fixed |
| ubuntu/linux(Ubuntu 24.04) | < 6.8.0-40.40 | 6.8.0-40.40 | Fixed |
| ubuntu/linux-kvm(Ubuntu 22.04) | < 5.15.0-1064.69 | 5.15.0-1064.69 | Fixed |
| ubuntu/linux-raspi(Ubuntu 22.04) | < 5.15.0-1060.63 | 5.15.0-1060.63 | Fixed |
| ubuntu/linux-raspi(Ubuntu 24.04) | < 6.8.0-1009.10 | 6.8.0-1009.10 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:12) | < 6.1.94-1 | 6.1.94-1 |
| debian/linux(Debian:12) | = 6.1.27-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.37-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-2~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-3 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4 | No fix listed |
| debian/linux(Debian:12) | = 6.1.38-4~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.52-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.55-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.64-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.66-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.67-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.69-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.76-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.82-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.85-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.90-1~bpo11+1 | No fix listed |
| debian/linux(Debian:12) | = 6.1.94-1~bpo11+1 | No fix listed |
| debian/linux(Debian:13) | < 6.8.11-1 | 6.8.11-1 |
Show 33 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:14) | < 6.8.11-1 | 6.8.11-1 |
| ubuntu/linux(Ubuntu:22.04) | < 5.15.0-118.128 | 5.15.0-118.128 |
| ubuntu/linux-kvm(Ubuntu:22.04) | < 5.15.0-1064.69 | 5.15.0-1064.69 |
| ubuntu/linux-raspi(Ubuntu:22.04) | < 5.15.0-1060.63 | 5.15.0-1060.63 |
| Linux kernel | >= dae49384d0d7695540e2d75168f323cef1384810, < bcdac70adceb44373da204c3c297f2a98e13216e | bcdac70adceb44373da204c3c297f2a98e13216e |
| Linux kernel | >= 3a2eb515d1367c0f667b76089a6e727279c688b8, < ec697fbd38cbe2eef0948b58673b146caa95402f | ec697fbd38cbe2eef0948b58673b146caa95402f |
| Linux kernel | >= 3a2eb515d1367c0f667b76089a6e727279c688b8, < 8f11fe3ea3fc261640cfc8a5addd838000407c67 | 8f11fe3ea3fc261640cfc8a5addd838000407c67 |
| Linux kernel | >= 3a2eb515d1367c0f667b76089a6e727279c688b8, < 0a0285cee11c7dcc2657bcd456e469958a5009e7 | 0a0285cee11c7dcc2657bcd456e469958a5009e7 |
| Linux kernel | >= 3a2eb515d1367c0f667b76089a6e727279c688b8, < fc3e0076c1f82fe981d321e3a7bad4cbee542c19 | fc3e0076c1f82fe981d321e3a7bad4cbee542c19 |
| Linux kernel | >= 3a2eb515d1367c0f667b76089a6e727279c688b8, < f299ee709fb45036454ca11e90cb2810fe771878 | f299ee709fb45036454ca11e90cb2810fe771878 |
| Linux kernel | = c9a2ed3fdd037314a71e6a6ba5d99a3605f6f9c7 | No fix listed |
| Linux kernel | >= 5.10.20, < 5.10.217 | 5.10.217 |
| Linux kernel | >= 5.11.3, < 5.12 | 5.12 |
| Linux kernel | = 5.12 | No fix listed |
| Linux kernel | < 5.10.217 | 5.10.217 |
| Linux kernel | < 5.15.159 | 5.15.159 |
| Linux kernel | < 6.1.91 | 6.1.91 |
| Linux kernel | < 6.6.31 | 6.6.31 |
| Linux kernel | < 6.8.10 | 6.8.10 |
| Linux kernel | < 6.9 | 6.9 |
| ubuntu/linux(Ubuntu:24.04) | < 6.8.0-40.40 | 6.8.0-40.40 |
| ubuntu/linux-raspi(Ubuntu:24.04) | < 6.8.0-1009.10 | 6.8.0-1009.10 |
| Linux kernel | >= 5.11.3, < 5.15.159 | 5.15.159 |
| Linux kernel | >= 5.16, < 6.1.91 | 6.1.91 |
| Linux kernel | >= 6.2, < 6.6.31 | 6.6.31 |
| Linux kernel | >= 6.7, < 6.8.10 | 6.8.10 |
| Linux kernel | = 6.9-rc1 | No fix listed |
| Linux kernel | = 6.9-rc2 | No fix listed |
| Linux kernel | = 6.9-rc3 | No fix listed |
| Linux kernel | = 6.9-rc4 | No fix listed |
| Linux kernel | = 6.9-rc5 | No fix listed |
| Linux kernel | = 6.9-rc6 | No fix listed |
| debian linux | = 10.0 | No fix listed |
References
- Debian Security Tracker CVE-2024-36957 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6949-1 vendor-advisory
- USN-6950-1 vendor-advisory
- USN-6952-1 vendor-advisory
- USN-6955-1 vendor-advisory
- USN-6956-1 vendor-advisory
- USN-6957-1 vendor-advisory
- USN-6950-2 vendor-advisory
- USN-6950-3 vendor-advisory
- USN-6949-2 vendor-advisory
- USN-6952-2 vendor-advisory
- USN-6950-4 vendor-advisory
- USN-7019-1 vendor-advisory
- www.cve.org
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- git.kernel.org patch
- lists.debian.org third-party-advisory