[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150306.151919.1394197533340244306.davem@davemloft.net>
Date: Fri, 06 Mar 2015 15:19:19 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: rshearma@...cade.com
Cc: netdev@...r.kernel.org, ebiederm@...ssion.com
Subject: Re: [PATCH net-next] mpls: Properly validate RTA_VIA payload length
From: Robert Shearman <rshearma@...cade.com>
Date: Fri, 6 Mar 2015 10:47:00 +0000
> If the nla length is less than 2 then the nla data could be accessed
> beyond the accessible bounds. So ensure that the nla is big enough to
> at least read the via_family before doing so. Replace magic value of
> 2.
>
> Fixes: 03c0566542f4 ("mpls: Basic support for adding and removing routes")
> Cc: Eric W. Biederman <ebiederm@...ssion.com>
> Signed-off-by: Robert Shearman <rshearma@...cade.com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists