Re: [PATCH net] virtio-net: zero unused hash fields
From: Jason Wang <hidden>
Date: 2025-10-22 03:42:08
Also in:
lkml, stable, virtualization
From: Jason Wang <hidden>
Date: 2025-10-22 03:42:08
Also in:
lkml, stable, virtualization
On Tue, Oct 21, 2025 at 4:28 PM Michael S. Tsirkin [off-list ref] wrote:
On Tue, Oct 21, 2025 at 12:01:55PM +0800, Jason Wang wrote:quoted
When GSO tunnel is negotiated virtio_net_hdr_tnl_from_skb() tries to initialize the tunnel metadata but forget to zero unused rxhash fields. This may leak information to another side. Fixing this by zeroing the unused hash fields. Fixes: a2fb4bc4e2a6a ("net: implement virtio helpers to handle UDP GSO tunneling")x
I just spotted this has an unnecessary trailing 'x'. Will post V2.
quoted
Cc: <redacted> Signed-off-by: Jason Wang <redacted>Acked-by: Michael S. Tsirkin <mst@redhat.com>
Thanks