BUG: unable to handle page fault for address: ffffffffffffffff #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD fd99067 P4D fd99067 PUD fd9b067 PMD 0 Oops: Oops: 0002 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 6063 Comm: syz.3.20 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__hlist_del include/linux/list.h:1045 [inline] RIP: 0010:detach_timer kernel/time/timer.c:892 [inline] RIP: 0010:expire_timers kernel/time/timer.c:1783 [inline] RIP: 0010:__run_timers+0x68a/0xb00 kernel/time/timer.c:2375 Code: 8b 3b 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 08 03 00 00 48 8b 43 08 48 89 c2 48 c1 ea 03 42 80 3c 22 00 0f 85 db 02 00 00 <4c> 89 38 48 89 44 24 08 4d 85 ff 74 24 e8 a4 38 15 00 49 8d 7f 08 RSP: 0018:ffffc90000007d48 EFLAGS: 00010046 RAX: ffffffffffffffff RBX: ffff8880698494d8 RCX: 0000000000000102 RDX: 1fffffffffffffff RSI: ffffffff81f8a7c9 RDI: ffff8880698494e0 RBP: ffffc90000007e08 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff926ade5f R11: 0000000000000001 R12: dffffc0000000000 R13: fffff52000000fc1 R14: ffff88802ae266c0 R15: ffffffffffffffff FS: 0000000000000000(0000) GS:ffff888095279000(0063) knlGS:0000000057a81480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffffffffffffffff CR3: 000000006a3b1000 CR4: 0000000000352ef0 Call Trace: __run_timer_base kernel/time/timer.c:2387 [inline] __run_timer_base kernel/time/timer.c:2379 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2396 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2406 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:220 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:229 Code: 90 f3 0f 1e fa 53 48 8b 74 24 08 48 89 fb 48 83 c7 18 e8 fa ba f8 f5 48 89 df e8 82 11 f9 f5 e8 0d 09 26 f6 fb bf 01 00 00 00 d2 d7 e7 f5 65 48 83 3d c1 42 ca 09 00 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc900035e7c08 EFLAGS: 00000206 RAX: 000000000000034d RBX: ffffffff90cc5880 RCX: 0000000000000080 RDX: 0000000000000001 RSI: ffffffff8e625648 RDI: 0000000000000001 RBP: 0000000000000060 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888022b2c000 R13: 0000000063702f73 R14: ffffffff8be17c80 R15: 000000000000009c pci_user_write_config_dword+0x150/0x230 drivers/pci/access.c:278 proc_bus_pci_write+0x531/0x5e0 drivers/pci/proc.c:173 pde_write fs/proc/inode.c:330 [inline] proc_reg_write+0x240/0x330 fs/proc/inode.c:342 vfs_write+0x2aa/0x1040 fs/read_write.c:665 ksys_write+0x12a/0x250 fs/read_write.c:719 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x14d/0x8e0 arch/x86/entry/syscall_32.c:286 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:311 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf7f04fbc Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000ffcb3afc EFLAGS: 00000296 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000080000300 RDX: 000000000000010f 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: CR2: ffffffffffffffff ---[ end trace 0000000000000000 ]--- RIP: 0010:__hlist_del include/linux/list.h:1045 [inline] RIP: 0010:detach_timer kernel/time/timer.c:892 [inline] RIP: 0010:expire_timers kernel/time/timer.c:1783 [inline] RIP: 0010:__run_timers+0x68a/0xb00 kernel/time/timer.c:2375 Code: 8b 3b 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 08 03 00 00 48 8b 43 08 48 89 c2 48 c1 ea 03 42 80 3c 22 00 0f 85 db 02 00 00 <4c> 89 38 48 89 44 24 08 4d 85 ff 74 24 e8 a4 38 15 00 49 8d 7f 08 RSP: 0018:ffffc90000007d48 EFLAGS: 00010046 RAX: ffffffffffffffff RBX: ffff8880698494d8 RCX: 0000000000000102 RDX: 1fffffffffffffff RSI: ffffffff81f8a7c9 RDI: ffff8880698494e0 RBP: ffffc90000007e08 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff926ade5f R11: 0000000000000001 R12: dffffc0000000000 R13: fffff52000000fc1 R14: ffff88802ae266c0 R15: ffffffffffffffff FS: 0000000000000000(0000) GS:ffff888095279000(0063) knlGS:0000000057a81480 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: ffffffffffffffff CR3: 000000006a3b1000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 8b 3b mov (%rbx),%edi 2: 48 89 f8 mov %rdi,%rax 5: 48 c1 e8 03 shr $0x3,%rax 9: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) e: 0f 85 08 03 00 00 jne 0x31c 14: 48 8b 43 08 mov 0x8(%rbx),%rax 18: 48 89 c2 mov %rax,%rdx 1b: 48 c1 ea 03 shr $0x3,%rdx 1f: 42 80 3c 22 00 cmpb $0x0,(%rdx,%r12,1) 24: 0f 85 db 02 00 00 jne 0x305 * 2a: 4c 89 38 mov %r15,(%rax) <-- trapping instruction 2d: 48 89 44 24 08 mov %rax,0x8(%rsp) 32: 4d 85 ff test %r15,%r15 35: 74 24 je 0x5b 37: e8 a4 38 15 00 call 0x1538e0 3c: 49 8d 7f 08 lea 0x8(%r15),%rdi