CVE-2026-139287: RDMA/usnic: Bound buffer size to sizeof(buf) in flowinfo_read()
In the Linux kernel, the following vulnerability has been resolved:
RDMA/usnic: Bound buffer size to sizeof(buf) in flowinforead()
In flowinforead(), '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'.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In RDMA/usnic flowinfo_read(), initialize 'left' to sizeof(buf) instead of 'count' so the buffer size is bounded to sizeof(buf).