watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.3:8683] Modules linked in: irq event stamp: 4030055 hardirqs last enabled at (4030054): [] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 hardirqs last disabled at (4030055): [] sysvec_apic_timer_interrupt+0xb/0xa0 arch/x86/kernel/apic/apic.c:1095 softirqs last enabled at (4002178): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (4002181): [] asm_call_irq_on_stack+0x12/0x20 CPU: 1 PID: 8683 Comm: syz-executor.3 Not tainted 5.10.151 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:168 [inline] RIP: 0010:unwind_next_frame+0x205/0x1a90 arch/x86/kernel/unwind_orc.c:448 Code: 52 ff 39 d6 0f 83 0f 11 00 00 48 ba 00 00 00 00 00 fc ff df 89 f1 48 8d 3c 8d 58 6f d5 85 49 89 f8 49 c1 e8 03 45 0f b6 04 10 <48> 89 fa 83 e2 07 83 c2 03 44 38 c2 7c 09 45 84 c0 0f 85 67 12 00 RSP: 0018:ffff88806cf09558 EFLAGS: 00000217 RAX: 0000000000000000 RBX: 0000000000000002 RCX: 000000000002bd8d RDX: dffffc0000000000 RSI: 000000000002bd8d RDI: ffffffff85e0658c RBP: ffff88806cf09665 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000032042 R11: 1ffff1100d9e12b3 R12: ffff88806cf09678 R13: ffff88806cf09630 R14: 1ffff1100d9e12b3 R15: ffffffff83bd8def FS: 00007f719f3fe700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a0eb2193a0 CR3: 000000003f228000 CR4: 0000000000350ee0 Call Trace: arch_stack_walk+0x83/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:48 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc9/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x13b/0x360 mm/slub.c:2909 mem_pool_alloc mm/kmemleak.c:423 [inline] create_object.isra.0+0x3a/0xa20 mm/kmemleak.c:578 kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline] slab_post_alloc_hook mm/slab.h:534 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc+0x159/0x360 mm/slub.c:2909 __skb_ext_alloc+0x19/0x90 net/core/skbuff.c:6223 skb_ext_add+0x508/0x670 net/core/skbuff.c:6318 skb_set_kcov_handle include/linux/skbuff.h:4632 [inline] skb_set_kcov_handle include/linux/skbuff.h:4622 [inline] __alloc_skb+0x3c1/0x620 net/core/skbuff.c:253 __netdev_alloc_skb+0x6e/0x360 net/core/skbuff.c:446 netdev_alloc_skb include/linux/skbuff.h:2836 [inline] dev_alloc_skb include/linux/skbuff.h:2849 [inline] __ieee80211_beacon_get+0x3af/0x13a0 net/mac80211/tx.c:4874 ieee80211_beacon_get_tim+0x88/0x910 net/mac80211/tx.c:4988 ieee80211_beacon_get include/net/mac80211.h:4912 [inline] mac80211_hwsim_beacon_tx+0x111/0x8f0 drivers/net/wireless/mac80211_hwsim.c:1735 __iterate_interfaces+0x1f0/0x530 net/mac80211/util.c:792 ieee80211_iterate_active_interfaces_atomic+0x72/0x180 net/mac80211/util.c:828 mac80211_hwsim_beacon+0xd1/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1788 __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x5e8/0xb50 kernel/time/hrtimer.c:1647 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1664 __do_softirq+0x1b8/0x86b kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x60 kernel/kcov.c:196 Code: ff ff ff b8 08 00 00 00 4d 8b 17 49 8b 16 48 0f bd c8 48 63 c9 e9 5e ff ff ff 4c 01 d2 49 89 17 e9 cd fd ff ff 90 48 8b 34 24 <65> 48 8b 14 25 80 6f 02 00 65 8b 05 4c 45 c2 7e a9 00 01 ff 00 74 RSP: 0018:ffff8880456af288 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88801d2996e8 RCX: ffffc9001190d000 RDX: ffff88801d2993b0 RSI: ffffffff819cffbc RDI: ffff88801d2996e8 RBP: ffff88801d2993b0 R08: 0000000000000000 R09: ffff88801d2998d7 R10: 0000000000000000 R11: 0000000000000001 R12: ffff8880447b0700 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88801d299710 ext4_inode_csum+0x7c/0x8f0 fs/ext4/inode.c:54 ext4_inode_csum_set fs/ext4/inode.c:114 [inline] ext4_inode_csum_set+0x169/0x360 fs/ext4/inode.c:104 ext4_do_update_inode fs/ext4/inode.c:5197 [inline] ext4_mark_iloc_dirty+0x18dc/0x3680 fs/ext4/inode.c:5791 __ext4_mark_inode_dirty+0x20a/0x800 fs/ext4/inode.c:5985 ext4_dirty_inode+0xf3/0x130 fs/ext4/inode.c:6021 __mark_inode_dirty+0x492/0xf10 fs/fs-writeback.c:2249 mark_inode_dirty_sync include/linux/fs.h:2189 [inline] dquot_free_space include/linux/quotaops.h:382 [inline] dquot_free_block include/linux/quotaops.h:392 [inline] ext4_free_blocks+0x1a87/0x20f0 fs/ext4/mballoc.c:5544 ext4_ext_try_to_merge_up fs/ext4/extents.c:1870 [inline] ext4_ext_try_to_merge+0x580/0x710 fs/ext4/extents.c:1897 ext4_swap_extents+0xea8/0x14c0 fs/ext4/extents.c:5747 move_extent_per_page fs/ext4/move_extent.c:339 [inline] ext4_move_extents+0x260b/0x3270 fs/ext4/move_extent.c:673 __ext4_ioctl+0x304d/0x41c0 fs/ext4/ioctl.c:994 ext4_ioctl+0x46/0x90 fs/ext4/ioctl.c:1326 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x19a/0x210 fs/ioctl.c:739 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f71a1e88b19 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:00007f719f3fe188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f71a1f9bf60 RCX: 00007f71a1e88b19 RDX: 0000000020000040 RSI: 00000000c028660f RDI: 0000000000000003 RBP: 00007f71a1ee2f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcabc494af R14: 00007f719f3fe300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8685 Comm: syz-executor.2 Not tainted 5.10.151 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:25 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:200 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:162 [inline] RIP: 0010:wrmsrl arch/x86/include/asm/msr.h:281 [inline] RIP: 0010:lapic_next_deadline+0x21/0x50 arch/x86/kernel/apic/apic.c:480 Code: 2e 0f 1f 84 00 00 00 00 00 0f ae f0 0f ae e8 0f 31 48 c1 e2 20 b9 e0 06 00 00 48 09 c2 48 8d 04 fa 48 89 c2 48 c1 ea 20 0f 30 <0f> 1f 44 00 00 31 c0 e9 c3 31 12 03 48 89 c6 31 d2 bf e0 06 00 00 RSP: 0018:ffff88806ce09bd0 EFLAGS: 00000017 RAX: 00000390846277a4 RBX: 0000000000000000 RCX: 00000000000006e0 RDX: 0000000000000390 RSI: ffff88806ce27980 RDI: 0000000000000202 RBP: ffff88806ce27980 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000202 R13: 0000000000000000 R14: 7fffffffffffffff R15: 0000000000000000 FS: 00007fc1ba061700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a0eb209cc0 CR3: 0000000039044000 CR4: 0000000000350ef0 Call Trace: clockevents_program_event+0x244/0x360 kernel/time/clockevents.c:334 tick_program_event+0xa0/0x140 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x3e1/0x9b0 kernel/time/hrtimer.c:1722 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1084 [inline] __sysvec_apic_timer_interrupt+0xfb/0x400 arch/x86/kernel/apic/apic.c:1101 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0x3e/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:hrtimer_forward+0x40/0x270 kernel/time/hrtimer.c:940 Code: 34 24 e8 f3 6a 0f 00 48 8d 7b 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 13 02 00 00 4c 8b 6b 18 <4c> 8b 24 24 31 ff 45 31 f6 4d 29 ec 4c 89 e6 e8 2c 64 0f 00 4d 85 RSP: 0018:ffff88806ce09dc8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff888044b558e0 RCX: 0000000000000018 RDX: 1ffff1100896ab1f RSI: ffffffff8130beed RDI: ffff888044b558f8 RBP: 00000000061a8000 R08: 0000000000000001 R09: ffffffff8679967f R10: 00000000002833a0 R11: 0000000000000001 R12: 0000000000000001 R13: 000001460869ff0e R14: dffffc0000000000 R15: ffff888016c36600 hrtimer_forward_now include/linux/hrtimer.h:501 [inline] mac80211_hwsim_beacon+0x17f/0x1d0 drivers/net/wireless/mac80211_hwsim.c:1797 __run_hrtimer kernel/time/hrtimer.c:1583 [inline] __hrtimer_run_queues+0x5e8/0xb50 kernel/time/hrtimer.c:1647 hrtimer_run_softirq+0x148/0x310 kernel/time/hrtimer.c:1664 __do_softirq+0x1b8/0x86b kernel/softirq.c:298 asm_call_irq_on_stack+0x12/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x80/0xa0 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:393 [inline] __irq_exit_rcu kernel/softirq.c:423 [inline] irq_exit_rcu+0x114/0x1b0 kernel/softirq.c:435 sysvec_apic_timer_interrupt+0x43/0xa0 arch/x86/kernel/apic/apic.c:1095 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:find_stack lib/stackdepot.c:184 [inline] RIP: 0010:stack_depot_save+0xf1/0x400 lib/stackdepot.c:257 Code: 0f 84 9d 00 00 00 83 fe 03 0f 84 91 00 00 00 83 fe 01 0f 84 8e 00 00 00 41 89 df 41 81 e7 ff ff 0f 00 4a 8b 2c fd 60 33 10 87 <48> 85 ed 75 12 e9 b4 00 00 00 48 8b 6d 00 48 85 ed 0f 84 a7 00 00 RSP: 0018:ffff88800cd877f0 EFLAGS: 00000206 RAX: 0000000073afa0c0 RBX: 0000000067edc2b8 RCX: 0000000000000dc0 RDX: 0000000043da30b7 RSI: 0000000000000001 RDI: 000000006a90d852 RBP: ffff88800cd8f510 R08: 00000000e4191ac1 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88800cd87840 R13: 000000000000000e R14: 000000000000000e R15: 00000000000dc2b8 kasan_save_stack+0x32/0x40 mm/kasan/common.c:50 kasan_set_track mm/kasan/common.c:56 [inline] __kasan_kmalloc.constprop.0+0xc9/0xd0 mm/kasan/common.c:461 slab_post_alloc_hook mm/slab.h:532 [inline] slab_alloc_node mm/slub.c:2896 [inline] slab_alloc mm/slub.c:2904 [inline] kmem_cache_alloc_trace+0x133/0x360 mm/slub.c:2921 kmalloc include/linux/slab.h:552 [inline] kzalloc include/linux/slab.h:664 [inline] kobject_uevent_env+0x22b/0xf90 lib/kobject_uevent.c:524 device_del+0xa8f/0x1180 drivers/base/core.c:3154 unregister_netdevice_many+0xbb7/0x1490 net/core/dev.c:10753 unregister_netdevice_queue+0x201/0x2c0 net/core/dev.c:10660 unregister_netdevice include/linux/netdevice.h:2883 [inline] __tun_detach+0xffc/0x12f0 drivers/net/tun.c:696 tun_detach drivers/net/tun.c:713 [inline] tun_chr_close+0xc4/0x190 drivers/net/tun.c:3466 __fput+0x285/0x980 fs/file_table.c:281 task_work_run+0xe2/0x1a0 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0x155/0x160 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x38/0x230 kernel/entry/common.c:266 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7fc1bcaebb19 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:00007fc1ba061188 EFLAGS: 00000246 ORIG_RAX: 0000000000000124 RAX: 0000000000000003 RBX: 00007fc1bcbfef60 RCX: 00007fc1bcaebb19 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 00007fc1bcb45f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeffe4b71f R14: 00007fc1ba061300 R15: 0000000000022000 hpet: Lost 5 RTC interrupts ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 39 d6 cmp %edx,%esi 2: 0f 83 0f 11 00 00 jae 0x1117 8: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx f: fc ff df 12: 89 f1 mov %esi,%ecx 14: 48 8d 3c 8d 58 6f d5 lea -0x7a2a90a8(,%rcx,4),%rdi 1b: 85 1c: 49 89 f8 mov %rdi,%r8 1f: 49 c1 e8 03 shr $0x3,%r8 23: 45 0f b6 04 10 movzbl (%r8,%rdx,1),%r8d * 28: 48 89 fa mov %rdi,%rdx <-- trapping instruction 2b: 83 e2 07 and $0x7,%edx 2e: 83 c2 03 add $0x3,%edx 31: 44 38 c2 cmp %r8b,%dl 34: 7c 09 jl 0x3f 36: 45 84 c0 test %r8b,%r8b 39: 0f .byte 0xf 3a: 85 67 12 test %esp,0x12(%rdi)