general protection fault in software_node_register

Status: upstream: reported C repro on 2026/08/12 23:49
Reported-by: syzbot+7511221b30371b3818c8@syzkaller.appspotmail.com
First crash: 2d04h, last: 2d04h
Similar bugs (6)
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 10d 10d 0/2 premoderation: reported on 2026/08/04 14:45
android-6-12 general protection fault in software_node_register 2 syz, C 2 1d15h 10d 0/1 premoderation: reported C repro on 2026/08/04 13:06
upstream general protection fault in software_node_register acpi prio:low 8 syz, C 23 10d 9d05h 0/29 upstream: reported C repro on 2026/08/05 22:45
linux-6.6 general protection fault in software_node_register 2 syz, C 5 2d11h 10d 0/2 upstream: reported C repro on 2026/08/04 22:11
linux-6.1 general protection fault in software_node_register 2 syz, C 5 5d02h 10d 0/3 upstream: reported C repro on 2026/08/04 22:24
linux-5.15 general protection fault in software_node_register 2 syz, C 3 8d15h 10d 0/3 upstream: reported C repro on 2026/08/04 18:41

Sample crash report:
JBD2: Error while async write back metadata bh 33717.
sd 0:0:1:0: [sda] Synchronizing SCSI cache
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 297 Comm: syz-executor314 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:800
Code: 53 48 83 ec 18 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 5d e9 b2 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 cc 5e ed fe 4d 8b 34 24 4d 85 f6 4c
RSP: 0018:ffffc90000b07770 EFLAGS: 00010202
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: ffff88810ba913c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000b077b0 R08: ffff88810aec52bf R09: 1ffff110215d8a57
R10: dffffc0000000000 R11: ffffed10215d8a58 R12: 0000000000000008
R13: ffff88810b213010 R14: 0000000000000000 R15: 0000000000000000
FS:  000055558063e3c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd5f0fabb8 CR3: 00000001219fc000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 device_add_software_node+0x1ac/0x310 drivers/base/swnode.c:891
 dwc3_pci_probe+0x397/0x980 drivers/usb/dwc3/dwc3-pci.c:286
 local_pci_probe drivers/pci/pci-driver.c:308 [inline]
 pci_call_probe drivers/pci/pci-driver.c:365 [inline]
 __pci_device_probe drivers/pci/pci-driver.c:390 [inline]
 pci_device_probe+0x27a/0x440 drivers/pci/pci-driver.c:433
 really_probe+0x373/0xa60 drivers/base/dd.c:558
 driver_probe_device+0xe1/0x190 drivers/base/dd.c:752
 device_driver_attach+0x17a/0x280 drivers/base/dd.c:1035
 bind_store+0x369/0x3c0 drivers/base/bus.c:216
 drv_attr_store+0x79/0xa0 drivers/base/bus.c:77
 sysfs_kf_write+0x129/0x150 fs/sysfs/file.c:143
 kernfs_fop_write_iter+0x2bd/0x400 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2066 [inline]
 new_sync_write fs/read_write.c:518 [inline]
 vfs_write+0x770/0xd70 fs/read_write.c:605
 ksys_write+0x14a/0x260 fs/read_write.c:658
 __do_sys_write fs/read_write.c:670 [inline]
 __se_sys_write fs/read_write.c:667 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:667
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fdf1051cdb9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdd0621eb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ffdd0621fe8 RCX: 00007fdf1051cdb9
RDX: 000000000000000d RSI: 0000200000000240 RDI: 0000000000000005
RBP: 0000000000000001 R08: 00007ffdd0621fe8 R09: 00007ffdd0621fe8
R10: 00007ffdd0621fe8 R11: 0000000000000246 R12: 00007ffdd0621fd8
R13: 0000000000000002 R14: 00007fdf105adca0 R15: 0000000000000002
Modules linked in:
---[ end trace 0b43e128b2a3bdc2 ]---
RIP: 0010:software_node_register+0x36/0x1f0 drivers/base/swnode.c:800
Code: 53 48 83 ec 18 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 5d e9 b2 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 cc 5e ed fe 4d 8b 34 24 4d 85 f6 4c
CR2: 00007ffd5f0fabb8 CR3: 00000001219fc000 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 5d e9 b2 fe       	call   0xfeb2e974
  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 cc 5e ed fe       	call   0xfeed5f04
  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/12 23:48 android13-5.10-lts e334a66065d3 359b2492 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in software_node_register
* Struck through repros no longer work on HEAD.