Jason Wang
2220e8189f
virtio-net: correctly copy vnet header when flushing TX
...
When HASH_REPORT is negotiated, the guest_hdr_len might be larger than
the size of the mergeable rx buffer header. Using
virtio_net_hdr_mrg_rxbuf during the header swap might lead a stack
overflow in this case. Fixing this by using virtio_net_hdr_v1_hash
instead.
Reported-by: Xiao Lei <leixiao.nop@zju.edu.cn>
Cc: Yuri Benditovich <yuri.benditovich@daynix.com>
Cc: qemu-stable@nongnu.org
Cc: Mauro Matteo Cascella <mcascell@redhat.com>
Fixes: CVE-2023-6693
Fixes: e22f0603fb2f ("virtio-net: reference implementation of hash report")
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2024-01-25 14:58:00 +08:00
..
2024-01-05 16:20:15 +01:00
2023-11-21 15:42:34 +08:00
2023-11-21 15:42:34 +08:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-01-05 22:28:54 +03:00
2023-12-30 07:38:06 +11:00
2023-03-10 15:35:38 +08:00
2023-09-20 07:54:34 +03:00
2023-12-30 07:38:06 +11:00
2023-09-18 14:36:13 +08:00
2023-05-23 15:20:15 +08:00
2023-12-30 07:38:06 +11:00
2023-05-23 15:20:15 +08:00
2023-05-23 15:20:15 +08:00
2023-09-20 07:54:34 +03:00
2023-12-30 07:38:06 +11:00
2023-11-21 15:42:34 +08:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2020-03-31 21:14:35 +08:00
2023-11-13 15:33:37 +08:00
2023-11-13 15:33:37 +08:00
2023-11-13 15:33:37 +08:00
2023-09-20 07:54:34 +03:00
2023-12-30 07:38:06 +11:00
2023-11-13 15:33:37 +08:00
2023-12-30 07:38:06 +11:00
2023-07-14 11:10:57 +02:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-11-21 15:42:34 +08:00
2023-12-31 09:11:28 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2019-08-16 13:31:52 +02:00
2023-05-23 15:20:15 +08:00
2023-05-23 15:20:15 +08:00
2023-05-23 15:20:15 +08:00
2023-05-23 15:20:15 +08:00
2023-12-30 07:38:06 +11:00
2023-11-21 15:42:34 +08:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2022-11-11 09:39:03 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-11-13 15:33:37 +08:00
2020-08-21 06:18:24 -04:00
2023-12-30 07:38:06 +11:00
2020-09-18 14:12:32 -04:00
2023-01-08 01:54:22 -05:00
2023-10-06 10:56:54 +02:00
2024-01-25 14:58:00 +08:00
2017-11-20 11:08:00 +08:00
2023-01-08 01:54:22 -05:00
2023-12-30 07:38:06 +11:00
2023-09-20 07:54:34 +03:00
2016-07-12 16:20:46 +02:00
2024-01-08 10:45:43 -05:00
2023-12-30 07:38:06 +11:00
2023-11-21 15:42:34 +08:00
2023-11-21 15:42:34 +08:00