program: mkdirat(0xffffffffffffff9c, &(0x7f0000000000)='./sys\x00', 0x1ff) mount(0x0, &(0x7f0000000100)='./sys\x00', &(0x7f0000000200)='sysfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f0000000300)='./sys/bus/pci/devices/0000:00:02.0/driver/unbind\x00', 0x1, 0x0) write(r0, &(0x7f0000000400)='0000:00:02.0\x00', 0xc) close(r0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000500)='./sys/bus/pci/devices/0000:00:02.0/driver_override\x00', 0x1, 0x0) write(r1, &(0x7f0000000600)='dwc3-pci\x00', 0x9) close(r1) r2 = openat(0xffffffffffffff9c, &(0x7f0000000700)='./sys/bus/pci/drivers/dwc3-pci/bind\x00', 0x1, 0x0) write(r2, &(0x7f0000000800)='0000:00:02.0\x00', 0xc) close(r2) [ 85.897846][ T5316] e1000e 0000:00:02.0 eth1: removed PHC [ 86.090019][ T5316] e1000e 0000:00:02.0 eth1: NIC Link is Down [ 86.205024][ T5279] Bluetooth: hci0: command tx timeout [ 86.541869][ T9] cfg80211: failed to load regulatory.db [ 86.576676][ T5317] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN NOPTI [ 86.581779][ T5317] KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] [ 86.585316][ T5317] CPU: 0 UID: 0 PID: 5317 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) [ 86.589075][ T5317] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 86.593217][ T5317] RIP: 0010:software_node_register+0x30/0x1f0 [ 86.595958][ T5317] Code: 57 41 56 41 55 41 54 53 50 48 89 fb 49 be 00 00 00 00 00 fc ff df e8 df 8c 9d 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 91 c2 0c fc 49 8b 2c 24 48 85 ed [ 86.604009][ T5317] RSP: 0018:ffffc9000f1ef7e0 EFLAGS: 00010202 [ 86.606609][ T5317] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000100000 [ 86.609248][ T5317] RDX: ffffc9000f471000 RSI: 0000000000016032 RDI: 0000000000016033 [ 86.612448][ T5317] RBP: ffffc9000f1ef9b0 R08: ffff88801fbbca80 R09: 0000000000000003 [ 86.615766][ T5317] R10: 0000000000004b7e R11: 0000000000000002 R12: 0000000000000008 [ 86.619094][ T5317] R13: ffff888012272010 R14: dffffc0000000000 R15: 0000000000000000 [ 86.622525][ T5317] FS: 00007fecb23a56c0(0000) GS:ffff88808c53e000(0000) knlGS:0000000000000000 [ 86.625994][ T5317] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.628684][ T5317] CR2: 00007fc7728378f0 CR3: 000000001d11f000 CR4: 0000000000352ef0 [ 86.631986][ T5317] Call Trace: [ 86.633435][ T5317] [ 86.634722][ T5317] device_add_software_node+0x1a0/0x300 [ 86.637060][ T5317] dwc3_pci_probe+0x542/0xad0 [ 86.638987][ T5317] ? __pfx_dwc3_pci_probe+0x10/0x10 [ 86.641213][ T5317] ? do_raw_spin_lock+0x12b/0x2f0 [ 86.643342][ T5317] ? _raw_spin_unlock_irqrestore+0x30/0x80 [ 86.645818][ T5317] ? lockdep_hardirqs_on+0x7a/0x110 [ 86.648015][ T5317] ? _raw_spin_unlock_irqrestore+0x4c/0x80 [ 86.650457][ T5317] pci_device_probe+0x431/0xc90 [ 86.652687][ T5317] ? up_write+0x19f/0x4a0 [ 86.654570][ T5317] ? __pfx_pci_device_probe+0x10/0x10 [ 86.656863][ T5317] ? kernfs_put+0x7b9/0x820 [ 86.658827][ T5317] ? kernfs_create_link+0x187/0x200 [ 86.660999][ T5317] ? sysfs_do_create_link_sd+0xe0/0x110 [ 86.663419][ T5317] ? driver_sysfs_add+0x1fe/0x210 [ 86.665597][ T5317] ? __pfx_pci_device_probe+0x10/0x10 [ 86.667889][ T5317] really_probe+0x254/0xae0 [ 86.669963][ T5317] __driver_probe_device+0x1e8/0x360 [ 86.672276][ T5317] device_driver_attach+0xe0/0x1d0 [ 86.674456][ T5317] bind_store+0x1d0/0x220 [ 86.675926][ T5317] ? __pfx_sysfs_kf_write+0x10/0x10 [ 86.677651][ T5317] kernfs_fop_write_iter+0x3a4/0x540 [ 86.679450][ T5317] vfs_write+0x612/0xba0 [ 86.681124][ T5317] ? __pfx_vfs_write+0x10/0x10 [ 86.682874][ T5317] ? __fget_files+0x2a/0x420 [ 86.684462][ T5317] ksys_write+0x150/0x270 [ 86.686101][ T5317] ? __pfx_ksys_write+0x10/0x10 [ 86.687925][ T5317] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.690202][ T5317] do_syscall_64+0x174/0x580 [ 86.692005][ T5317] ? trace_irq_disable+0x3b/0x140 [ 86.694015][ T5317] ? clear_bhb_loop+0x70/0xc0 [ 86.695931][ T5317] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.697944][ T5317] RIP: 0033:0x7fecb159e0d9 [ 86.699440][ T5317] 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 [ 86.706607][ T5317] RSP: 002b:00007fecb23a4fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 86.709879][ T5317] RAX: ffffffffffffffda RBX: 00007fecb1826090 RCX: 00007fecb159e0d9 [ 86.713094][ T5317] RDX: 000000000000000c RSI: 0000200000000800 RDI: 0000000000000003 [ 86.716307][ T5317] RBP: 00007fecb1635024 R08: 0000000000000000 R09: 0000000000000000 [ 86.719493][ T5317] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 86.722718][ T5317] R13: 00007fecb1826128 R14: 00007fecb1826090 R15: 00007fffe32648b8 [ 86.725899][ T5317] [ 86.727156][ T5317] Modules linked in: [ 86.729165][ T5317] ---[ end trace 0000000000000000 ]--- [ 86.809137][ T5317] RIP: 0010:software_node_register+0x30/0x1f0 [ 86.816700][ T5317] Code: 57 41 56 41 55 41 54 53 50 48 89 fb 49 be 00 00 00 00 00 fc ff df e8 df 8c 9d 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 91 c2 0c fc 49 8b 2c 24 48 85 ed [ 86.835251][ T5317] RSP: 0018:ffffc9000f1ef7e0 EFLAGS: 00010202 [ 86.848661][ T5317] RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000100000 [ 86.852044][ T5317] RDX: ffffc9000f471000 RSI: 0000000000016032 RDI: 0000000000016033 [ 86.856969][ T5317] RBP: ffffc9000f1ef9b0 R08: ffff88801fbbca80 R09: 0000000000000003 [ 86.864578][ T5317] R10: 0000000000004b7e R11: 0000000000000002 R12: 0000000000000008 [ 86.872157][ T5317] R13: ffff888012272010 R14: dffffc0000000000 R15: 0000000000000000 [ 86.877344][ T5317] FS: 00007fecb23a56c0(0000) GS:ffff88808c53e000(0000) knlGS:0000000000000000 [ 86.887292][ T5317] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 86.896414][ T5317] CR2: 00007ffe53ed0138 CR3: 000000001d11f000 CR4: 0000000000352ef0 [ 86.904406][ T5317] Kernel panic - not syncing: Fatal exception [ 86.907280][ T5317] Kernel Offset: disabled [ 86.909104][ T5317] Rebooting in 86400 seconds..