[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190116.133558.743213363069866279.davem@davemloft.net>
Date: Wed, 16 Jan 2019 13:35:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ross.lagerwall@...rix.com
Cc: netdev@...r.kernel.org, pshelar@....org, dev@...nvswitch.org
Subject: Re: [PATCH] openvswitch: Avoid OOB read when parsing flow nlattrs
From: Ross Lagerwall <ross.lagerwall@...rix.com>
Date: Mon, 14 Jan 2019 09:16:56 +0000
> For nested and variable attributes, the expected length of an attribute
> is not known and marked by a negative number. This results in an OOB
> read when the expected length is later used to check if the attribute is
> all zeros. Fix this by using the actual length of the attribute rather
> than the expected length.
>
> Signed-off-by: Ross Lagerwall <ross.lagerwall@...rix.com>
Applied.
Powered by blists - more mailing lists