CVEvulnerability
CVE-2024-36957
5.5 MEDIUM
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
- https://git.kernel.org/stable/c/0a0285cee11c7dcc2657bcd456e469958a5009e7 Patch
- https://git.kernel.org/stable/c/8f11fe3ea3fc261640cfc8a5addd838000407c67 Patch
- https://git.kernel.org/stable/c/bcdac70adceb44373da204c3c297f2a98e13216e Patch
- https://git.kernel.org/stable/c/ec697fbd38cbe2eef0948b58673b146caa95402f Patch
- https://git.kernel.org/stable/c/f299ee709fb45036454ca11e90cb2810fe771878 Patch
- https://git.kernel.org/stable/c/fc3e0076c1f82fe981d321e3a7bad4cbee542c19 Patch
- https://git.kernel.org/stable/c/0a0285cee11c7dcc2657bcd456e469958a5009e7 Patch
- https://git.kernel.org/stable/c/8f11fe3ea3fc261640cfc8a5addd838000407c67 Patch
- https://git.kernel.org/stable/c/bcdac70adceb44373da204c3c297f2a98e13216e Patch
- https://git.kernel.org/stable/c/ec697fbd38cbe2eef0948b58673b146caa95402f Patch
- https://git.kernel.org/stable/c/f299ee709fb45036454ca11e90cb2810fe771878 Patch
- https://git.kernel.org/stable/c/fc3e0076c1f82fe981d321e3a7bad4cbee542c19 Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html Third Party Advisory