[PATCH v2] net: missing check virtio

2024-06-14 Thread Denis Arefev
Yeah, I was thinking of adding Fixes: But this code is new, it complements what is done. 1. check (!(ret && (hdr->gso_size > needed) && ((remainder > needed) || (remainder == 0 complements comit 0f6925b3e8da0 2. The setting of the SKBFL_SHARED_FRAG flag can be associated wit

[PATCH v2] net: missing check virtio

2024-06-13 Thread Denis Arefev
me+0x63/0x6b Found by Linux Verification Center (linuxtesting.org) with Syzkaller Signed-off-by: Denis Arefev --- V1 -> V2: incorrect type in argument 2 include/linux/virtio_net.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/virtio_net.h b/include/linux/vir

[PATCH] net: missing check

2024-06-06 Thread Denis Arefev
me+0x63/0x6b Signed-off-by: Denis Arefev --- include/linux/virtio_net.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/linux/virtio_net.h b/include/linux/virtio_net.h index 4dfa9b69ca8d..77ebe908d746 100644 --- a/include/linux/virtio_net.h +++ b/include/linux/virtio_ne