Article View: linux.kernel.netdev
Article #21499Re: [PATCH v2] net: sock_reuseport: check program type on the migration path
From: patchwork-bot+netdevbpf
Date: Tue, 24 Nov 2026 03:50
Date: Tue, 24 Nov 2026 03:50
28 lines
8833 bytes
8833 bytes
Hello:
This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@kernel.org>:
On Wed, 18 Nov 2026 23:35:41 +0800 you wrote:
> A BPF_PROG_TYPE_SOCKET_FILTER program can be loaded with
> expected_attach_type set to BPF_SK_REUSEPORT_SELECT_OR_MIGRATE and
> attached to a SO_REUSEPORT TCP group. Closing a listener that still
> has queued children then runs it with a struct sk_reuseport_kern
> context even though it was verified against struct sk_buff, which
> KASAN reports as a stack-out-of-bounds in ___bpf_prog_run().
> Reaching this without CAP_BPF requires
> kernel.unprivileged_bpf_disabled=0; with
> CONFIG_BPF_UNPRIV_DEFAULT_OFF=y, the Kconfig default, the sysctl
> starts at 2.
>
> [...]
Here is the summary with links:
- [v2] net: sock_reuseport: check program type on the migration path
https://git.kernel.org/bpf/bpf/c/cbaaeff649b7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179549220403.3266642.5931361258119056737.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369988-linux-kernel-netdev=dewy.ruReferences:
<20261118153541.172499-1-shlomojune6@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-369988-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v2] net: sock_reuseport: check program type on the migration path Date: Tue, 24 Nov 2026 03:50:04 +0000 Organization: Usenet Network Message-ID: <179549220403.3266642.5931361258119056737.git-patchwork-notify@kernel.org> References: <20261118153541.172499-1-shlomojune6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="4046026"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:JJz+vAI5hoLwyZQ7E/FLTBMY7As= sha256:1QaOxyGuPUGmiIWVSEqZbOyduK+eSlcT7Z000xRPU4c= sha1:1BMRBVMy9wkf7qgHMhLNCIV9eEg= sha256:GbTwv0NHFLNWPZb4uT7tptGySdbMLRabPPFhQitFfsE= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id C7AD2125DCC; Tue, 24 Nov 2026 06:50:22 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fglf0Q5X9hgN; Tue, 24 Nov 2026 06:50:19 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-369988-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id EE44A125DC9; Tue, 24 Nov 2026 06:50:08 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 5627530517; Tue, 24 Nov 2026 03:50:07 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795492207; b=ZYeVflpGaPhscTi6T6+1NSmzBWqZ1PQpw+5IeemrLe9l/+2iV89mpTiADeJ1i0ZUQyXK t77CCmhTGqTgfvgBwZbEebGUWHmn7w4gV9Ejko5FuPuWA4MQ4nqkRM2Sl2jWjALPtQDZl CiCzjR+JAceMssWZEpr+Kbd1HWJHg6AU6ZomeNS/29KT3meG3P12sUxysQL8StAsa6wOb rEpekHj9H/c9pBtWxzgngRvHKmcxNgsPOpR8sNTjfeacQebw5KCob4ZH7wrI2E0daJr79 H+05wQTHtwIiJgL1o2+IBKwCtp0WNVzFHZ91Ap0cT4IptXOYCU+ZozupD2a7aMAWTYw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795492207; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=YVPXyJMQigH1Kiu5fH5Sm0imCNiie4ePM2h7KAJUg1M=; b=trwfVsLG2jKGowQVcI1j0yJljzY+xA8V1veVecK12VrVAu/mYF3mqDuNwD6IlWOjTFlV CLuBeUEtIMwGF15NoDQH6WvO2hcswEh54fj777jMD2NQSnK8eNHVjJLTUvSi8OxfRQrx+ lNg/bA/0tDT07yESFEd+gIbUnzMZr+n2R//MizsH+2CQDXGHvphEaapH02xW7RMZuTIjC rHA1YK8be60G3QrfxlBIH6YN16Xd7iwkTG2zNitiL8ZJ35QN3KBVyeaI66xYqugUo64aD xpUSMwOtoNn2oQS0yOXX00+wqYC4y5dFJHFa3kgTiu+oCsd/fw45MDPreVNzY9lwAYA== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=fvUIS1rh; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD6DA606A333; Tue, 24 Nov 2026 03:50:06 +0000 (UTC) X-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=fvUIS1rh X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795492206; b=D8C/qCqADSDHo8U/xKiNVqm/cZ9U2ukIsaY1asclFGQw+SGoCHUPZidzvZZebJOdGNNg uZstoNMKHy/I8pUvlpT79cN8Z8e7HnTLVnbVXPXRAdXYBh7TbbIXS0Z/BP36ngRHouzuf AN6tDM2cZH36cSD8DhIMSTMRwUONt6jMrL8VU170DXaymVwWwMduOwZRlr/I5v/+hBqnA rXV5F58lZ3pvMv4TOnUso3j9v8OyXZj/RxrWAxgPoUnEXKXZwYlLZMk0SPSFm1oNpTxFX lmLappULaIpT8SA40Dzax1QV2j8hlYMA62pNj5S3vZGPIXfPs1HxnJWIVVLkAVaIh2g== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795492206; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=YVPXyJMQigH1Kiu5fH5Sm0imCNiie4ePM2h7KAJUg1M=; b=UQG/MvSSaDksj3y4hlOd/JOw+hou9Q5zP4Aslzc3xGsRvGhqG+eYFS8tOQ9jImVbmz9a 3fLWdWhnqlxPjQ5J+bCi3940njbihKzMYdRRcHjklJlfeAFAQIFgFvgeKidyChKzr+WDn O+rOS25umCPnXpXVyob2R1LVDpfBMd9fiRbcKbcKonQ6gD7Her8l7MHxpFwcRgF71B9MO WRK955cFlkbQMoh5Mc/nDoBwfeL71UF8rrUDJJwhygaG1HrRGudilD8VB7xyaIi6KZyf+ bHTzUdH1aWJQxP/OiLGhaCZp4Xi8Ibpj1xny3j2MdN2glCSTjbQEFxskHQMDbiXw2lQ== X-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=fvUIS1rh; arc=none smtp.remote-ip=100.103.45.18 X-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 08027606A31E; Tue, 24 Nov 2026 03:50:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 436021F000CF; Tue, 24 Nov 2026 03:50:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795492205; bh=YVPXyJMQigH1Kiu5fH5Sm0imCNiie4ePM2h7KAJUg1M=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=fvUIS1rhI/cR63wEIvo/JCGshcKuP68lTHZPITiexpmcM+dEdh9G9aSvg2zwkur69 hKiwePAU3dwwx0UU6IDVTKG2lKG6ZsnH+PaQrYSIVy2g/4xEjK89reoOXyRd21GSzE rduEeEemNzUUUW4Y2ZRFoU2TeS6WvBapyYJGGPDR9lHUnAjIrAt6NViJb+cQEwHRoG Wi7zZDS+8ctG0Yai+j7dKUYonjpHtvykpt5XTmaYlr5fUPDl1OQqMx6v0A0sQmVt6B 0eBPibwgZMox1OUy2z2eNXdLX4GKysdIyK9MbExvY755qUR6dQZTqpW09Lm7JKCw4y 1/BJsgl2xVXYw== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A39639302D7; Tue, 24 Nov 2026 03:50:05 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261118153541.172499-1-shlomojune6@gmail.com> X-Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, edumazet@kernel.org, kuniyu@google.com, pabeni@redhat.com, willemb@google.com, davem@davemloft.net, kuba@kernel.org, horms@kernel.org