Re: [PATCH net] net/ipv6: don't route packets with unknown source address
Íñigo Huguet <[email protected]>
| Newsgroups | gmane.comp.security.firewalls.netfilter.devel,gmane.linux.network,gmane.linux.kernel,gmane.linux.kernel.bpf |
|---|---|
| Message-ID | <CACT4oueX-g20hKft6Z1Aj3rNK2Fi7MYHZz=LdBd3RKWu+YK-0A@mail.gmail.com> |
On Tue, Sep 1, 2026 at 7:41 PM Matthieu Baerts <[email protected]> wrote: > Thank you for looking at this, but I think your patch is causing > multiple KASAN warnings, e.g. > > https://netdev-ctrl.bots.linux.dev/logs/vmksft/net-extra-dbg/results/804584/24-connect-deny-ipv6/stderr > > And a few more, see: > > https://netdev.bots.linux.dev/branch_deltas/net-next-2026-09-01--15-01.html As far as I can see all the warnings are in the tcp_v6_send_response function. I guess that sk may be a request socket there, so it's not valid to treat it as a inet_sk in all cases. I will send a v2 with the fix. Thanks! -- Íñigo Huguet