[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM0PR04MB6754E3B8539225BF459DD2FB96739@AM0PR04MB6754.eurprd04.prod.outlook.com>
Date: Fri, 9 Apr 2021 12:46:09 +0000
From: Claudiu Manoil <claudiu.manoil@....com>
To: Dan Carpenter <dan.carpenter@...cle.com>
CC: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Vladimir Oltean <vladimir.oltean@....com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>
Subject: RE: [PATCH net-next] net: enetc: fix array underflow in error
handling code
>-----Original Message-----
>From: Dan Carpenter <dan.carpenter@...cle.com>
[...]
>Subject: [PATCH net-next] net: enetc: fix array underflow in error handling
>code
>
>This loop will try to unmap enetc_unmap_tx_buff[-1] and crash.
>
>Fixes: 9d2b68cc108d ("net: enetc: add support for XDP_REDIRECT")
>Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@....com>
Powered by blists - more mailing lists