Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/virtio: fix Rx checksum calculation
If hdr->csum_start is larger than packet length, the len argument passed to rte_raw_cksum_mbuf() overflows and causes a segmentation fault. Ignore checksum computation in this case. CVE-2024-11614 Fixes: ca7036b ("vhost: fix offload flags in Rx path") Signed-off-by: Maxime Gouin <maxime.gouin@6wind.com> Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
- Loading branch information