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=1796379574; b=iyyEaxPn62KTYTkskPSoFMNlLDnD8OvY1BQSQV1VxmbG5whyXINEo2LynqSyFsjbkiHH f8sfq9LZMo4JsbN6DHDLLGjPVlXD9COjCWt4a+9I1om/YFt8hDaVRQJgEeQ3ajwlbe01y BoneLdSgDBi8IKsCLhkZH1WKsY0tXkwFtdMe6sj+9m2kogFNBdSYwWWyrHsRyzi89dHAQ Ii/sWyzWqe8RrOaXH/4jr+ys6i8rcbPWw3GSKT7KXqYBGu834ajjKdB4IAQAknLikmTVl I/zSFD3rhqEhgN5QSleROJzF4beiV3Z01/SbHWWDc1AnTrYGSOsA47gU2aOd0MMFwsg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796379574; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=SbNwJhhb2JFe2IfmVkpLHr2EYnQd3bwyMBLQ4x+eyAE=; b=omXLrICKbttNuCdOHByQ5m/nVw3rXz3pRT3Rid+iumndLNWKg+mlXuswfQ8ijPXsCLXj AGpFyVuge7GY8uIsESgMon3bbj/g56mie9r6Cgbf45z6vM9VKe2zt1EfuEifLZ9NHKPWG 6/g+JeiPhoxjoIgxdgFAH9uQRslR5K18ECN755ijS1AXCii8q+0mhczotnvIQLt5TOQl3 Uhi9zsgSboED357+ablcdi21UWJtpzdAQoEcHHdBete0yDC+Bev/SPYN6ZKGldjDFcTyE eRueGaeX/x4f2bkz2Ae3C8Eu4OZZE6CAo+XtPxhL/Ge7YE0q7gYOxlj4DOQJjiFUFbA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=2Mqv0WJV; 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 D1D66606A322; Fri, 4 Dec 2026 10:19:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=2Mqv0WJV Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F7571F000C2; Fri, 4 Dec 2026 10:19:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796379574; bh=SbNwJhhb2JFe2IfmVkpLHr2EYnQd3bwyMBLQ4x+eyAE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=2Mqv0WJV6cqcycNWAsZd1ILtFa5iV/Y5n0Wb1ugbCwaL8mj+sSJHSzihCOEtEMy4p vOWt0+8eO3Y689KSsBztZtAgbd6C/2P/SWb1XedAhd3+J7bX3xTwt5fF0Yz0vCYfZf vYFqz4Kgs9ivMBtSPouilCVXT11COZ05tYt23cQE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, BoBppy , Sasha Levin Subject: [PATCH 6.1 0006/1059] bpf: Drop inet_conn_established from lsm sleepable hooks Date: Fri, 4 Dec 2026 18:52:17 +0900 Message-ID: <20261204100644.167139631@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100643.980430235@linuxfoundation.org> References: <20261204100643.980430235@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: stable@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 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ The backport of commit beaf0e96b1da ("bpf: Drop task_to_inode and inet_conn_established from lsm sleepable hooks") to this tree removed only bpf_lsm_task_to_inode from sleepable_lsm_hooks. bpf_lsm_inet_conn_established is still listed there, although the hook is called from softirq context and cannot be used by sleepable LSM programs. Remove it too, which completes the backport. Fixes: f0fc2a982817 ("bpf: Drop task_to_inode and inet_conn_established from lsm sleepable hooks") Reported-by: BoBppy Signed-off-by: Sasha Levin --- kernel/bpf/bpf_lsm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c index f26faa9a35db1..6fcf1e02a9d38 100644 --- a/kernel/bpf/bpf_lsm.c +++ b/kernel/bpf/bpf_lsm.c @@ -305,10 +305,6 @@ BTF_ID(func, bpf_lsm_file_lock) BTF_ID(func, bpf_lsm_file_open) BTF_ID(func, bpf_lsm_file_receive) -#ifdef CONFIG_SECURITY_NETWORK -BTF_ID(func, bpf_lsm_inet_conn_established) -#endif /* CONFIG_SECURITY_NETWORK */ - BTF_ID(func, bpf_lsm_inode_create) BTF_ID(func, bpf_lsm_inode_free_security) BTF_ID(func, bpf_lsm_inode_getattr) -- 2.53.0