* [BUG] general protection fault in sysfs_do_create_link_sd
@ 2026-08-28 5:50 Farhad Alemi
2026-08-28 5:59 ` Greg Kroah-Hartman
2026-08-28 6:33 ` Greg Kroah-Hartman
0 siblings, 2 replies; 3+ messages in thread
From: Farhad Alemi @ 2026-08-28 5:50 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rafael J. Wysocki, Danilo Krummrich,
Alexander Viro, Christian Brauner
Cc: falemi, driver-core, linux-fsdevel, linux-kernel
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.
Regards,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] general protection fault in sysfs_do_create_link_sd
2026-08-28 5:50 [BUG] general protection fault in sysfs_do_create_link_sd Farhad Alemi
@ 2026-08-28 5:59 ` Greg Kroah-Hartman
2026-08-28 6:33 ` Greg Kroah-Hartman
1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2026-08-28 5:59 UTC (permalink / raw)
To: Farhad Alemi
Cc: Rafael J. Wysocki, Danilo Krummrich, Alexander Viro,
Christian Brauner, falemi, driver-core, linux-fsdevel,
linux-kernel
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.
Please stop sending random callbacks, instead send proper patches, as
this helps no one.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] general protection fault in sysfs_do_create_link_sd
2026-08-28 5:50 [BUG] general protection fault in sysfs_do_create_link_sd Farhad Alemi
2026-08-28 5:59 ` Greg Kroah-Hartman
@ 2026-08-28 6:33 ` Greg Kroah-Hartman
1 sibling, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2026-08-28 6:33 UTC (permalink / raw)
To: Farhad Alemi
Cc: Rafael J. Wysocki, Danilo Krummrich, Alexander Viro,
Christian Brauner, falemi, driver-core, linux-fsdevel,
linux-kernel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-28 6:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28 5:50 [BUG] general protection fault in sysfs_do_create_link_sd Farhad Alemi
2026-08-28 5:59 ` Greg Kroah-Hartman
2026-08-28 6:33 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox