[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170228115002.GA20068@salvia>
Date: Tue, 28 Feb 2017 12:50:02 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Daniel J Blueman <daniel@...ra.org>
Cc: Florian Westphal <fw@...len.de>, Netdev <netdev@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
David Ahern <dsa@...ulusnetworks.com>,
Jan Beulich <JBeulich@...e.com>,
Eric Dumazet <eric.dumazet@...il.com>,
netfilter-devel@...r.kernel.org
Subject: Re: [4.9.10] ip_route_me_harder() reading off-slab
On Mon, Feb 27, 2017 at 10:41:48PM +0800, Daniel J Blueman wrote:
> On 17 February 2017 at 15:39, Florian Westphal <fw@...len.de> wrote:
> > Daniel J Blueman <daniel@...ra.org> wrote:
> >
> > [ CC nf-devel, pablo ]
> >
> >> When booting a VM in libvirt/KVM attached to a local bridge and KASAN
> >> enabled on 4.9.10, we see a stream of KASAN warnings about off-slab
> >> access [1].
> >>
> >> Let me know if you'd like more debug.
> >
> > Does this patch help?
> >
> > Subject: [PATCH nf] netfilter: use skb_to_full_sk in ip_route_me_harder
> >
> > inet_sk(skb->sk) is illegal in case skb is attached to request socket.
> >
> > Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener")
> > Reported by: Daniel J Blueman <daniel@...ra.org>
> > Signed-off-by: Florian Westphal <fw@...len.de>
[...]
> Apologies for the delays; this also addresses the issue just fine.
>
> Tested-by: Daniel J Blueman <daniel@...ra.org>
Applied, thanks for testing.
Powered by blists - more mailing lists