From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796055015; b=mOfInNCmZNHYGAuextlNozycdbwl/QlZK3EggPrAEJGFme4FLPukBETnDdjheMk4wQCC XqG0FVgpQtlIS2C1WXm9suRuv8s/S8+aAUTqmXuHGHASp9ipOKry1ENLuNpbynH6ovWrW QSnbSbh2xlqWoUyqpv/2rTXFrCIdyqFS0ai4GXqjLNjdEZF4yl+FjQd+9SFr2Zmq59IYC Fm0rHc8CiB20UZg8+tjmsNd09obuMDEA375QVeP9vZlBtcBlpjoX5eO57TF1vb+xuio4a Eu8dAvbg2iwsfjk0zcpxct6uGgXihbD2bvL/VH8Bo3Q249YmuAJXWGoAW466oTnTclA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796055015; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=PXccZAJ+Wt/OMIInyayag8YEE2SXzKFLPLgAMvvmDBE=; b=d4AqWeyA7rqkA7pjhq8ZxcaLLUChAFPRQVhnTzAAjQPA2fsOmg/5HZA8zHgbTozwEuYM YHhIRy31ZzIB/3Kl2wVd0gMCyFVIeXCi+PjpIISgjYmkp04ODtLOfNJykz2CciuvhcErm FLbvw4MNMoIdsIHelC0h6OtmerL6K5myBzbAiDq1o6dzuGEeLNJmExGemr7sHBh0HATFR Ok89j/YEs5QmW2wSgXUhWqPbM3SdV2YQqc2rX1fgBWxThQavq9Qz22WewY2umZveONRwU wBbQS2ZmSMUnNgnNQZVyrd02U1EQqs0jfOobr1zVjWlDEuAuP8VNFf4VXUc2WfZmnNw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kzWG2ZVT; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAEE0606A33D; Mon, 30 Nov 2026 16:10:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kzWG2ZVT Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A4F91F0089B; Mon, 30 Nov 2026 16:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796055015; bh=PXccZAJ+Wt/OMIInyayag8YEE2SXzKFLPLgAMvvmDBE=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=kzWG2ZVTKeB5Ni8w/QoWdP/aLqTBHRrYx1FnVHN71BHlT89s+4GsXgDFvt03yOeJ/ 3WIDUrBNrqNmkpef0O8YAQZdWKZ8zHh0B0xvZJjmvplYUnDM4akOYe5iPvIeNwtFfv nq2iObLP4q7XB3DZUMx8HkqL8Y79qjROakoq7VxEMAuvNS44NYtuxstPBoWrizrAgW s1wsIZ6LXNa0ZrXV/DuzDt0kFsw7I5vNkLrCY9APr09gazr5KlcKtdJ3R2HRGCkIo6 p7LzRMGVzKDTEQ5Y92EgESVP1B0R0ggn9/sOkOdghMetAY392u9UZBcFq8enppz8Af 3TeJU6ZLH1jdg== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 717CB39E4DAB; Mon, 30 Nov 2026 16:10:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: reuseport: honour SO_LOCK_FILTER in SO_DETACH_REUSEPORT_BPF From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179605501400.3403811.14566651768406430340.git-patchwork-notify@kernel.org> Date: Mon, 30 Nov 2026 16:10:14 +0000 References: <20261122-reuseport-lock-filter-v1-1-a3e5324c8d55@gmail.com> In-Reply-To: <20261122-reuseport-lock-filter-v1-1-a3e5324c8d55@gmail.com> To: Wong Steve Cc: pabeni@redhat.com, edumazet@kernel.org, davem@davemloft.net, kuba@kernel.org, kuniyu@google.com, willemb@google.com, netdev@vger.kernel.org, bpf@vger.kernel.org, martin.lau@linux.dev, linux-kernel@vger.kernel.org, horms@kernel.org Hello: This patch was applied to netdev/net.git (main) by Willem de Bruijn : On Sun, 22 Nov 2026 08:17:26 +0000 you wrote: > From: Suyuan Wang > > SO_LOCK_FILTER lets a process lock the filters on a socket before > handing it to a less privileged one. Once it is set, the existing attach > and detach paths reject changes to the socket's BPF filters with -EPERM, > but SO_DETACH_REUSEPORT_BPF does not check SOCK_FILTER_LOCKED. So an > unprivileged process that receives a locked socket can still remove the > reuseport program, which then changes how packets and connections are > spread over the whole reuseport group. > > [...] Here is the summary with links: - [net] net: reuseport: honour SO_LOCK_FILTER in SO_DETACH_REUSEPORT_BPF https://git.kernel.org/netdev/net/c/2b63c96c723c You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html