[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200204.092817.704234794848111610.davem@davemloft.net>
Date: Tue, 04 Feb 2020 09:28:17 +0100 (CET)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
syzkaller@...glegroups.com
Subject: Re: [PATCH net] net: hsr: fix possible NULL deref in
hsr_handle_frame()
From: Eric Dumazet <edumazet@...gle.com>
Date: Mon, 3 Feb 2020 10:15:07 -0800
> hsr_port_get_rcu() can return NULL, so we need to be careful.
...
> Fixes: c5a759117210 ("net/hsr: Use list_head (and rcu) instead of array for slave devices.")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists