From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 660A4C76196 for ; Sun, 2 Apr 2023 20:03:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230201AbjDBUDV (ORCPT ); Sun, 2 Apr 2023 16:03:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbjDBUDS (ORCPT ); Sun, 2 Apr 2023 16:03:18 -0400 Received: from valentin-vidic.from.hr (valentin-vidic.from.hr [IPv6:2001:470:1f0b:3b7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2015A8A49; Sun, 2 Apr 2023 13:03:16 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at valentin-vidic.from.hr Received: by valentin-vidic.from.hr (Postfix, from userid 1000) id 32CA1295B5; Sun, 2 Apr 2023 22:03:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=valentin-vidic.from.hr; s=2020; t=1680465791; bh=9VdTdi38B+ohBYB7mtje7rl53RM9eLoGTNFkms+HzbE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=P3zQOheTkGXjBNtEJf5A2qf6YkJ32PjA29Prfa5xseW4hrwSq+qEWFXeEQGezBDMT wx7w2YEcMjz3l6q4YAgjhzTtWpvrj5kRaTHtGtwuBAZtBCZMqoEVkXicDQ2bUy/wcG DYDq907W2MlUjmlG7P/r2z3RCLksqMFOS8LTlsQ10evFhefimbOTDxcNRenbL+qcwl IFvL/42Zr+1zNHxXqb69AtyBV3/LS6jNj2sjtz4eXaUXjRkp6eXM2w8058Sn8UTTJD xKS09CY8bSBCn9eUn9QdVtQz/lcpa6zzjGMb6fNaUSgDm3Aa7QzBreyteCTwBWsxY8 FN33R5V0GD4k1F4oZTEB46ivyUXxuk9Sme8sNHd9bIGAZxKBQnVz+ODd1PgeLaFwGC b3LSXJvxepn7mjloawdID81IE5sr8IM5E07aQYd1xWzmqxYxCAeiJHLBxYpjdZmxLh 7BlZApm3Q32CFVmSSbuao4qR0KJaVMD4YY+aG/lx6Qf+NIKmRLn+TQJTbhyTkVNhD7 6gFb2ae2hCawUWYF9ZZBrq6SVPwWGqWAMFctkaWKSoA2IYMUlpbHtVdPIlQV6rH/r5 BIhireO219++LWC26DWQrKp9g94j83911I2FGhu/CHp+X7qXma4AqyAol+XIHDfvzi /DzeNmGZkh5j8tWZhqR+Cf9Y= Date: Sun, 2 Apr 2023 22:03:11 +0200 From: Valentin =?utf-8?B?VmlkacSH?= To: Paul Moore Cc: James Morris , "Serge E. Hallyn" , Christian Brauner , Dave Chinner , Casey Schaufler , John Johansen , Micah Morton , =?iso-8859-1?Q?G=FCnther?= Noack , Al Viro , =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Vivek Goyal Subject: Re: [PATCH] security, lsm: security_old_inode_init_security() Handle multi LSM registration Message-ID: References: <20230401214151.1243189-1-vvidic@valentin-vidic.from.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 02, 2023 at 11:14:33AM -0400, Paul Moore wrote: > If you have the time, could you try a patch we have queued up in the > lsm/next branch? We are in the process of removing > security_old_inode_init_security() and transitioning all the callers > over to security_inode_init_security(), and I believe the ocfs2 patch > for this should solve the problem you are seeing, can you test it on > your system and let us know? > > https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm.git/patch/?id=de3004c874e740304cc4f4a83d6200acb511bbda Great, thanks for the pointer. This patch also works for me as I don't see the crash anymore. Can it also be included in the 6.1 LTS kernel since this is were I first noticed the problem? -- Valentin