RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read()
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read()
In flowinfo_read(), 'left' tracks the remaining space in the 512-byte stack buffer 'buf', but it is initialized to 'count'.
Initialize 'left' to sizeof(buf) instead of 'count'.
| Product | Versions |
|---|---|
| Linux Linux | 9f637f7936025aef57f247b11036bad18bb87c06 to before 875b349f707857929fb5b18b828086ee41e3d5ec Affected9f637f7936025aef57f247b11036bad18bb87c06 to before a9ac13fad8164df78ab4c0ce1dcd52ca4447557c Affected9f637f7936025aef57f247b11036bad18bb87c06 to before 04be621c532394fe2f9cf3a89ac9c89262501c4d Affected9f637f7936025aef57f247b11036bad18bb87c06 to before 66c674942ab419720dafef936aeb96550cc54e00 Affected9f637f7936025aef57f247b11036bad18bb87c06 to before b3fa5795365f81d615c29fb917557385ed0339fc Affected9f637f7936025aef57f247b11036bad18bb87c06 to before 2af04e769ef6a2f23b4212a2857cf981fd6dcdd2 Affected9f637f7936025aef57f247b11036bad18bb87c06 to before 7bc12ba4b3523faa9f1621a5e3a921604886930b Affected9f637f7936025aef57f247b11036bad18bb87c06 to before 9dd8b9a337af844291edcd9139c927d0f7958dbe Affected |
| Linux Linux | 3.14 Affectedbefore 3.14 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/875b349f707857929fb5b18b828086ee41e3d5ec
- https://git.kernel.org/stable/c/a9ac13fad8164df78ab4c0ce1dcd52ca4447557c
- https://git.kernel.org/stable/c/04be621c532394fe2f9cf3a89ac9c89262501c4d
- https://git.kernel.org/stable/c/66c674942ab419720dafef936aeb96550cc54e00
- https://git.kernel.org/stable/c/b3fa5795365f81d615c29fb917557385ed0339fc
- https://git.kernel.org/stable/c/2af04e769ef6a2f23b4212a2857cf981fd6dcdd2
- https://git.kernel.org/stable/c/7bc12ba4b3523faa9f1621a5e3a921604886930b
- https://git.kernel.org/stable/c/9dd8b9a337af844291edcd9139c927d0f7958dbe
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.