[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180605.123033.315077711187385932.davem@davemloft.net>
Date: Tue, 05 Jun 2018 12:30:33 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, dsahern@...il.com
Subject: Re: [PATCH v2 net-next] net: metrics: add proper netlink validation
From: Eric Dumazet <edumazet@...gle.com>
Date: Tue, 5 Jun 2018 06:06:19 -0700
> Before using nla_get_u32(), better make sure the attribute
> is of the proper size.
>
> Code recently was changed, but bug has been there from beginning
> of git.
...
> Fixes: a919525ad832 ("net: Move fib_convert_metrics to metrics file")
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
> Cc: David Ahern <dsahern@...il.com>
> ---
> v2: fixed a typo.
Applied and queued up for -stable, thanks Eric.
Powered by blists - more mailing lists