[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89i+KkT2nzdb4R=gfvKWw3oqnBZQx+umAT+5zFsUrLvZQoA@mail.gmail.com>
Date: Wed, 18 Dec 2024 11:40:04 +0100
From: Eric Dumazet <edumazet@...gle.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next] net: netlink: catch attempts to send empty messages
On Wed, Dec 18, 2024 at 3:44 AM Jakub Kicinski <kuba@...nel.org> wrote:
>
> syzbot can figure out a way to redirect a netlink message to a tap.
> Sending empty skbs to devices is not valid and we end up hitting
> a skb_assert_len() in __dev_queue_xmit().
>
> Make catching these mistakes easier, assert the skb size directly
> in netlink core.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Eric Dumazet <edumazet@...gle.com>
Powered by blists - more mailing lists