CVE-2026-138846: vfio/mlx5: Fix boundary check in set_report_output()
In the Linux kernel, the following vulnerability has been resolved:
vfio/mlx5: Fix boundary check in setreportoutput()
Use > instead of >= on boundary check of recvbuf to avoid the bug which the full message in the last slot of recvbuf is ignored even though the received data size does not overflow the recvbuf.
Affected Software
Event History
Frequently Asked Questions
What is the practical impact of this flaw?
A received message that exactly fills the final available slot in recv_buf can be ignored even though it does not exceed the buffer size. The provided information describes a message-handling failure, not a buffer overflow.
What component is affected?
The issue is in the Linux kernel vfio/mlx5 code path, specifically set_report_output(). Systems not using this kernel component are not indicated by the provided data as exposed.
What change resolves the issue?
The boundary check is changed from greater-than-or-equal to greater-than, allowing a message that exactly fits the remaining recv_buf capacity to be processed. The listed stable-kernel references contain the resolving changes.