audit: type=1804 audit(1645972467.920:2): pid=9587 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.5" name="/root/syzkaller-testdir8833519/syzkaller.u8nFdq/4/bus" dev="sda1" ino=13923 res=1 watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.5:9587] Modules linked in: irq event stamp: 3996279 hardirqs last enabled at (3996278): [] restore_regs_and_return_to_kernel+0x0/0x2a hardirqs last disabled at (3996279): [] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793 softirqs last enabled at (45558): [] __do_softirq+0x68b/0x9ff kernel/softirq.c:314 softirqs last disabled at (47845): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (47845): [] irq_exit+0x193/0x240 kernel/softirq.c:409 CPU: 0 PID: 9587 Comm: syz-executor.5 Not tainted 4.14.268-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880b0628200 task.stack: ffff88804c148000 RIP: 0010:unwind_next_frame+0x150/0x17d0 arch/x86/kernel/unwind_orc.c:348 RSP: 0018:ffff8880ba407350 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: 1ffff11017480e71 RCX: ffff8880ba407458 RDX: 0000000000000005 RSI: ffff8880ba407300 RDI: 0000000000000001 RBP: 0000000000000002 R08: 0000000000000001 R09: 0000000000000001 R10: ffff8880ba407a40 R11: 0000000000000001 R12: ffff8880ba407445 R13: ffff8880ba407448 R14: ffff8880ba407460 R15: ffff8880ba407410 FS: 00007fef8080a700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fef807c8718 CR3: 00000000950be000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __save_stack_trace+0x90/0x160 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 kmem_cache_alloc_node_trace+0x153/0x400 mm/slab.c:3661 __do_kmalloc_node mm/slab.c:3681 [inline] __kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3696 __kmalloc_reserve net/core/skbuff.c:137 [inline] __alloc_skb+0x96/0x510 net/core/skbuff.c:205 alloc_skb include/linux/skbuff.h:980 [inline] nlmsg_new include/net/netlink.h:511 [inline] __neigh_notify+0x84/0x150 net/core/neighbour.c:2927 neigh_cleanup_and_release+0x71/0xc0 net/core/neighbour.c:106 neigh_del+0x161/0x1f0 net/core/neighbour.c:141 neigh_forced_gc net/core/neighbour.c:190 [inline] neigh_alloc net/core/neighbour.c:315 [inline] __neigh_create+0xc5d/0x19b0 net/core/neighbour.c:499 ip6_finish_output2+0x802/0x1f10 net/ipv6/ip6_output.c:117 ip6_finish_output+0x5c6/0xd50 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip6_output+0x1c5/0x660 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:470 [inline] NF_HOOK include/linux/netfilter.h:250 [inline] ndisc_send_skb+0x82a/0x1390 net/ipv6/ndisc.c:483 ndisc_send_rs+0x125/0x630 net/ipv6/ndisc.c:677 addrconf_rs_timer+0x2bb/0x5a0 net/ipv6/addrconf.c:3769 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1280 expire_timers+0x232/0x4d0 kernel/time/timer.c:1319 __run_timers kernel/time/timer.c:1637 [inline] run_timer_softirq+0x1d5/0x5a0 kernel/time/timer.c:1650 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x193/0x240 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1106 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:preempt_schedule_irq+0xab/0x140 kernel/sched/core.c:3614 RSP: 0018:ffff88804c14f5d0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10 RAX: 1ffffffff11e127b RBX: dffffc0000000000 RCX: 1ffff110160c5155 RDX: 0000000000000000 RSI: ffff8880b0628a88 RDI: 0000000000000001 RBP: ffffed10160c5040 R08: ffff88823fff7018 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b0628200 R13: ffffffff88f093d8 R14: 0000000000000000 R15: 0000000000000000 retint_kernel+0x1b/0x2d RIP: 0010:__sanitizer_cov_trace_pc+0x23/0x50 kernel/kcov.c:68 RSP: 0018:ffff88804c14f6a8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: ffff8880b0628200 RBX: 000000000000240f RCX: 1ffff110160c5156 RDX: 0000000000000001 RSI: 0000000000000002 RDI: 0000000000000286 RBP: 000000000000040e R08: ffffffff8b9cc0f8 R09: 0000000000000001 R10: 0000000000000000 R11: ffff8880b0628200 R12: ffffffff88f275f0 R13: ffffffff87cb4a60 R14: 000000000000240f R15: ffff8880b0628200 crypto_is_larval crypto/internal.h:130 [inline] crypto_larval_lookup.part.0+0x52/0x300 crypto/api.c:229 crypto_larval_lookup crypto/api.c:211 [inline] crypto_alg_mod_lookup+0x78/0x170 crypto/api.c:270 crypto_find_alg crypto/api.c:499 [inline] crypto_alloc_tfm+0xff/0x250 crypto/api.c:532 ima_alloc_tfm+0x86/0xc0 security/integrity/ima/ima_crypto.c:95 ima_calc_field_array_hash+0x47/0xb0 security/integrity/ima/ima_crypto.c:531 ima_store_template+0xf5/0x220 security/integrity/ima/ima_api.c:106 ima_store_measurement+0x189/0x420 security/integrity/ima/ima_api.c:297 process_measurement+0x8db/0xb20 security/integrity/ima/ima_main.c:272 do_last fs/namei.c:3435 [inline] path_openat+0x10ad/0x2970 fs/namei.c:3569 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7fef81e95049 RSP: 002b:00007fef8080a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fef81fa7f60 RCX: 00007fef81e95049 RDX: 0000000000000000 RSI: 0000000000024000 RDI: 0000000020000080 RBP: 00007fef81eef08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffda846006f R14: 00007fef8080a300 R15: 0000000000022000 Code: 00 00 fc ff df 4c 89 e2 48 c1 ea 03 0f b6 04 02 4c 89 e2 83 e2 07 38 d0 7f 08 84 c0 0f 85 3d 08 00 00 49 8d 4f 48 41 0f b6 47 35 <48> ba 00 00 00 00 00 fc ff df 48 89 4c 24 08 48 c1 e9 03 80 3c Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9579 Comm: syz-executor.2 Not tainted 4.14.268-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804c01a680 task.stack: ffff88804c020000 RIP: 0010:debug_lockdep_rcu_enabled+0x6b/0xe0 kernel/rcu/update.c:299 RSP: 0018:ffff8880ba507208 EFLAGS: 00000002 RAX: 0000000000000003 RBX: 1ffff110174a0e46 RCX: 0000000000000001 RDX: 0000000000000004 RSI: 0000000000000002 RDI: ffff88804c01af04 RBP: ffffffff88f84048 R08: ffffffff8b9d4858 R09: 00000000000e603a R10: 0000000000000000 R11: ffff88804c01a680 R12: ffffffff81645235 R13: ffff88804c01a680 R14: 0000000000002710 R15: ffff8880ba52ed40 FS: 00007f9647331700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 00000000b0a2b000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x5a6/0x870 kernel/locking/lockdep.c:4016 seqcount_lockdep_reader_access include/linux/seqlock.h:82 [inline] read_seqcount_begin include/linux/seqlock.h:164 [inline] ktime_get+0xd3/0x2c0 kernel/time/timekeeping.c:760 hrtimer_forward_now include/linux/hrtimer.h:457 [inline] perf_swevent_hrtimer+0x2b5/0x350 kernel/events/core.c:8759 __run_hrtimer kernel/time/hrtimer.c:1223 [inline] __hrtimer_run_queues+0x30b/0xc80 kernel/time/hrtimer.c:1287 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1079 [inline] smp_apic_timer_interrupt+0x117/0x5e0 arch/x86/kernel/apic/apic.c:1104 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline] RIP: 0010:queued_write_lock_slowpath+0x92/0x1d0 kernel/locking/qrwlock.c:130 RSP: 0018:ffff8880ba5077b8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: ffffffff89d95630 RCX: 0000000000005071 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff89d95630 RBP: ffffffff89d95634 R08: ffffffff8b9cae48 R09: 00000000000421a4 R10: ffff88804c01aff8 R11: ffff88804c01a680 R12: fffffbfff13b2ac6 R13: 0000000000000001 R14: 0000000000000000 R15: ffff8880a5aaf180 queued_write_lock include/asm-generic/qrwlock.h:134 [inline] do_raw_write_lock+0xc2/0x1d0 kernel/locking/spinlock_debug.c:203 neigh_forced_gc net/core/neighbour.c:176 [inline] neigh_alloc net/core/neighbour.c:315 [inline] __neigh_create+0xb34/0x19b0 net/core/neighbour.c:499 ip6_finish_output2+0x802/0x1f10 net/ipv6/ip6_output.c:117 ip6_finish_output+0x5c6/0xd50 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:239 [inline] ip6_output+0x1c5/0x660 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:470 [inline] NF_HOOK include/linux/netfilter.h:250 [inline] ndisc_send_skb+0x82a/0x1390 net/ipv6/ndisc.c:483 ndisc_send_rs+0x125/0x630 net/ipv6/ndisc.c:677 addrconf_rs_timer+0x2bb/0x5a0 net/ipv6/addrconf.c:3769 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1280 expire_timers+0x232/0x4d0 kernel/time/timer.c:1319 __run_timers kernel/time/timer.c:1637 [inline] run_timer_softirq+0x1d5/0x5a0 kernel/time/timer.c:1650 __do_softirq+0x24d/0x9ff kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x193/0x240 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x141/0x5e0 arch/x86/kernel/apic/apic.c:1106 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793 RIP: 0010:in_task_stack+0x28/0x40 arch/x86/kernel/dumpstack.c:43 RSP: 0018:ffff88804c027660 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000001 RBX: ffff88804c027738 RCX: ffff88804c028000 RDX: ffff88804c027738 RSI: ffff88804c01a680 RDI: ffff88804c027690 RBP: ffff88804c027690 R08: 0000000000000001 R09: ffff88804c027760 R10: ffff88804c02778f R11: ffff88804c01a680 R12: ffff88804c01a680 R13: ffff88804c027758 R14: dffffc0000000000 R15: ffff88804c027738 get_stack_info+0x32/0x150 arch/x86/kernel/dumpstack_64.c:115 __unwind_start+0x521/0x930 arch/x86/kernel/unwind_orc.c:552 unwind_start arch/x86/include/asm/unwind.h:60 [inline] __save_stack_trace+0x63/0x160 arch/x86/kernel/stacktrace.c:43 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 kmem_cache_alloc+0x124/0x3c0 mm/slab.c:3552 ptlock_alloc+0x1d/0x70 mm/memory.c:4846 ptlock_init include/linux/mm.h:1764 [inline] pgtable_page_ctor include/linux/mm.h:1798 [inline] pte_alloc_one+0x57/0x100 arch/x86/mm/pgtable.c:33 __pte_alloc+0x25/0x2c0 mm/memory.c:678 copy_pte_range mm/memory.c:1103 [inline] copy_pmd_range mm/memory.c:1179 [inline] copy_pud_range mm/memory.c:1213 [inline] copy_p4d_range mm/memory.c:1235 [inline] copy_page_range+0x1788/0x2630 mm/memory.c:1297 dup_mmap kernel/fork.c:709 [inline] dup_mm kernel/fork.c:1200 [inline] copy_mm kernel/fork.c:1255 [inline] copy_process.part.0+0x4df8/0x71c0 kernel/fork.c:1791 copy_process kernel/fork.c:1606 [inline] _do_fork+0x184/0xc80 kernel/fork.c:2092 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f96489bc049 RSP: 002b:00007f9647331118 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f9648acef60 RCX: 00007f96489bc049 RDX: 0000000020000200 RSI: 0000000000000000 RDI: 0000000070a60000 RBP: 00007f9648a1608d R08: 0000000020000280 R09: 0000000020000280 R10: 0000000020000240 R11: 0000000000000206 R12: 0000000000000000 R13: 00007ffdcf9508df R14: 00007f9647331300 R15: 0000000000022000 Code: 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 38 d0 7c 04 84 d2 75 64 8b 0d 57 fe f6 07 85 c9 <74> 45 65 48 8b 1c 25 c0 7f 02 00 48 8d bb 84 08 00 00 48 b8 00 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: df 4c 89 e2 fisttps -0x1e(%rcx,%rcx,4) 4: 48 c1 ea 03 shr $0x3,%rdx 8: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax c: 4c 89 e2 mov %r12,%rdx f: 83 e2 07 and $0x7,%edx 12: 38 d0 cmp %dl,%al 14: 7f 08 jg 0x1e 16: 84 c0 test %al,%al 18: 0f 85 3d 08 00 00 jne 0x85b 1e: 49 8d 4f 48 lea 0x48(%r15),%rcx 22: 41 0f b6 47 35 movzbl 0x35(%r15),%eax * 27: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx <-- trapping instruction 2e: fc ff df 31: 48 89 4c 24 08 mov %rcx,0x8(%rsp) 36: 48 c1 e9 03 shr $0x3,%rcx 3a: 80 .byte 0x80 3b: 3c .byte 0x3c