From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5E613385A7; Fri, 28 Aug 2026 06:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787898790; cv=none; b=Vlx7Z5GuuTRA3i35WP2s46e7Yh1cXcpyVshVg5Bvqn8x8nc8S+Ybu8QA9/EUAQK23WpjpBWBDWO2pNmsa8ylFg0Koho5dszPvvKM76tkaTYMaetp5hbkjl/ZaoReul+/Q9omHEVhuFjobvuaQa5jY0SXUR1VVb7yhVKE5u9f7GE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787898790; c=relaxed/simple; bh=QTttZJvjLYXsm8lD7HUNJ2sdSMsD2Xj+oW8LNojOJ8U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NR/0tZ3q0gUaozVeRZ7haolKctfey85QVfQJo4FI6LA8pHxNSd7QOk6BzI/I9sFxoJYM1Su7OlH7euz3//8cvF1xGwC+n1rhnVX2eCLouhpOFlvHVheqcv5kMAOEY5KnF1Ff58uXSblhEeir7Ap/CxALFumTZU7zNZIVF2Abmeo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aIdwRxKo; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="aIdwRxKo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA3951F000E9; Fri, 28 Aug 2026 06:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787898788; bh=ZHuzFeQZ9B9LmTK2dLLNnL+xjQFqp3vbQbw3uzHQLE8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=aIdwRxKoVarIBpG6XF+TQ9Qe73dfAT4sdb3AFa98gXbyIPTryIHG09zQlbPhk+C5E XTyxD7v3sJB8ZXSu1V87usyGVjk8LbMrANVNZmdgSY+zJkWhg+LN4sofRI6NkDtzlG aC/3XbY8a8nlMBZfXQRhTWaNe3ZmL9lscC1kUQZ0= Date: Fri, 28 Aug 2026 08:33:06 +0200 From: Greg Kroah-Hartman To: Farhad Alemi Cc: "Rafael J. Wysocki" , Danilo Krummrich , Alexander Viro , Christian Brauner , falemi@asu.edu, driver-core@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BUG] general protection fault in sysfs_do_create_link_sd Message-ID: <2026082852-wrist-devotee-3cd0@gregkh> References: Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Fri, Aug 28, 2026 at 05:50:00AM +0000, Farhad Alemi wrote: > Hello, > > As part of the kernel research at ASU's SEFCOM > lab, we hit the crash below. Crash reports can be found here: > > https://github.com/farhad-alemi/public_bug_reports/tree/main/188-general-protection-fault-in-sysfs-do-create-link-sd/ > > Oops: general protection fault, probably for non-canonical address > 0xdffffc0000000006: 0000 [#1] SMP KASAN NOPTI > KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037] > RIP: 0010:sysfs_do_create_link_sd+0x4b/0x110 fs/sysfs/symlink.c:35 > Call Trace: > sysfs_do_create_link_sd+0x4b/0x110 fs/sysfs/symlink.c:35 > nfs_sysfs_link_rpc_client+0x3a3/0x590 fs/nfs/sysfs.c:343 > nfs_init_server fs/nfs/client.c:770 [inline] > nfs_create_server+0x7e8/0x2110 fs/nfs/client.c:1155 > nfs3_create_server+0x1e/0x180 fs/nfs/nfs3client.c:56 > nfs_try_get_tree+0x1fa/0x11a0 fs/nfs/super.c:981 > vfs_get_tree+0x8f/0x290 fs/super.c:1754 > do_new_mount+0x341/0xd80 fs/namespace.c:3834 > > Our reproducer.c is available upon request. > > Happy to test a patch if that would help. Again, please send patches.