Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp3243589ybh; Mon, 16 Mar 2020 19:03:05 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtkC3hDa0YZDRc0Zhs0MMILGPvV71Etcip/NkiHp/xwoL1KbON6cDhDmyA8qgcVMTeAROw8 X-Received: by 2002:a9d:c24:: with SMTP id 33mr1825687otr.355.1584410584787; Mon, 16 Mar 2020 19:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584410584; cv=none; d=google.com; s=arc-20160816; b=0UmIThS8p3bLQOg/bCZeG7VYjDHgRb2LoGMiSraUZOjQ/iRMYXmgQV8n1k6HSGoBNt PE+niKCZ3A22B0IM2Am5NcYaKJDmBJ4ntYExG35Dlt9ev2g+yI/P6U6B9BOjKbUTy3gl NMKGiTA47f5vuYUCiOJCNoAFNA/pRrl0grNpcEVMZ80FOiBgHFGwwaAzacFKAYskjpka WNcUtJ+7RJ8AU7sRyKBUj/4XB8+MsI3bld1EQv4G1b94AnLjWrqu9yMJ/dQhYbIA0Bcp wrEJNMncGKf15njqtcnPrrdZjtFdst0i3e1PALRQTTHI2tyJDWtoex5pmv+HBAu0lCAG zfxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=1e3BrBrmNyBDrAaRxFiakQNP2vXneExVjGhELtIPG1s=; b=ZH9PwYxO1ExOPfLpDzVAXMxEJ8GT6wYW1qQK8wmyVu7BDDPfnPD39JX9QjyzMpoK6A c/mih48AiqthOXJH4qSeae0VCcRxqqmlqOk5u6B7HLUT0X/BHMgeQwjdUhAmNcgj5Plb vaukyIuB54KvfeWkyEA0KK/c01GqFDUjg9nRWUdoXRolQb1IDCpdeS1lUc5rO2DSGuUq 3HAqJgdymY/3KC8cGhCYQzsXXOafm6VqmiEvr1VUYodnEpERZp0jsw9lgoe8b3cQwGVh jaVlomJd/KAA4Ok8ikXgy48kalgCysVihf+MaWGC3Xku3RQsa6fAqXD0m8VYVDG3q+Mi 4iPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si891450oif.164.2020.03.16.19.02.33; Mon, 16 Mar 2020 19:03:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733178AbgCQBZM (ORCPT + 99 others); Mon, 16 Mar 2020 21:25:12 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:50588 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733114AbgCQBZL (ORCPT ); Mon, 16 Mar 2020 21:25:11 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 232ED157A55C2; Mon, 16 Mar 2020 18:25:11 -0700 (PDT) Date: Mon, 16 Mar 2020 18:25:10 -0700 (PDT) Message-Id: <20200316.182510.943116149103375831.davem@davemloft.net> To: hqjagain@gmail.com Cc: vyasevich@gmail.com, nhorman@tuxdriver.com, marcelo.leitner@gmail.com, kuba@kernel.org, linux-sctp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sctp: fix refcount bug in sctp_wfree From: David Miller In-Reply-To: <1584330804-18477-1-git-send-email-hqjagain@gmail.com> References: <1584330804-18477-1-git-send-email-hqjagain@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 16 Mar 2020 18:25:11 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Qiujun Huang Date: Mon, 16 Mar 2020 11:53:24 +0800 > Do accounting for skb's real sk. > In some case skb->sk != asoc->base.sk. > > Reported-and-tested-by: syzbot+cea71eec5d6de256d54d@syzkaller.appspotmail.com > Signed-off-by: Qiujun Huang SCTP folks, please review.