Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp383573pxb; Thu, 9 Sep 2021 03:11:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynaXM84NG80iRfKdiq7VQN5nbHrn7BlaEZskj+IqcC3lg6hwgdNgCEr5MvWyE434RbE+/n X-Received: by 2002:a92:cb4d:: with SMTP id f13mr1678183ilq.220.1631182304672; Thu, 09 Sep 2021 03:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631182304; cv=none; d=google.com; s=arc-20160816; b=BGW8DUibWFL4qBnFyQOE2X+MHVixhk7uSOYD7WuieVL78gpIXs/qBMvSG8a96HNYtY ypD30CfmJ/tzG4dZlgcfgX58E+PKFkpw6GSVJ+hBZQI39JT+OPxF7CDc+m4Lw4AKRMJQ XTrmdA56BkjOv1ViZyYnPYL6dbOtptEVLP8k5YlZFNIgUIMDkUyJC1dLhbkwJrZb9K7Z 1BBFuMuqLDQhlx5q8cWL5SowNDjVcwyhP0s+CZ9zux9KEADPGZTEeLPMH6oaQ4ces+hW WhhOm+ocncEh6B4GrZ8iMKEAfw61loDUE31LoblOYGtuyR4Dy90A86nhGMxRSweiA3FI 4tPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=4mgguveftF7OHxZ2BqU7jj1IB9REnwY+P2MYl2E0K8s=; b=tPMJSdnKSMC02h3qdkvcIdDzm7lmIrd6QV3zTkAE08ZmnId31hN9huDsaeeUpikAQR 6Xcp8F4XEkVlYTSdZUwFf8ftMS89XfOT4NPE6mVNVIG3SJpJTIvwxWF7//QJj6AIXWgk tDu3aXw6XX6Lsj7XGXmrBInLYAmTKFy8fMk028x2sg83xuVsXswbi2NY8M3iMkTHA8b9 pInBrrhzUWWYt+Ou5GmEmXJEIc3bLoyH3tmyqRC/HiHo6P5riKMhlp6jOfbeObX88RDK QnBVVrL3bjjsjmMBT8Gzhk1KmkZvwwbAHO4M1ryQVmBh+SV0DSDEAZX+wg5BJaLRY3Ho hLTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jWiUBsgK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x13si1299542jat.3.2021.09.09.03.11.21; Thu, 09 Sep 2021 03:11:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jWiUBsgK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233283AbhIIKLQ (ORCPT + 99 others); Thu, 9 Sep 2021 06:11:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:35362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229995AbhIIKLP (ORCPT ); Thu, 9 Sep 2021 06:11:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id D4EFE611BF; Thu, 9 Sep 2021 10:10:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631182205; bh=QxT3fn/2AlcEEnFYGDVZBVWiTKAzLWH/T46UtW2QvlM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=jWiUBsgKPjobtgUIOMPkO24j9MOVGT3Mk52uQtVi73Fhi273l5JPd23rF1aVLHhYo anyjSwUl6dvg13Ts30a09uCWR/OiwE6nWcPvvo0CPv1Z5oHMu+1uewWHirgRPWEufz fsR4gvvTq/fpayAX6YcTTYGxX/0ItDGyBh9NQjqwrjvOQHfZqNJQEr52zEbSshtaD4 +EUDa88ftQcSSQI8t3H7iJ+pGSYMqK9D2ishlrtvqJ2iiyOZLDIOSHmZE3ZZTbYGQc byerB7q6jXteuiGKCslWsFmUyi+BfZs15SGAQaIynmy8RSQv8AhdCkZTgJkFlCQpMR EftmTidveO2+Q== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id C434D609B3; Thu, 9 Sep 2021 10:10:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net/l2tp: Fix reference count leak in l2tp_udp_recv_core From: patchwork-bot+netdevbpf@kernel.org Message-Id: <163118220579.5425.12106062593104107133.git-patchwork-notify@kernel.org> Date: Thu, 09 Sep 2021 10:10:05 +0000 References: <1631161930-77772-1-git-send-email-xiyuyang19@fudan.edu.cn> In-Reply-To: <1631161930-77772-1-git-send-email-xiyuyang19@fudan.edu.cn> To: Xiyu Yang Cc: davem@davemloft.net, kuba@kernel.org, cong.wang@bytedance.com, rdunlap@infradead.org, tparkin@katalix.com, xiongx18@fudan.edu.cn, sishuai@purdue.edu, mschiffer@universe-factory.net, unixbhaskar@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, yuanxzhang@fudan.edu.cn, tanxin.ctf@gmail.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Thu, 9 Sep 2021 12:32:00 +0800 you wrote: > The reference count leak issue may take place in an error handling > path. If both conditions of tunnel->version == L2TP_HDR_VER_3 and the > return value of l2tp_v3_ensure_opt_in_linear is nonzero, the function > would directly jump to label invalid, without decrementing the reference > count of the l2tp_session object session increased earlier by > l2tp_tunnel_get_session(). This may result in refcount leaks. > > [...] Here is the summary with links: - net/l2tp: Fix reference count leak in l2tp_udp_recv_core https://git.kernel.org/netdev/net/c/9b6ff7eb6664 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html