general protection fault in software_node_register

Status: upstream: reported on 2026/08/04 22:11
Reported-by: syzbot+27ac2c87b05a1c151f67@syzkaller.appspotmail.com
First crash: 2d18h, last: 2d14h
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 2d23h 3d02h 0/2 premoderation: reported on 2026/08/04 14:45
android-6-12 general protection fault in software_node_register 2 1 3d03h 3d03h 0/1 premoderation: reported on 2026/08/04 13:06
upstream general protection fault in software_node_register acpi 8 syz, C 23 2d20h 1d18h 0/29 upstream: reported C repro on 2026/08/05 22:45
linux-6.1 general protection fault in software_node_register 2 4 2d14h 2d18h 0/3 upstream: reported on 2026/08/04 22:24
linux-5.15 general protection fault in software_node_register 2 syz, C 3 1d04h 2d22h 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: 0 PID: 56 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 1f 58 36 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 71 da 8e fc 49 8b 2c 24 48 85 ed
RSP: 0018:ffffc9000131f980 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff88801ceb0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000131fb50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: ffff88807b290010 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005577d9c82168 CR3: 000000002d5f1000 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:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace 0000000000000000 ]---
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff88801ceb0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000131fb50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000008
R13: ffff88807b290010 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055abb52af000 CR3: 0000000061084000 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 1f 58 36 fc       	call   0xfc36583a
  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 71 da 8e fc       	call   0xfc8edaaa
  39:	49 8b 2c 24          	mov    (%r12),%rbp
  3d:	48 85 ed             	test   %rbp,%rbp

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/05 01:55 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in software_node_register
2026/08/05 01:55 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in software_node_register
2026/08/04 22:10 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in software_node_register
2026/08/04 22:10 linux-6.6.y aa0e49877a2e d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in software_node_register
* Struck through repros no longer work on HEAD.