Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2094pxb; Mon, 1 Feb 2021 20:04:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwz61pZ3k02J/5+OCQqcQYLCWt184OBehSBjWCAWYMQlMjALYJOscTLptvwF8xiQHV+p3iT X-Received: by 2002:a17:906:442:: with SMTP id e2mr15163352eja.9.1612238666480; Mon, 01 Feb 2021 20:04:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612238666; cv=none; d=google.com; s=arc-20160816; b=OEh1MojzPJ/vSvhqxgKjl+OguNZ/lyS2Eq9HJkUSGEuE/CddKUHztfPZEGLlh7YThZ lMBmVeYqgkHLcx+DJESQKqMOg6FvTDEWsO/h94VI7IidL79jBHo5jCmdhX7Emrol7jsQ yNxiAJcFEIw0Bf4AN9PvA9mb4pMGiFtFt+W7b3oyjJhkXe9fGZEBl1nHyfltj4OQTMv4 EzZQ+BDdKWso/zfmu1xnP68SFbauLtvKUkVBG/hyPjLChppH/508NU8AcFEUNfrOc+9M estUkC6vXDeJgtonNri2KV4UTvypPrCPWyA8bZ6I7NEDroYe9FeIcA7FlT6ac/v5uVpQ vG6g== 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=qtxBhsPNlGB/3ZTigIueGIuyTVLoly4pHNrA7dZ1CjY=; b=eHPGnl4wbiRyVmpwF8wle3yCxlab1iI61ArAWMWJobiN3StOtO9pcg+iGJFpD5DS78 5TK8azpxuCgzDBwzlLKLfKHoL3CZxgSF+BjL4lL/i5+sutTgy2lD6J8EQbP+uZpcj0ze cc/APgicZaGTwkIKVBj6BsUOFGTTLGUQOfWCs/04Z/PmsHuMcBi465Q4s3sjMB3d/dxb BopAA35S9pdWz7opmxFX9VRPfOzYicOL5IKJT7/qhX6P+VtWx2u+gmrvnBHmYF2T2+bO S0rfkubx/vSYTbUGLfeWUKw9Qz/OTEWGVprrSiSjU9zY0QegT6DdDE1oZJjGPyO1VTzT 1AYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QaTEPFkJ; 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 qq23si10807460ejb.140.2021.02.01.20.03.48; Mon, 01 Feb 2021 20:04:26 -0800 (PST) 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=QaTEPFkJ; 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 S231420AbhBBEAt (ORCPT + 99 others); Mon, 1 Feb 2021 23:00:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:46716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230168AbhBBEAs (ORCPT ); Mon, 1 Feb 2021 23:00:48 -0500 Received: by mail.kernel.org (Postfix) with ESMTPS id 82A1D64ED3; Tue, 2 Feb 2021 04:00:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612238407; bh=zuhCPkf5QFbIWBkMc2pWKRatlh1UIvV/sLTyAQn4Qxg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=QaTEPFkJE6fV/hW5FLb6QDbgJt5SFQz0BeGQvq1YHqlgz9htL2tDII4WnbNkmpAvl zoMxD7JjGZTBiM96sftCvjDskOl4jsHOgzQFVc4es8X1Oce3rBs2r29la4vOwlJfHW iGkhVH7SBAV4xROUvc93MUyjfaP9fXShihKEMks3mrLUEY10P1cBTJyhP41v6ifr03 qXvs4V3Xef1f4XTd1Lmboz8mD/XmaPexy6XJipM159DTK0ACtMD/Y/wuGxMiQ0isvT zJjpH+se9XN+uhme5QBT1TCkAaYbiXtbXK7AtKmfuVLUuMKyz0obXLb5bv/fbr5RFS XwdrejZakLsHw== 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 6D197609D7; Tue, 2 Feb 2021 04:00:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 1/1] vsock: fix the race conditions in multi-transport support From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161223840744.29348.6975246146992657399.git-patchwork-notify@kernel.org> Date: Tue, 02 Feb 2021 04:00:07 +0000 References: <20210201084719.2257066-1-alex.popov@linux.com> In-Reply-To: <20210201084719.2257066-1-alex.popov@linux.com> To: Alexander Popov Cc: davem@davemloft.net, kuba@kernel.org, sgarzare@redhat.com, jhansen@vmware.com, stefan@datenfreihafen.org, jeffv@google.com, greg@kroah.com, torvalds@linuxfoundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org 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 Mon, 1 Feb 2021 11:47:19 +0300 you wrote: > There are multiple similar bugs implicitly introduced by the > commit c0cfa2d8a788fcf4 ("vsock: add multi-transports support") and > commit 6a2c0962105ae8ce ("vsock: prevent transport modules unloading"). > > The bug pattern: > [1] vsock_sock.transport pointer is copied to a local variable, > [2] lock_sock() is called, > [3] the local variable is used. > VSOCK multi-transport support introduced the race condition: > vsock_sock.transport value may change between [1] and [2]. > > [...] Here is the summary with links: - [v2,1/1] vsock: fix the race conditions in multi-transport support https://git.kernel.org/netdev/net/c/c518adafa39f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html