[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181204.202905.633135306569599890.davem@davemloft.net>
Date: Tue, 04 Dec 2018 20:29:05 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
john.fastabend@...il.com, idosch@...lanox.com, dsahern@...il.com
Subject: Re: [PATCH net] rtnetlink: ndo_dflt_fdb_dump() only work for
ARPHRD_ETHER devices
From: Eric Dumazet <edumazet@...gle.com>
Date: Tue, 4 Dec 2018 09:40:35 -0800
> kmsan was able to trigger a kernel-infoleak using a gre device [1]
>
> nlmsg_populate_fdb_fill() has a hard coded assumption
> that dev->addr_len is ETH_ALEN, as normally guaranteed
> for ARPHRD_ETHER devices.
>
> A similar issue was fixed recently in commit da71577545a5
> ("rtnetlink: Disallow FDB configuration for non-Ethernet device")
...
> Fixes: d83b06036048 ("net: add fdb generic dump routine")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists