syzbot
general protection fault in software_node_register
Status:
upstream: reported C repro on 2026/08/04 22:11
Bug presence:
origin:upstream
[Documentation on labels]
Reported-by: syzbot+27ac2c87b05a1c151f67@syzkaller.appspotmail.com
First crash: 48d, last: 4d00h
▶
▼
Bug presence (1)
| Date |
Name |
Commit |
Repro |
Result |
| 2026/08/18 |
upstream (ToT) |
0f23d56f17fd |
C
|
[report] general protection fault in software_node_register
|
▶
▼
Fix bisection attempts (1)
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: 175 Comm: kworker/0:2 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+0x30/0x1f0 drivers/base/swnode.c:890
Code: 57 41 56 41 55 41 54 53 50 48 89 fb 49 be 00 00 00 00 00 fc ff df e8 ef ad 34 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 01 31 8d fc 49 8b 2c 24 48 85 ed
RSP: 0018:ffffc90002d87980 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff88801b7bda00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002d87b50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: ffff888141b1c010 R14: dffffc0000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34924220 CR3: 000000007d809000 CR4: 00000000003506f0
Call Trace:
<TASK>
device_add_software_node+0x1a0/0x2f0 drivers/base/swnode.c:978
dwc3_pci_quirks drivers/usb/dwc3/dwc3-pci.c:311 [inline]
dwc3_pci_probe+0x543/0xa90 drivers/usb/dwc3/dwc3-pci.c:376
local_pci_probe+0xc9/0x150 drivers/pci/pci-driver.c:324
work_for_cpu_fn+0x54/0x80 kernel/workqueue.c:5704
process_one_work kernel/workqueue.c:2657 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
</TASK>
Modules linked in:
R13: ffff888141b1c010 R14: dffffc0000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34924220 CR3: 000000007db93000 CR4: 00000000003506f0
----------------
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 ef ad 34 fc call 0xfc34ae0a
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 01 31 8d fc call 0xfc8d313a
39: 49 8b 2c 24 mov (%r12),%rbp
3d: 48 85 ed test %rbp,%rbp
* Struck through repros no longer work on HEAD.