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=1796388038; b=CFNGjige4qy84kSuNGPXKj1v0YeL4MIT8ON1v10jvoKr1dP3rfOgka53wy3ZDF+cWxHP Nb3ulp8+OfF9Z2txEpCDcObPbf47GdmWL4MHx94CfysRs7+qBHJ/gr9oE+Rek3q3Z52xa x18qb8Mi4j/W6Ksxh3+64kHr+fJMJ4BwMbj5tobZ1+FNruaMEMKaXoQasRzvVgyGMQMDL vs2cTXPxMogn/Khm+BWErkpeGkYcJpJ82IpZgGJz76MB28XTMLh27tyFc6KbkReX6dd9f 05S5E2+x8KZdCtCz5BfLjjSRj/zyK2OTFYGr021LGCeyRE37phqvotPvcBFo2hGP4BA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796388038; 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=EWUIEh6DETIt5BNCQ/DcFSO+EiK3k1Rfr2cvZ4Tk8QI=; b=x1XUIDAIa71O5hDAsHSlbLOr/TfI4fSFQ5ArHhvy4cbfzzc44qigk1C24t2hNTuQsc/d mNduw/pcCI3rhylhkfwT7sj6oC26FHSwjf5siqNSzYC2CnLMObfR/LXOaOg3SgHHSNySA WrWXJlfmeFYMEu9scQcKsxmnWXZkva2K1IXypWpjCeNZ+w/DthfQfIHsEf6FBi5EMberc vMzUkDFlU+D1zXmmOMAzs0fu6375iTMOasDhfYKQFxBDkc00TX2ddL4S7NTwCMDTnxEfB RNBJZi8H21r55J/CqRlOJ0W8G5VTTofioB/Z0hhAj6AJN1CnhBJF2ie7Val0EBi+Xjw== 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=Z7dg6aLw; 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 813EA606A32C; Fri, 4 Dec 2026 12:40:38 +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=Z7dg6aLw Received: by smtp.kernel.org (Postfix) with ESMTPSA id F274C1F000C2; Fri, 4 Dec 2026 12:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796388038; bh=EWUIEh6DETIt5BNCQ/DcFSO+EiK3k1Rfr2cvZ4Tk8QI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Z7dg6aLw8sseyDFYACOt6wxjnldV/gKr1tbl6eYqdPicdzGgkFvnbWyG1Mxu3I+Y8 H+PGedZxfUpYWzJ/9nLNKrzLK4Y9H9uVbNoVIWf6EgSyxhuOTJLpJoMYI98V1MaJ8z uJ28jveF3TlHLSbnrAMkxjKJ71GB23tvxPMW50eI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, John Johansen , Sasha Levin Subject: [PATCH 6.1 0461/1059] apparmor: advertise that sctp is being mediated Date: Fri, 4 Dec 2026 18:59:52 +0900 Message-ID: <20261204100656.215048439@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: patches@lists.linux.dev 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. ------------------ From: John Johansen [ Upstream commit 35b8ab3f36ac0fcd8fc910da0bed889b6c75c426 ] Enable the test harness to detect that the kernel should be properly mediating sctp. Fixes: 7a82f9a06459f ("apparmor: fix check SCTP bind, and connect permission checks") Signed-off-by: John Johansen Signed-off-by: Sasha Levin --- security/apparmor/net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/apparmor/net.c b/security/apparmor/net.c index a140d14eafdf3..b4351c94b9a54 100644 --- a/security/apparmor/net.c +++ b/security/apparmor/net.c @@ -22,6 +22,7 @@ struct aa_sfs_entry aa_sfs_entry_network[] = { AA_SFS_FILE_STRING("af_mask", AA_SFS_AF_MASK), AA_SFS_FILE_BOOLEAN("tcp-fast-open", 1), + AA_SFS_FILE_BOOLEAN("sctp", 1), { } }; -- 2.53.0