program: mkdirat(0xffffffffffffff9c, &(0x7f0000000040)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000080)='./sys\x00', &(0x7f00000000c0)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000100)='./sys/bus/pci/devices/0000:00:03.0/driver_override\x00', 0x1, 0x0) write(r0, &(0x7f0000000140)='dwc3-pci\x00', 0x9) r1 = openat(0xffffffffffffff9c, &(0x7f0000000180)='./sys/bus/pci/drivers/virtio-pci/unbind\x00', 0x1, 0x0) write(r1, &(0x7f00000001c0)='0000:00:03.0\x00', 0xd) r2 = openat(0xffffffffffffff9c, &(0x7f0000000200)='./sys/bus/pci/drivers/dwc3-pci/bind\x00', 0x1, 0x0) write(r2, &(0x7f0000000240)='0000:00:03.0\x00', 0xd) [ 78.103199][ T5316] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI [ 78.107677][ T5316] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] [ 78.110928][ T5316] CPU: 0 UID: 0 PID: 5316 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 78.113878][ T5316] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 78.117114][ T5316] RIP: 0010:software_node_register+0x30/0x1f0 [ 78.119143][ T5316] Code: 57 41 56 41 55 41 54 53 50 48 89 fb 49 be 00 00 00 00 00 fc ff df e8 bf e2 9b fb 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 41 15 0b fc 49 8b 2c 24 48 85 ed [ 78.125721][ T5316] RSP: 0018:ffffc9000e33f7e0 EFLAGS: 00010202 [ 78.127872][ T5316] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000100000 [ 78.130906][ T5316] RDX: ffffc90020001000 RSI: 00000000000161be RDI: 00000000000161bf [ 78.133472][ T5316] RBP: ffffc9000e33f9b0 R08: 0000000000000200 R09: ffffffff8ca45260 [ 78.135984][ T5316] R10: 000000000000c0bf R11: 000000000000c0a0 R12: 0000000000000008 [ 78.138664][ T5316] R13: ffff888013237010 R14: dffffc0000000000 R15: 0000000000000000 [ 78.141581][ T5316] FS: 00007fd64b1256c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 [ 78.144791][ T5316] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 78.147410][ T5316] CR2: 00007f67c8ea5b50 CR3: 0000000013682000 CR4: 0000000000352ef0 [ 78.150427][ T5316] Call Trace: [ 78.151664][ T5316] [ 78.152754][ T5316] device_add_software_node+0x1a0/0x300 [ 78.154893][ T5316] dwc3_pci_probe+0x542/0xad0 [ 78.156619][ T5316] ? __pfx_dwc3_pci_probe+0x10/0x10 [ 78.158542][ T5316] ? do_raw_spin_lock+0x12b/0x2f0 [ 78.160441][ T5316] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 78.162766][ T5316] ? lockdep_hardirqs_on+0x7a/0x110 [ 78.164711][ T5316] ? _raw_spin_unlock_irqrestore+0x4c/0x80 [ 78.167004][ T5316] pci_device_probe+0x431/0xc90 [ 78.168734][ T5316] ? up_write+0x19f/0x4a0 [ 78.170306][ T5316] ? __pfx_pci_device_probe+0x10/0x10 [ 78.172284][ T5316] ? kernfs_put+0x7b9/0x820 [ 78.174029][ T5316] ? kernfs_create_link+0x187/0x200 [ 78.175936][ T5316] ? sysfs_do_create_link_sd+0xe0/0x110 [ 78.177975][ T5316] ? driver_sysfs_add+0x1fe/0x210 [ 78.179883][ T5316] ? __pfx_pci_device_probe+0x10/0x10 [ 78.181918][ T5316] really_probe+0x254/0xae0 [ 78.183668][ T5316] __driver_probe_device+0x1e8/0x360 [ 78.185700][ T5316] device_driver_attach+0xe0/0x1d0 [ 78.187587][ T5316] bind_store+0x1d0/0x220 [ 78.189213][ T5316] ? __pfx_sysfs_kf_write+0x10/0x10 [ 78.191143][ T5316] kernfs_fop_write_iter+0x3a4/0x540 [ 78.192982][ T5316] vfs_write+0x612/0xba0 [ 78.194446][ T5316] ? __pfx_vfs_write+0x10/0x10 [ 78.196065][ T5316] ? __fget_files+0x2a/0x420 [ 78.197649][ T5316] ksys_write+0x150/0x270 [ 78.199080][ T5316] ? __pfx_ksys_write+0x10/0x10 [ 78.200681][ T5316] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.203082][ T5316] do_syscall_64+0x174/0x580 [ 78.204990][ T5316] ? trace_irq_disable+0x3b/0x140 [ 78.209603][ T5316] ? clear_bhb_loop+0x40/0x90 [ 78.212518][ T5316] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.215078][ T5316] RIP: 0033:0x7fd64a19e019 [ 78.216743][ T5316] 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 [ 78.224264][ T5316] RSP: 002b:00007fd64b124fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 78.227598][ T5316] RAX: ffffffffffffffda RBX: 00007fd64a426090 RCX: 00007fd64a19e019 [ 78.230816][ T5316] RDX: 000000000000000d RSI: 0000200000000240 RDI: 0000000000000005 [ 78.234109][ T5316] RBP: 00007fd64a23500c R08: 0000000000000000 R09: 0000000000000000 [ 78.237338][ T5316] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 78.240574][ T5316] R13: 00007fd64a426128 R14: 00007fd64a426090 R15: 00007ffcde7b1448 [ 78.243819][ T5316] [ 78.245160][ T5316] Modules linked in: [ 78.247269][ T5316] ---[ end trace 0000000000000000 ]--- [ 78.312792][ T5316] RIP: 0010:software_node_register+0x30/0x1f0 [ 78.315390][ T5316] Code: 57 41 56 41 55 41 54 53 50 48 89 fb 49 be 00 00 00 00 00 fc ff df e8 bf e2 9b fb 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 41 15 0b fc 49 8b 2c 24 48 85 ed [ 78.328703][ T5316] RSP: 0018:ffffc9000e33f7e0 EFLAGS: 00010202 [ 78.331850][ T5316] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000100000 [ 78.345496][ T5316] RDX: ffffc90020001000 RSI: 00000000000161be RDI: 00000000000161bf [ 78.348677][ T5316] RBP: ffffc9000e33f9b0 R08: 0000000000000200 R09: ffffffff8ca45260 [ 78.352223][ T5316] R10: 000000000000c0bf R11: 000000000000c0a0 R12: 0000000000000008 [ 78.355491][ T5316] R13: ffff888013237010 R14: dffffc0000000000 R15: 0000000000000000 [ 78.358787][ T5316] FS: 00007fd64b1256c0(0000) GS:ffff88808c540000(0000) knlGS:0000000000000000 [ 78.364399][ T5316] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 78.367101][ T5316] CR2: 0000563f4e8d6168 CR3: 0000000013682000 CR4: 0000000000352ef0 [ 78.370691][ T5316] Kernel panic - not syncing: Fatal exception [ 78.373605][ T5316] Kernel Offset: disabled [ 78.375415][ T5316] Rebooting in 86400 seconds..