On Mon, 9 Nov 2026 at 05:31, Akihiko Odaki <[email protected]> wrote: > > eth_get_protocols() already rejects some out-of-bounds offsets found in > packets. Add a missing check for TCP data offset. > > Fixes: eb700029c783 ("net_pkt: Extend packet abstraction as required by > e1000e functionality") > Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/4155 > Cc: [email protected] > Signed-off-by: Akihiko Odaki <[email protected]> > --- > net/eth.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Peter Maydell <[email protected]> thanks -- PMM
