[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200312.155113.707852640601289044.davem@davemloft.net>
Date: Thu, 12 Mar 2020 15:51:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: f.fainelli@...il.com, bcm-kernel-feedback-list@...adcom.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: systemport: fix index check to avoid an array out
of bounds access
From: Colin King <colin.king@...onical.com>
Date: Thu, 12 Mar 2020 15:04:30 +0000
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently the bounds check on index is off by one and can lead to
> an out of bounds access on array priv->filters_loc when index is
> RXCHK_BRCM_TAG_MAX.
>
> Fixes: bb9051a2b230 ("net: systemport: Add support for WAKE_FILTER")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists