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 <[email protected]> Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
- Loading branch information