Article View: linux.kernel.netdev
Article #13265Re: [PATCH v5 07/12] KEYS: trusted: TEE: Disable sysfs bind attributes
From: Jarkko Sakkinen
Date: Mon, 09 Nov 2026 15:16
Date: Mon, 09 Nov 2026 15:16
20 lines
9389 bytes
9389 bytes
On Mon, Nov 09, 2026 at 12:57:49PM +0530, Sumit Garg wrote: > On Mon, 09 Nov 2026 at 00:27:13 +0200, Jarkko Sakkinen wrote: > > Suppress sysfs bind and unbind attributes on trusted_key_driver so that > > userspace cannot unbind the driver and unregister key_type_trusted while > > the trusted module remains loaded. > > > > Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org> > > --- > > security/keys/trusted-keys/trusted_tee.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > Sounds reasonable to me, FWIW: > > Reviewed-by: Sumit Garg <sumit.garg@oss.qualcomm.com> Thank you (for both). Br, Jarkko
Technical Details
Message-ID:
<avHju9kZBiNHhhTu@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359387-linux-kernel-netdev=dewy.ruReferences:
<20261108222719.304712-1-jarkko@kernel.org> <20261108222719.304712-8-jarkko@kernel.org> <avF19RckYZWu_3FD@sumit-xelite>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359387-linux-kernel-netdev=dewy.ru From: jarkko@kernel.org (Jarkko Sakkinen) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v5 07/12] KEYS: trusted: TEE: Disable sysfs bind attributes Date: Mon, 9 Nov 2026 17:16:11 +0200 Organization: Usenet Network Message-ID: <avHju9kZBiNHhhTu@kernel.org> References: <20261108222719.304712-1-jarkko@kernel.org> <20261108222719.304712-8-jarkko@kernel.org> <avF19RckYZWu_3FD@sumit-xelite> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="386187"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:BSLfeU+9IelMTepAX7kB0Q2V+Zs= sha256:bjlIa3zjT1L0kPE0YRpvCKxedX+jrkLaZ061FsDWQMk= sha1:pW78C+FYYvSuUswB6MZFNk+N9Yk= sha256:3q38W36o19b9boQtM3k3G2IBnAkCoZwZc7xXWLKMkUg= Content-Disposition: inline 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 0E78011384B; Mon, 9 Nov 2026 18:20:58 +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 POTZ6j7qMjfC; Mon, 9 Nov 2026 18:20:55 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359387-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id CEF7F113842; Mon, 9 Nov 2026 18:20:45 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 72B10A80CD; Mon, 9 Nov 2026 15:16:17 +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=1794237376; b=GaCN8axgBtlsEtyv90ZbMvEudlBJdJjMYN+x1O+CyP63/cfSbvvmajSvwlcgoWyXgFKD cZxyGLmejXu3nVdHdq9xQY6ZdbBoxB00cMDDLLoNOkglbB5pGGkDdmDUXEzIREFaDZXiu m6xQpqqENVKZf9+gQBeA0X7U+ZAa7svHV/WRgn6bhVhbz/L2wS7BITdU97GZqYkeRYkFh xtst/VO7SwB9B0Qu/ANM5o1xe+i1xFTzM5M7MnSJi1IYhmnxYh2jHPgCC2reP/SB5PZje 9csuCffv3yctE2QY5hcaUKB4/LSxUOb7yaLUQKe7bRl13ibTKGB03ALcM+Wr2ksJazQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794237376; h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc: Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post: List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=ILLwKIY1l8/2C2M3tEMK5/2Wk4x1T0msHL+198Sb7AA=; b=kuz22L3BIQ38rkoc0MmWgFOSVLyboTSGwjdYwI+TfGMaV0qYP3JsihRAcv74ucx9Ivrp oJ45l/7stFbEKBvqoHf1XXfSvLdwk4Ba1jBtD4qWcbZHSjA+91lQyR32EAwn0L9VFWGfG /87J3ghDFgpRxHDr2D63O+bRL+74NlUg7sKct0rD0bfseJYxkL2zOJstAUuI2BgT7nz3n cKDtknwTukAB812zyxBbv8qe9yDxyuYnGy5xPy5l81yf7ukB2iInGYOGdfgdReE2kiSp8 1bFzod5JhD9KQxb5DEAK+HlJQytz7Eov3kObn/GC9z9An187ZQ6y5FPTEcdydFefF3w== 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=DE7b8BP7; 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 91BCC606EE83; Mon, 9 Nov 2026 15:16:16 +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=DE7b8BP7 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=1794237375; b=uDvc7yHoni8OjAn+ICyzO1JCmVOXxY/bn96DiCV+/UsdKB8mfqzf9Hnf1ztWGiu5spWM 3tawC4ztWDNEFLrgyHPOKojVaCo9Naiws1UUvVXa5SWOfIYIyLQDT08EHDVy8BJD+HZxi zkNQcm+i6+xb3sxyXP4wPJRkWgaz5cjd5J7sO6loSEl0B7u4Hi0TyoV1S+9s1RwFkimEY soODaB4Hu+ZNKnPw93wC7B9439DFnjBnp46bvvIpME5V+Bjl8Cn+F1TH5oCRK0eiaHlV+ qWeoBezbQaWTC1pKElF/meg2JZ0SOuP52A7VaN9+skWWSekYroDOX5m4STMqMTzZHtA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794237375; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=ILLwKIY1l8/2C2M3tEMK5/2Wk4x1T0msHL+198Sb7AA=; b=vtByuf/G9fMJKnPGQwkxJ4yN0q7Y6uZChp88BqLNWRPoeA96YDoFFgL59MXSzy56Lpwn DJjmCZ1z+TEpDbzDSssGgf1Yk6LZngNcjEZc+QXFByaymivEXgKH7RxcXMBoeY3mLnZcP SUhTms/IBqsec9MsBe0RQrXVITffN3LnBy5SNstLE/M7M9Nt26GuPc/z7JtMOtof9MNMg siDrAn7RLrXGTu5xJcXdEeniH0js+NukDpqTDp3Ig+6TgSltExJXtPBhmE7Vn6CNI5LQU aoKo7W6gtVJaEQtL85bXynxHLhGAbvoiVCb1YJVDFNMhOo0bDpTwlxWE8G7yKVhbTPQ== 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=DE7b8BP7; 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 UTF8SMTPS id 6C7FB606A31C; Mon, 9 Nov 2026 15:16:15 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 5444D1F0089F; Mon, 9 Nov 2026 15:16:14 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794237375; bh=ILLwKIY1l8/2C2M3tEMK5/2Wk4x1T0msHL+198Sb7AA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=DE7b8BP7Cij3P//t/Vui28Z7jAeD71euvurnOgD5m2eGnFpoJ8cX8Ct+Xn/n+h/Vr /vfXa0aZBFB80IYdROdppGXAgmseq3YTH7vkDkH9e6IzF24cUT45prMu20v30XQVa3 bJ68sHIanl12vGG+3QWFuX9ngSrv3KDgBbbmSH2CCHNL45Dwx60FpbXNWdcJ4zBIxy GmHDKnbSG/R8/ZYHoGqE6PIk6ep1OdEFThID70rausnaalZsFsdr/JbqOkh1z2jcqs wk09RE9oz7EcbZFL8pDOaKfc50mzyvWQqqxmPdjeZwG/u8kOK23oyHmN12jmNg+VRx xpKODiRtpF+gg== X-Cc: David Howells <dhowells@redhat.com>, keyrings@vger.kernel.org, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-s390@vger.kernel.org, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, Alexander Gordeev <agordeev@linux.ibm.com>, Anna Schumaker <anna@kernel.org>, Bharath SM <bharathsm@microsoft.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, "David S. Miller" <davem@davemloft.net>, Eric Biggers <ebiggers@kernel.org>, Eric Dumazet <edumazet@kernel.org>, Heiko Carstens <hca@linux.ibm.com>, Jakub Kicinski <kuba@kernel.org>, James Bottomley <James.Bottomley@hansenpartnership.com>, James Morris <jmorris@namei.org>, Marc Dionne <marc.dionne@auristor.com>, Mimi Zohar <zohar@linux.ibm.com>, Namjae Jeon <linkinjeon@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Paul Moore <paul@paul-moore.com>, Paulo Alcantara <pc@manguebit.org>, Ronnie Sahlberg <ronniesahlberg@gmail.com>, "Serge E. Hallyn" <serge@hallyn.com>, Shyam Prasad N <sprasad@microsoft.com>, Simon Horman <horms@kernel.org>, Sven Schnelle <svens@linux.ibm.com>, Tom Talpey <tom@talpey.com>, Trond Myklebust <trondmy@kernel.org>, Vasily Gorbik <gor@linux.ibm.com> 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: <avF19RckYZWu_3FD@sumit-xelite>