Oops: general protection fault, probably for non-canonical address 0xdffffc0020001469: 0000 [#1] SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x000000010000a348-0x000000010000a34f] CPU: 2 UID: 0 PID: 23014 Comm: syz.0.3413 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__release_resource+0x89/0x2c0 kernel/resource.c:241 Code: 00 48 8b 5b 38 48 85 db 0f 84 46 01 00 00 49 bd 00 00 00 00 00 fc ff df eb 28 e8 62 03 41 00 48 8d 6b 30 48 89 e8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 97 01 00 00 48 8b 5b 30 48 85 db 0f 84 12 01 RSP: 0000:ffffc900064b7b10 EFLAGS: 00010206 RAX: 0000000020001469 RBX: 000000010000a31b RCX: ffffc90030de6000 RDX: 0000000000080000 RSI: ffffffff81c8cc3e RDI: ffff88802132a5c8 RBP: 000000010000a34b R08: 0000000000000001 R09: fffff52000c96f5d R10: 0000000000000003 R11: 0000000000000000 R12: ffff88802132a5a0 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888096df3000(0063) knlGS:00000000f548cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7278b50 CR3: 000000004b6d7000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: release_resource+0x26/0x40 kernel/resource.c:319 pci_free_resources drivers/pci/remove.c:16 [inline] pci_destroy_dev drivers/pci/remove.c:56 [inline] pci_remove_bus_device+0x2d3/0x3b0 drivers/pci/remove.c:110 pci_stop_and_remove_bus_device_locked+0x1a/0x20 drivers/pci/remove.c:136 remove_store+0x123/0x140 drivers/pci/pci-sysfs.c:523 dev_attr_store+0x58/0x80 drivers/base/core.c:2505 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6ac/0x1050 fs/read_write.c:687 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe7/0x970 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf70befec Code: Unable to access opcode bytes at 0xf70befc2. RSP: 002b:00000000f548c50c EFLAGS: 00000292 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 0000000080000140 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__release_resource+0x89/0x2c0 kernel/resource.c:241 Code: 00 48 8b 5b 38 48 85 db 0f 84 46 01 00 00 49 bd 00 00 00 00 00 fc ff df eb 28 e8 62 03 41 00 48 8d 6b 30 48 89 e8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 97 01 00 00 48 8b 5b 30 48 85 db 0f 84 12 01 RSP: 0000:ffffc900064b7b10 EFLAGS: 00010206 RAX: 0000000020001469 RBX: 000000010000a31b RCX: ffffc90030de6000 RDX: 0000000000080000 RSI: ffffffff81c8cc3e RDI: ffff88802132a5c8 RBP: 000000010000a34b R08: 0000000000000001 R09: fffff52000c96f5d R10: 0000000000000003 R11: 0000000000000000 R12: ffff88802132a5a0 R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff888096df3000(0063) knlGS:00000000f548cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f70bf000 CR3: 000000004b6d7000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 48 8b add %cl,-0x75(%rax) 3: 5b pop %rbx 4: 38 48 85 cmp %cl,-0x7b(%rax) 7: db 0f fisttpl (%rdi) 9: 84 46 01 test %al,0x1(%rsi) c: 00 00 add %al,(%rax) e: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13 15: fc ff df 18: eb 28 jmp 0x42 1a: e8 62 03 41 00 call 0x410381 1f: 48 8d 6b 30 lea 0x30(%rbx),%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 0f 85 97 01 00 00 jne 0x1cc 35: 48 8b 5b 30 mov 0x30(%rbx),%rbx 39: 48 85 db test %rbx,%rbx 3c: 0f .byte 0xf 3d: 84 12 test %dl,(%rdx) 3f: 01 .byte 0x1