input: syz1 as /devices/virtual/input/input16535 input: syz1 as /devices/virtual/input/input16536 watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.3:5072] Modules linked in: irq event stamp: 3413874 hardirqs last enabled at (3413873): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (3413874): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (3266): [] __do_softirq+0x678/0x980 kernel/softirq.c:318 softirqs last disabled at (3091): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (3091): [] irq_exit+0x215/0x260 kernel/softirq.c:412 CPU: 0 PID: 5072 Comm: syz-executor.3 Not tainted 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3a6/0xae0 kernel/locking/qspinlock.c:474 Code: eb c6 45 01 01 41 bc 00 80 00 00 48 c1 e9 03 83 e3 07 41 be 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8d 2c 01 eb 0c f3 90 <41> 83 ec 01 0f 84 38 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 c0 0f RSP: 0018:ffff888202f0f9a0 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff1479ffc RDX: 0000000000000001 RSI: ffffffff8167b6e5 RDI: 0000000000000286 RBP: ffffffff8a3cffe0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 000000000000760c R13: fffffbfff1479ffc R14: 0000000000000001 R15: ffff8880ba02be00 FS: 00007f8134b73700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b94a333b10 CR3: 000000021c38d000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:679 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:53 [inline] queued_spin_lock include/asm-generic/qspinlock.h:88 [inline] do_raw_spin_lock+0x189/0x220 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:329 [inline] proc_keys_start+0x4d/0x450 security/keys/proc.c:123 seq_read+0x2a0/0x11c0 fs/seq_file.c:227 proc_reg_read+0x1bd/0x2d0 fs/proc/inode.c:231 do_loop_readv_writev fs/read_write.c:701 [inline] do_loop_readv_writev fs/read_write.c:688 [inline] do_iter_read+0x471/0x630 fs/read_write.c:925 vfs_readv+0xe5/0x150 fs/read_write.c:987 do_preadv fs/read_write.c:1071 [inline] __do_sys_preadv fs/read_write.c:1121 [inline] __se_sys_preadv fs/read_write.c:1116 [inline] __x64_sys_preadv+0x22b/0x310 fs/read_write.c:1116 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8134b73188 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 00000000000000f2 RSI: 00000000200017c0 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc62ed25df R14: 00007f8134b73300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5070 Comm: syz-executor.1 Not tainted 4.19.206-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__sanitizer_cov_trace_const_cmp4+0x0/0x20 kernel/kcov.c:188 Code: 66 2e 0f 1f 84 00 00 00 00 00 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 03 00 00 00 e9 ec fe ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 <48> 8b 0c 24 89 f2 89 fe bf 05 00 00 00 e9 ce fe ff ff 66 66 2e 0f RSP: 0018:ffff8880ba107978 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 000002d6563b55e7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: ffffffff8c66405b R12: 0000000000000086 R13: ffff88822893a798 R14: ffff8880ba124d40 R15: dffffc0000000000 FS: 00007f5886034700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b94a3268f0 CR3: 00000002245f2000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hrtimer_cancel include/trace/events/timer.h:285 [inline] debug_deactivate kernel/time/hrtimer.c:472 [inline] __run_hrtimer kernel/time/hrtimer.c:1389 [inline] __hrtimer_run_queues+0xc2c/0xe60 kernel/time/hrtimer.c:1481 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1539 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:mac80211_hwsim_tx_frame_no_nl.isra.0+0x7f6/0x1330 drivers/net/wireless/mac80211_hwsim.c:1315 Code: bb 9c 12 00 00 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 0f b6 04 28 38 d0 7f 08 84 c0 0f 85 b0 08 00 00 44 0f b6 bb 9c 12 00 00 <31> ff 44 89 fe e8 e0 7c bb fc 45 84 ff 0f 84 77 ff ff ff e8 a2 7b RSP: 0018:ffff8880ba107c38 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: ffff88821eb64da0 RCX: ffffffff84a71710 RDX: 0000000000000004 RSI: ffffffff84a716da RDI: ffff88821eb6603c RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880490b3b40 R13: ffff8880a73d4be0 R14: ffff8880a73d4cf8 R15: 0000000000000000 mac80211_hwsim_tx_frame+0x12b/0x210 drivers/net/wireless/mac80211_hwsim.c:1556 mac80211_hwsim_beacon_tx+0x3f8/0x680 drivers/net/wireless/mac80211_hwsim.c:1595 __iterate_interfaces+0x2e1/0x4a0 net/mac80211/util.c:614 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:650 mac80211_hwsim_beacon+0xc9/0x190 drivers/net/wireless/mac80211_hwsim.c:1615 __tasklet_hrtimer_trampoline+0x29/0xa0 kernel/softirq.c:601 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:search_keyring security/keys/keyring.c:624 [inline] RIP: 0010:search_nested_keyrings+0x934/0xcd0 security/keys/keyring.c:688 Code: 7b 33 fe 4c 89 e3 48 83 e3 fc e9 9e fb ff ff e8 f2 7a 33 fe 48 8b 14 24 48 c7 c6 c0 63 ab 88 48 89 ef e8 ff b1 47 00 48 85 c0 <49> 89 c4 0f 84 a0 f9 ff ff e8 ce 7a 33 fe 48 8b 44 24 38 80 38 00 RSP: 0018:ffff888202e2f760 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc90007e4f000 RDX: 00000000000231bd RSI: ffffffff8376cb55 RDI: 0000000000000005 RBP: ffff8880b0c682c8 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000005 R11: 000000007efe6432 R12: 0000000000000001 R13: ffff8880b0c681c0 R14: dffffc0000000000 R15: 0000000000000002 keyring_search_aux+0x22d/0x3d0 security/keys/keyring.c:888 search_my_process_keyrings+0x3f6/0x5c0 security/keys/process_keys.c:418 proc_keys_show+0x918/0xbf0 security/keys/proc.c:185 seq_read+0x4e0/0x11c0 fs/seq_file.c:232 proc_reg_read+0x1bd/0x2d0 fs/proc/inode.c:231 do_loop_readv_writev fs/read_write.c:701 [inline] do_loop_readv_writev fs/read_write.c:688 [inline] do_iter_read+0x471/0x630 fs/read_write.c:925 vfs_readv+0xe5/0x150 fs/read_write.c:987 do_preadv fs/read_write.c:1071 [inline] __do_sys_preadv fs/read_write.c:1121 [inline] __se_sys_preadv fs/read_write.c:1116 [inline] __x64_sys_preadv+0x22b/0x310 fs/read_write.c:1116 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5886034188 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665f9 RDX: 00000000000000dd RSI: 00000000200017c0 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffde5b90bef R14: 00007f5886034300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: eb c6 jmp 0xffffffc8 2: 45 01 01 add %r8d,(%r9) 5: 41 bc 00 80 00 00 mov $0x8000,%r12d b: 48 c1 e9 03 shr $0x3,%rcx f: 83 e3 07 and $0x7,%ebx 12: 41 be 01 00 00 00 mov $0x1,%r14d 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 4c 8d 2c 01 lea (%rcx,%rax,1),%r13 26: eb 0c jmp 0x34 28: f3 90 pause * 2a: 41 83 ec 01 sub $0x1,%r12d <-- trapping instruction 2e: 0f 84 38 04 00 00 je 0x46c 34: 41 0f b6 45 00 movzbl 0x0(%r13),%eax 39: 38 d8 cmp %bl,%al 3b: 7f 08 jg 0x45 3d: 84 c0 test %al,%al 3f: 0f .byte 0xf