Return-Path: Received: from ozlabs.org ([103.22.144.67]:37060 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751624AbbLNCoa (ORCPT ); Sun, 13 Dec 2015 21:44:30 -0500 Date: Mon, 14 Dec 2015 13:44:26 +1100 From: Paul Mackerras To: Sasha Levin , linux-kernel@vger.kernel.org Cc: Herbert Xu , "David S. Miller" , stable@vger.kernel.org Subject: Bad backport of "net: Fix skb_set_peeked use-after-free bug" in 3.18.23 Message-ID: <20151214024426.GA23275@iris.ozlabs.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: stable-owner@vger.kernel.org List-ID: Commit d9a1133495b4 ("net: Fix skb_set_peeked use-after-free bug") in 3.18.23 claims to be a backport of commit a0a2a6602496, but in fact the patch is identical to commit 738ac1ebb96d ("net: Clone skb before setting peeked flag"), which is the commit that introduces the use-after-free bug that a0a2a6602496 fixes. The result is that we have been seeing crashes in __skb_recv_datagram since I merged v3.18.24 into the kernel code we are using for a product. Could someone fix this with an actual backport of a0a2a6602496 please? Thanks, Paul.