watchdog: BUG: soft lockup - CPU#0 stuck for 143s! [syz-executor.5:12289] Modules linked in: irq event stamp: 12548659 hardirqs last enabled at (12548658): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 hardirqs last disabled at (12548659): [] sysvec_apic_timer_interrupt+0xb/0xc0 arch/x86/kernel/apic/apic.c:1100 softirqs last enabled at (4378896): [] invoke_softirq kernel/softirq.c:433 [inline] softirqs last enabled at (4378896): [] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 softirqs last disabled at (4378899): [] invoke_softirq kernel/softirq.c:433 [inline] softirqs last disabled at (4378899): [] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 CPU: 0 PID: 12289 Comm: syz-executor.5 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:121 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:435 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x3d9/0xb40 kernel/locking/qspinlock.c:508 Code: fc ff df 4c 8d 2c 01 eb 0c f3 90 41 83 ec 01 0f 84 72 04 00 00 41 0f b6 45 00 38 d8 7f 08 84 c0 0f 85 91 05 00 00 0f b6 45 00 <84> c0 75 db be 02 00 00 00 48 89 ef e8 86 34 5f 00 b8 00 01 00 00 RSP: 0018:ffffc90000007a30 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffffffff19ac718 RDX: 0000000000000001 RSI: dffffc0000000000 RDI: ffffffff8cd638c2 RBP: ffffffff8cd638c0 R08: 0000000000000001 R09: ffffffff8cd638c3 R10: fffffbfff19ac718 R11: 0000000000000080 R12: 00000000000039ef R13: fffffbfff19ac718 R14: 0000000000000001 R15: ffff8880b9c36040 FS: 00007f642e09d700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d332000 CR3: 00000000a25ad000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1514 mac80211_hwsim_tx_frame+0x14f/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1775 mac80211_hwsim_beacon_tx+0x4ba/0x910 drivers/net/wireless/mac80211_hwsim.c:1829 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1852 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe40 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:199 Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 de 17 41 f8 48 89 ef e8 76 90 41 f8 e8 81 81 61 f8 fb bf 01 00 00 00 b6 98 35 f8 65 8b 05 cf a1 e8 76 85 c0 74 02 5d c3 e8 8b f7 e6 RSP: 0018:ffffc90001b0f828 EFLAGS: 00000202 RAX: 0000000000000db5 RBX: 0000000000000001 RCX: 1ffffffff1b92621 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffff8880b9c35280 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff817acf98 R11: 0000000000000000 R12: ffff8880b9c35280 R13: ffff8880197d1c40 R14: 0000000000000000 R15: ffff8880554bb880 finish_lock_switch kernel/sched/core.c:4093 [inline] finish_task_switch.isra.0+0x15d/0x810 kernel/sched/core.c:4210 context_switch kernel/sched/core.c:4342 [inline] __schedule+0x91e/0x23e0 kernel/sched/core.c:5147 preempt_schedule_irq+0x4e/0x90 kernel/sched/core.c:5535 irqentry_exit+0x31/0x80 kernel/entry/common.c:426 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x60 kernel/kcov.c:197 Code: 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 40 00 65 8b 05 09 2d 8d 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 00 f0 01 00 00 01 ff 00 74 0e 85 c9 74 35 8b 82 3c 15 00 00 85 c0 74 2b 8b RSP: 0018:ffffc90001b0fa38 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000009 RCX: 0000000000000000 RDX: ffff8880554bb880 RSI: ffffffff83987faa RDI: 0000000000000003 RBP: ffff8880183b6e80 R08: 0000000000000000 R09: 0000000000000009 R10: ffffffff83987f97 R11: 0000000000000010 R12: 0000000000000038 R13: 000000000000028d R14: dffffc0000000000 R15: 0000000000000000 tomoyo_domain_quota_is_ok+0x31a/0x550 security/tomoyo/util.c:1092 tomoyo_supervisor+0x2f2/0xf00 security/tomoyo/common.c:2089 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline] tomoyo_path_number_perm+0x419/0x590 security/tomoyo/file.c:734 security_file_ioctl+0x50/0xb0 security/security.c:1539 __do_sys_ioctl fs/ioctl.c:1063 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:1055 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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:00007f642e09d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000006609 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffc009d6a5f R14: 00007f642e09d300 R15: 0000000000022000 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12277 Comm: syz-executor.1 Not tainted 5.12.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4154 [inline] RIP: 0010:lockdep_hardirqs_on_prepare+0x1f3/0x400 kernel/locking/lockdep.c:4119 Code: d1 20 0f 85 f6 0f 85 dd fe ff ff 48 c7 c0 08 31 c9 8d 48 ba 00 00 00 00 00 fc ff df 48 89 c1 83 e0 07 48 c1 e9 03 0f b6 14 11 <38> c2 7f 08 84 d2 0f 85 de 00 00 00 80 3d 42 2b 6f 0c 00 0f 85 4f RSP: 0018:ffffc90000dc0950 EFLAGS: 00000806 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 1ffffffff1b92621 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff89200c02 RBP: ffffffff89200c02 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff817acf98 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fd322465700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e4da2 CR3: 00000000a7e35000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:pv_wait_node kernel/locking/qspinlock_paravirt.h:301 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x5c4/0xb40 kernel/locking/qspinlock.c:473 Code: 32 84 c0 75 23 41 0f b6 14 24 4c 89 e9 83 e1 07 38 ca 7f 08 84 d2 0f 85 ed 03 00 00 0f b6 53 14 84 d2 0f 85 9e 00 00 00 f3 90 <83> e8 01 0f 84 93 00 00 00 0f b6 16 84 d2 74 09 80 fa 03 0f 8e 96 RSP: 0018:ffffc90000dc0a30 EFLAGS: 00000286 RAX: 00000000000060be RBX: ffff8880b9c36040 RCX: 0000000000000004 RDX: 0000000000000000 RSI: ffffed10173a6c09 RDI: ffff8880b9d36054 RBP: ffff8880b9d36054 R08: 0000000000000001 R09: ffff8880b9d36054 R10: ffffed10173a6c0a R11: 0000000000000080 R12: ffffed1017386c0a R13: ffff8880b9c36054 R14: dffffc0000000000 R15: ffff8880b9d36040 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0x200/0x2b0 kernel/locking/spinlock_debug.c:113 spin_lock include/linux/spinlock.h:354 [inline] mac80211_hwsim_tx_frame_no_nl.isra.0+0x68f/0x1330 drivers/net/wireless/mac80211_hwsim.c:1514 mac80211_hwsim_tx_frame+0x14f/0x1e0 drivers/net/wireless/mac80211_hwsim.c:1775 mac80211_hwsim_beacon_tx+0x4ba/0x910 drivers/net/wireless/mac80211_hwsim.c:1829 __iterate_interfaces+0x1e5/0x520 net/mac80211/util.c:793 ieee80211_iterate_active_interfaces_atomic+0x8d/0x170 net/mac80211/util.c:829 mac80211_hwsim_beacon+0xd5/0x1a0 drivers/net/wireless/mac80211_hwsim.c:1852 __run_hrtimer kernel/time/hrtimer.c:1537 [inline] __hrtimer_run_queues+0x609/0xe40 kernel/time/hrtimer.c:1601 hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1618 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu+0x136/0x200 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:632 RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x60 kernel/kcov.c:197 Code: 45 00 48 63 c9 e9 64 ff ff ff 0f 1f 40 00 65 8b 05 09 2d 8d 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 00 f0 01 00 00 01 ff 00 74 0e 85 c9 74 35 8b 82 3c 15 00 00 85 c0 74 2b 8b RSP: 0018:ffffc900028ce9a0 EFLAGS: 00000246 RAX: 0000000080000001 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff8880820f3880 RSI: ffffffff819cc660 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000ba5400 R10: ffffffff819cc425 R11: 0000000000000000 R12: ffffea0000fe4d00 R13: 000000000000000c R14: dffffc0000000000 R15: ffff8880b9d30820 page_ref_count include/linux/page_ref.h:67 [inline] put_page_testzero include/linux/mm.h:746 [inline] release_pages+0x3c0/0x2120 mm/swap.c:940 __pagevec_lru_add+0xdaa/0x1bf0 mm/swap.c:1065 lru_cache_add+0x5de/0xa40 mm/swap.c:475 add_to_page_cache_lru+0x2a6/0x5b0 mm/filemap.c:983 page_cache_ra_unbounded+0x3ab/0x920 mm/readahead.c:221 do_page_cache_ra mm/readahead.c:267 [inline] ondemand_readahead+0x65c/0x1190 mm/readahead.c:550 page_cache_async_ra mm/readahead.c:607 [inline] page_cache_async_ra+0x2e1/0x3f0 mm/readahead.c:582 page_cache_async_readahead include/linux/pagemap.h:902 [inline] filemap_readahead mm/filemap.c:2442 [inline] filemap_get_pages+0x60a/0x1920 mm/filemap.c:2483 filemap_read+0x2ca/0xe40 mm/filemap.c:2550 generic_file_read_iter+0x397/0x4f0 mm/filemap.c:2701 ext4_file_read_iter+0x1d4/0x5d0 fs/ext4/file.c:130 __kernel_read+0x58d/0xa90 fs/read_write.c:454 integrity_kernel_read+0x7b/0xb0 security/integrity/iint.c:199 ima_calc_file_hash_tfm+0x2aa/0x3b0 security/integrity/ima/ima_crypto.c:484 ima_calc_file_shash security/integrity/ima/ima_crypto.c:515 [inline] ima_calc_file_hash+0x19d/0x4b0 security/integrity/ima/ima_crypto.c:572 ima_collect_measurement+0x4ca/0x570 security/integrity/ima/ima_api.c:252 process_measurement+0xd1c/0x17e0 security/integrity/ima/ima_main.c:330 ima_file_check+0xb9/0x100 security/integrity/ima/ima_main.c:499 do_open fs/namei.c:3363 [inline] path_openat+0x15b5/0x27e0 fs/namei.c:3494 do_filp_open+0x190/0x3d0 fs/namei.c:3521 do_sys_openat2+0x16d/0x420 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_openat fs/open.c:1219 [inline] __se_sys_openat fs/open.c:1214 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1214 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 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:00007fd322465188 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000100002 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcf9aafabf R14: 00007fd322465300 R15: 0000000000022000