diff options
| author | Seongjun Hong <hsj0512@snu.ac.kr> | 2026-10-05 16:16:29 +0000 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-10-09 14:01:58 -0600 |
| commit | 37b2ee6747b7857920ebc71eabc25208a39164a4 (patch) | |
| tree | ef30263209225ed30fe9d88bf7a6db3c6f95f918 /tools/lib/python/kdoc/python_version.py | |
| parent | 3b2e9b05011ee74543b6d17401bb02f1df3b93ff (diff) | |
| download | linux-next-37b2ee6747b7857920ebc71eabc25208a39164a4.tar.gz linux-next-37b2ee6747b7857920ebc71eabc25208a39164a4.zip | |
vfio/mlx5: Fix boundary check in set_report_output()
Use > instead of >= on boundary check of recv_buf to avoid the bug which
the full message in the last slot of recv_buf is ignored even though the
received data size does not overflow the recv_buf.
Fixes: 9c7c5430bca3 ("vfio/mlx5: Align the page tracking max message size with the device capability")
Cc: stable@vger.kernel.org
Reviewed-by: Yishai Hadas <yishaih@nvidia.com>
Signed-off-by: Seongjun Hong <hsj0512@snu.ac.kr>
Link: https://lore.kernel.org/r/20261005-vfio-mlx5-fix-boundary-check-v2-1-75599d2f4497@snu.ac.kr
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
