general protection fault in software_node_register

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

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 418 Comm: syz.3.29 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:software_node_register+0x36/0x1f0 drivers/base/swnode.c:951
Code: 53 48 83 ec 18 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 cd 95 8a 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 5c 20 d0 fe 4d 8b 34 24 4d 85 f6 4c
RSP: 0018:ffffc9000dcaf790 EFLAGS: 00010202
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc90002aaf000 RSI: 0000000000008965 RDI: 0000000000008966
RBP: ffffc9000dcaf7d0 R08: ffff888115de35bf R09: 1ffff11022bbc6b7
R10: dffffc0000000000 R11: ffffed1022bbc6b8 R12: 0000000000000008
R13: ffff888116a7e010 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fae7eaaa6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1604e27dac CR3: 00000001a4a91000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 device_add_software_node+0x1a3/0x300 drivers/base/swnode.c:1039
 dwc3_pci_quirks drivers/usb/dwc3/dwc3-pci.c:303 [inline]
 dwc3_pci_probe+0x55d/0xa80 drivers/usb/dwc3/dwc3-pci.c:368
 local_pci_probe drivers/pci/pci-driver.c:324 [inline]
 pci_call_probe drivers/pci/pci-driver.c:392 [inline]
 __pci_device_probe drivers/pci/pci-driver.c:417 [inline]
 pci_device_probe+0x278/0x440 drivers/pci/pci-driver.c:460
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2d7/0x9a0 drivers/base/dd.c:639
 __driver_probe_device+0x193/0x270 drivers/base/dd.c:808
 device_driver_attach+0xd7/0x1d0 drivers/base/dd.c:1135
 bind_store+0x349/0x380 drivers/base/bus.c:216
 drv_attr_store+0x88/0xb0 drivers/base/bus.c:77
 sysfs_kf_write+0x137/0x150 fs/sysfs/file.c:136
 kernfs_fop_write_iter+0x307/0x470 fs/kernfs/file.c:352
 call_write_iter include/linux/fs.h:2282 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x5ef/0xd00 fs/read_write.c:584
 ksys_write+0x14a/0x260 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:646
 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fae7db9e019
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:00007fae7eaaa028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fae7de26090 RCX: 00007fae7db9e019
RDX: 000000000000000d RSI: 0000200000000240 RDI: 0000000000000005
RBP: 00007fae7dc3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fae7de26128 R14: 00007fae7de26090 R15: 00007fffbbe02408
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:software_node_register+0x36/0x1f0 drivers/base/swnode.c:951
Code: 53 48 83 ec 18 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 cd 95 8a 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 5c 20 d0 fe 4d 8b 34 24 4d 85 f6 4c
RSP: 0018:ffffc9000dcaf790 EFLAGS: 00010202
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000080000
RDX: ffffc90002aaf000 RSI: 0000000000008965 RDI: 0000000000008966
RBP: ffffc9000dcaf7d0 R08: ffff888115de35bf R09: 1ffff11022bbc6b7
R10: dffffc0000000000 R11: ffffed1022bbc6b8 R12: 0000000000000008
R13: ffff888116a7e010 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fae7eaaa6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c30d817 CR3: 00000001a4a91000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
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 cd 95 8a fe       	call   0xfe8a95e4
  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 5c 20 d0 fe       	call   0xfed02094
  38:	4d 8b 34 24          	mov    (%r12),%r14
  3c:	4d 85 f6             	test   %r14,%r14
  3f:	4c                   	rex.WR

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/04 17:04 android14-6.1 92668decd5e0 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in software_node_register
2026/08/04 14:44 android14-6.1 92668decd5e0 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in software_node_register
* Struck through repros no longer work on HEAD.