[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170815.170654.981410365504343461.davem@davemloft.net>
Date: Tue, 15 Aug 2017 17:06:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] ipv6: fix NULL dereference in
ip6_route_dev_notify()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 15 Aug 2017 04:09:51 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> Based on a syzkaller report [1], I found that a per cpu allocation
> failure in snmp6_alloc_dev() would then lead to NULL dereference in
> ip6_route_dev_notify().
>
> It seems this is a very old bug, thus no Fixes tag in this submission.
>
> Let's add in6_dev_put_clear() helper, as we will probably use
> it elsewhere (once available/present in net-next)
...
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Dmitry Vyukov <dvyukov@...gle.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists