general protection fault in software_node_register

Status: premoderation: reported on 2026/08/04 13:06
Reported-by: syzbot+d7fcb25983b6a1f8f278@syzkaller.appspotmail.com
First crash: 2d11h, last: 2d11h
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in software_node_register 2 2 2d07h 2d09h 0/2 premoderation: reported on 2026/08/04 14:45
upstream general protection fault in software_node_register acpi 8 syz, C 23 2d03h 1d01h 0/29 upstream: reported C repro on 2026/08/05 22:45
linux-6.6 general protection fault in software_node_register 2 4 1d22h 2d01h 0/2 upstream: reported on 2026/08/04 22:11
linux-6.1 general protection fault in software_node_register 2 4 1d22h 2d01h 0/3 upstream: reported on 2026/08/04 22:24
linux-5.15 general protection fault in software_node_register 2 syz, C 3 11h15m 2d05h 0/3 upstream: reported C repro on 2026/08/04 18:41

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 UID: 0 PID: 471 Comm: syz.0.43 Not tainted syzkaller #0 89da86cd63dd77ed75a7a6b832383be384370f21
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:software_node_register+0x3a/0x200 drivers/base/swnode.c:901
Code: 53 48 83 ec 18 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 59 45 41 fe 4c 89 75 c8 4d 8d 66 08 4c 89 e0 48 c1 e8 03 48 89 45 c0 <80> 3c 18 00 74 08 4c 89 e7 e8 28 08 9a fe 4d 8b 34 24 4d 85 f6 4c
RSP: 0018:ffffc9000dd47810 EFLAGS: 00010202
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc90002ef7000 RSI: 0000000000008d23 RDI: 0000000000008d24
RBP: ffffc9000dd47850 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: ffff88814ae52810 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f7bc19d66c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7bc2feb700 CR3: 0000000114e94000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 device_add_software_node+0x1a7/0x310 drivers/base/swnode.c:989
 dwc3_pci_quirks drivers/usb/dwc3/dwc3-pci.c:311 [inline]
 dwc3_pci_probe+0x5a4/0xab0 drivers/usb/dwc3/dwc3-pci.c:376
 local_pci_probe drivers/pci/pci-driver.c:328 [inline]
 pci_call_probe drivers/pci/pci-driver.c:396 [inline]
 __pci_device_probe drivers/pci/pci-driver.c:421 [inline]
 pci_device_probe+0x282/0x440 drivers/pci/pci-driver.c:455
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2e1/0x8b0 drivers/base/dd.c:657
 __driver_probe_device+0x193/0x280 drivers/base/dd.c:799
 device_driver_attach+0xdb/0x1f0 drivers/base/dd.c:1126
 bind_store+0x1dc/0x230 drivers/base/bus.c:267
 drv_attr_store+0x91/0xb0 drivers/base/bus.c:125
 sysfs_kf_write+0x141/0x160 fs/sysfs/file.c:136
 kernfs_fop_write_iter+0x319/0x510 fs/kernfs/file.c:352
 new_sync_write fs/read_write.c:591 [inline]
 vfs_write+0x762/0xfd0 fs/read_write.c:684
 ksys_write+0x145/0x260 fs/read_write.c:737
 __do_sys_write fs/read_write.c:749 [inline]
 __se_sys_write fs/read_write.c:746 [inline]
 __x64_sys_write+0x7f/0x90 fs/read_write.c:746
 x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f7bc2f9e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7bc19d6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f7bc3226090 RCX: 00007f7bc2f9e019
RDX: 000000000000000d RSI: 0000200000000240 RDI: 0000000000000005
RBP: 00007f7bc303500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7bc3226128 R14: 00007f7bc3226090 R15: 00007ffc6c334148
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc90002ef7000 RSI: 0000000000008d23 RDI: 0000000000008d24
RBP: ffffc9000dd47850 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: ffff88814ae52810 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f7bc19d66c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f28828c1f0 CR3: 0000000114e94000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	53                   	push   %rbx
   1:	48 83 ec 18          	sub    $0x18,%rsp
   5:	49 89 fe             	mov    %rdi,%r14
   8:	48 bb 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbx
   f:	fc ff df
  12:	e8 59 45 41 fe       	call   0xfe414570
  17:	4c 89 75 c8          	mov    %r14,-0x38(%rbp)
  1b:	4d 8d 66 08          	lea    0x8(%r14),%r12
  1f:	4c 89 e0             	mov    %r12,%rax
  22:	48 c1 e8 03          	shr    $0x3,%rax
  26:	48 89 45 c0          	mov    %rax,-0x40(%rbp)
* 2a:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 e7             	mov    %r12,%rdi
  33:	e8 28 08 9a fe       	call   0xfe9a0860
  38:	4d 8b 34 24          	mov    (%r12),%r14
  3c:	4d 85 f6             	test   %r14,%r14
  3f:	4c                   	rex.WR

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/04 13:05 android16-6.12 4f986595e48e 9451e17e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in software_node_register
* Struck through repros no longer work on HEAD.