syzbot
general protection fault in software_node_register
Status:
upstream: reported on 2026/08/04 22:24
Reported-by: syzbot+77bcddccf4f2e625ff1b@syzkaller.appspotmail.com
First crash: 2d04h, last: 2d01h
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: 0 PID: 4279 Comm: kworker/0:3 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events work_for_cpu_fn
RIP: 0010:software_node_register+0x2c/0x1e0 drivers/base/swnode.c:951
Code: 57 41 56 41 55 41 54 53 50 48 89 fb 49 be 00 00 00 00 00 fc ff df e8 53 e5 69 fc 4c 8d 63 08 4c 89 e0 48 c1 e8 03 48 89 04 24 <42> 80 3c 30 00 74 08 4c 89 e7 e8 f5 11 bb fc 49 8b 2c 24 48 85 ed
RSP: 0018:ffffc90004007a00 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff88802e3abc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004007bd0 R08: ffff88801d71757f R09: 1ffff11003ae2eaf
R10: dffffc0000000000 R11: ffffed1003ae2eb0 R12: 0000000000000008
R13: ffff88801b2fc010 R14: dffffc0000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f92421c CR3: 000000005bd83000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
device_add_software_node+0x19c/0x2f0 drivers/base/swnode.c:1039
dwc3_pci_quirks drivers/usb/dwc3/dwc3-pci.c:303 [inline]
dwc3_pci_probe+0x520/0xa60 drivers/usb/dwc3/dwc3-pci.c:368
local_pci_probe+0xc5/0x150 drivers/pci/pci-driver.c:324
work_for_cpu_fn+0x50/0x80 kernel/workqueue.c:5184
process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
process_scheduled_works kernel/workqueue.c:2355 [inline]
worker_thread+0xdd1/0x12a0 kernel/workqueue.c:2444
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:software_node_register+0x2c/0x1e0 drivers/base/swnode.c:951
Code: 57 41 56 41 55 41 54 53 50 48 89 fb 49 be 00 00 00 00 00 fc ff df e8 53 e5 69 fc 4c 8d 63 08 4c 89 e0 48 c1 e8 03 48 89 04 24 <42> 80 3c 30 00 74 08 4c 89 e7 e8 f5 11 bb fc 49 8b 2c 24 48 85 ed
RSP: 0018:ffffc90004007a00 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff88802e3abc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90004007bd0 R08: ffff88801d71757f R09: 1ffff11003ae2eaf
R10: dffffc0000000000 R11: ffffed1003ae2eb0 R12: 0000000000000008
R13: ffff88801b2fc010 R14: dffffc0000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 57 push %rdi
1: 41 56 push %r14
3: 41 55 push %r13
5: 41 54 push %r12
7: 53 push %rbx
8: 50 push %rax
9: 48 89 fb mov %rdi,%rbx
c: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
13: fc ff df
16: e8 53 e5 69 fc call 0xfc69e56e
1b: 4c 8d 63 08 lea 0x8(%rbx),%r12
1f: 4c 89 e0 mov %r12,%rax
22: 48 c1 e8 03 shr $0x3,%rax
26: 48 89 04 24 mov %rax,(%rsp)
* 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 4c 89 e7 mov %r12,%rdi
34: e8 f5 11 bb fc call 0xfcbb122e
39: 49 8b 2c 24 mov (%r12),%rbp
3d: 48 85 ed test %rbp,%rbp
* Struck through repros no longer work on HEAD.