BUG: spinlock bad magic on CPU#0, syz-executor2/17064 lock: 0xffff880215796840, .magic: 00000000, .owner: /-1, .owner_cpu: 0 CPU: 0 PID: 17064 Comm: syz-executor2 Not tainted 4.15.0-rc3-next-20171214+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xe9/0x14b lib/dump_stack.c:53 spin_dump+0x73/0xd0 kernel/locking/spinlock_debug.c:67 spin_bug kernel/locking/spinlock_debug.c:75 [inline] debug_spin_lock_before kernel/locking/spinlock_debug.c:83 [inline] do_raw_spin_lock+0x6d/0xc0 kernel/locking/spinlock_debug.c:112 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_lock+0x32/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:310 [inline] xfrm_timer_handler+0x31/0x3d0 net/xfrm/xfrm_state.c:481 __tasklet_hrtimer_trampoline+0xb/0x30 kernel/softirq.c:614 tasklet_hi_action+0x90/0x230 kernel/softirq.c:545 __do_softirq+0xcb/0x4f3 kernel/softirq.c:285 invoke_softirq kernel/softirq.c:365 [inline] irq_exit+0xd4/0xe0 kernel/softirq.c:405 exiting_irq arch/x86/include/asm/apic.h:540 [inline] smp_apic_timer_interrupt+0x8e/0x2a0 arch/x86/kernel/apic/apic.c:1052 apic_timer_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:920 RIP: 0010:clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:49 RSP: 0000:ffffc90000f43cf8 EFLAGS: 00010246 ORIG_RAX: ffffffffffffff11 RAX: 0000000000000000 RBX: 00000000000000fd RCX: 00000000000002c0 RDX: 0000000000000000 RSI: ffffffff83080700 RDI: ffff8801def50d40 RBP: ffffc90000f43d40 R08: 0000160000000000 R09: 0000000000026f50 R10: ffff88021fffa000 R11: 0000000000000000 R12: ffffea00077b8000 R13: ffff880210434500 R14: 0000000000000150 R15: ffffffff82e6227c __do_huge_pmd_anonymous_page mm/huge_memory.c:570 [inline] do_huge_pmd_anonymous_page+0x1c7/0x850 mm/huge_memory.c:728 create_huge_pmd mm/memory.c:3838 [inline] __handle_mm_fault+0xc37/0x1930 mm/memory.c:4042 handle_mm_fault+0x215/0x450 mm/memory.c:4108 __do_page_fault+0x337/0x6b0 arch/x86/mm/fault.c:1429 do_page_fault+0x52/0x330 arch/x86/mm/fault.c:1504 page_fault+0x4c/0x60 arch/x86/entry/entry_64.S:1243 RIP: 0033:0x439ec1 RSP: 002b:0000000000a6f948 EFLAGS: 00010202 RAX: 0000000020527ff6 RBX: 0000000000000002 RCX: 000000000000642f RDX: 000000000000000a RSI: 00000000007607e0 RDI: 0000000020527ff6 RBP: 000000000000000a R08: 0000000000000000 R09: 000000000000035a R10: 0000000000a6f910 R11: 0000000000000206 R12: fffffffffffffffe R13: 0000000020527ff6 R14: 0000000000011487 R15: 0000000000000010 BUG: unable to handle kernel paging request at 00000000000016b0 IP: perf_trace_lock_acquire+0x17/0x150 include/trace/events/lock.h:13 PGD 1dbcdd067 P4D 1dbcdd067 PUD 1dbcde067 PMD 0 Oops: 0000 [#1] SMP Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 17064 Comm: syz-executor2 Not tainted 4.15.0-rc3-next-20171214+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:perf_trace_lock_acquire+0x17/0x150 include/trace/events/lock.h:13 RSP: 0000:ffff88021fc03d98 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000001698 RDI: ffffffff8307e240 RBP: ffff88021fc03de0 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff812216f0 R12: ffff8801e130a168 R13: 0000000000001698 R14: ffffffff8307e240 R15: 0000000000000001 FS: 00000000013bf940(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000016b0 CR3: 00000001dbcdc000 CR4: 00000000001426f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x168/0x220 kernel/locking/lockdep.c:3913 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144 spin_lock include/linux/spinlock.h:310 [inline] __xfrm_state_delete+0x41/0x1a0 net/xfrm/xfrm_state.c:611 xfrm_timer_handler+0x1a2/0x3d0 net/xfrm/xfrm_state.c:548 __tasklet_hrtimer_trampoline+0xb/0x30 kernel/softirq.c:614 tasklet_hi_action+0x90/0x230 kernel/softirq.c:545 __do_softirq+0xcb/0x4f3 kernel/softirq.c:285 invoke_softirq kernel/softirq.c:365 [inline] irq_exit+0xd4/0xe0 kernel/softirq.c:405 exiting_irq arch/x86/include/asm/apic.h:540 [inline] smp_apic_timer_interrupt+0x8e/0x2a0 arch/x86/kernel/apic/apic.c:1052 apic_timer_interrupt+0xa9/0xb0 arch/x86/entry/entry_64.S:920 RIP: 0010:clear_page_erms+0x7/0x10 arch/x86/lib/clear_page_64.S:49 RSP: 0000:ffffc90000f43cf8 EFLAGS: 00010246 ORIG_RAX: ffffffffffffff11 RAX: 0000000000000000 RBX: 00000000000000fd RCX: 00000000000002c0 RDX: 0000000000000000 RSI: ffffffff83080700 RDI: ffff8801def50d40 RBP: ffffc90000f43d40 R08: 0000160000000000 R09: 0000000000026f50 R10: ffff88021fffa000 R11: 0000000000000000 R12: ffffea00077b8000 R13: ffff880210434500 R14: 0000000000000150 R15: ffffffff82e6227c __do_huge_pmd_anonymous_page mm/huge_memory.c:570 [inline] do_huge_pmd_anonymous_page+0x1c7/0x850 mm/huge_memory.c:728 create_huge_pmd mm/memory.c:3838 [inline] __handle_mm_fault+0xc37/0x1930 mm/memory.c:4042 handle_mm_fault+0x215/0x450 mm/memory.c:4108 __do_page_fault+0x337/0x6b0 arch/x86/mm/fault.c:1429 do_page_fault+0x52/0x330 arch/x86/mm/fault.c:1504 page_fault+0x4c/0x60 arch/x86/entry/entry_64.S:1243 RIP: 0033:0x439ec1 RSP: 002b:0000000000a6f948 EFLAGS: 00010202 RAX: 0000000020527ff6 RBX: 0000000000000002 RCX: 000000000000642f RDX: 000000000000000a RSI: 00000000007607e0 RDI: 0000000020527ff6 RBP: 000000000000000a R08: 0000000000000000 R09: 000000000000035a R10: 0000000000a6f910 R11: 0000000000000206 R12: fffffffffffffffe R13: 0000000020527ff6 R14: 0000000000011487 R15: 0000000000000010 Code: 00 07 00 41 bc 06 00 00 00 e9 0e ff ff ff 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 49 89 fe 53 49 89 f5 48 83 ec 20 <48> 8b 7e 18 89 4d c0 44 89 45 bc 48 85 ff 0f 84 0e 01 00 00 e8 RIP: perf_trace_lock_acquire+0x17/0x150 include/trace/events/lock.h:13 RSP: ffff88021fc03d98 CR2: 00000000000016b0 ---[ end trace b1f9acea96ae8ded ]---