[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200910.150425.1073221782210309746.davem@davemloft.net>
Date: Thu, 10 Sep 2020 15:04:25 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lorenzo@...nel.org
Cc: netdev@...r.kernel.org, lorenzo.bianconi@...hat.com,
kuba@...nel.org, thomas.petazzoni@...tlin.com, brouer@...hat.com,
echaudro@...hat.com
Subject: Re: [PATCH net] net: mvneta: fix possible use-after-free in
mvneta_xdp_put_buff
From: Lorenzo Bianconi <lorenzo@...nel.org>
Date: Thu, 10 Sep 2020 11:08:01 +0200
> Release first buffer as last one since it contains references
> to subsequent fragments. This code will be optimized introducing
> multi-buffer bit in xdp_buff structure.
>
> Fixes: ca0e014609f05 ("net: mvneta: move skb build after descriptors processing")
> Signed-off-by: Lorenzo Bianconi <lorenzo@...nel.org>
Applied, thank you.
Powered by blists - more mailing lists