[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180125060938.GD14192@breakpoint.cc>
Date: Thu, 25 Jan 2018 07:09:38 +0100
From: Florian Westphal <fw@...len.de>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Pablo Neira Ayuso <pablo@...filter.org>,
Florian Westphal <fw@...len.de>,
netdev <netdev@...r.kernel.org>, netfilter-devel@...r.kernel.org
Subject: Re: [PATCH v2 net] netfilter: x_tables: avoid out-of-bounds reads in
xt_request_find_{match|target}
Eric Dumazet <eric.dumazet@...il.com> wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> It looks like syzbot found its way into netfilter territory.
>
> Issue here is that @name comes from user space and might
> not be null terminated.
>
> Out-of-bound reads happen, KASAN is not happy.
>
> v2 added similar fix for xt_request_find_target(),
> as Florian advised.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Thanks a lot Eric!
Acked-by: Florian Westphal <fw@...len.de>
Powered by blists - more mailing lists