watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [syz-executor.1:15689] Modules linked in: irq event stamp: 3519833 hardirqs last enabled at (3519832): [] trace_hardirqs_on_thunk+0x1a/0x1c hardirqs last disabled at (3519833): [] trace_hardirqs_off_thunk+0x1a/0x1c softirqs last enabled at (3517510): [] __do_softirq+0x678/0x980 kernel/softirq.c:318 softirqs last disabled at (3517513): [] invoke_softirq kernel/softirq.c:372 [inline] softirqs last disabled at (3517513): [] irq_exit+0x215/0x260 kernel/softirq.c:412 CPU: 1 PID: 15689 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__save_stack_trace+0xa2/0x190 arch/x86/kernel/stacktrace.c:43 Code: 2d eb 62 41 8b 04 24 41 3b 44 24 04 73 76 49 8b 54 24 08 8d 48 01 41 89 0c 24 48 89 1c c2 48 8d 7d 80 e8 e1 90 06 00 8b 45 80 <85> c0 74 37 48 8d 7d 80 e8 71 8c 06 00 48 85 c0 48 89 c3 74 26 45 RSP: 0018:ffff8880ba107828 EFLAGS: 00000296 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000002 RBX: ffffffff81982128 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffff8880ba107698 RDI: 0000000000000001 RBP: ffff8880ba1078b8 R08: 0000000000000001 R09: 0000000000000001 R10: ffff8880ba107897 R11: 0000000000074071 R12: ffff8880ba1078d0 R13: 0000000000000000 R14: ffff88813bff0940 R15: 0000000000000200 FS: 00007fd0d362d700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005558bfb94bf7 CR3: 00000000a4a47000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 kmem_cache_alloc_node_trace+0x151/0x3b0 mm/slab.c:3668 __do_kmalloc_node mm/slab.c:3688 [inline] __kmalloc_node_track_caller+0x38/0x70 mm/slab.c:3703 __kmalloc_reserve net/core/skbuff.c:137 [inline] __alloc_skb+0xae/0x560 net/core/skbuff.c:205 __netdev_alloc_skb+0x76/0x460 net/core/skbuff.c:407 netdev_alloc_skb include/linux/skbuff.h:2680 [inline] dev_alloc_skb include/linux/skbuff.h:2693 [inline] __ieee80211_beacon_get+0xc7d/0x1a30 net/mac80211/tx.c:4352 ieee80211_beacon_get_tim+0x88/0x890 net/mac80211/tx.c:4463 ieee80211_beacon_get include/net/mac80211.h:4484 [inline] mac80211_hwsim_beacon_tx+0xff/0x680 drivers/net/wireless/mac80211_hwsim.c:1577 __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:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:PageTail include/linux/page-flags.h:151 [inline] RIP: 0010:PageCompound include/linux/page-flags.h:156 [inline] RIP: 0010:page_mapcount include/linux/mm.h:640 [inline] RIP: 0010:zap_pte_range mm/memory.c:1351 [inline] RIP: 0010:zap_pmd_range mm/memory.c:1463 [inline] RIP: 0010:zap_pud_range mm/memory.c:1492 [inline] RIP: 0010:zap_p4d_range mm/memory.c:1513 [inline] RIP: 0010:unmap_page_range+0x19c0/0x2c50 mm/memory.c:1534 Code: e8 d5 df d6 ff 48 8b 5c 24 30 be 08 00 00 00 45 31 e4 48 89 df e8 40 a9 0c 00 4c 87 23 4c 89 a4 24 b8 00 00 00 e9 0a f8 ff ff ab df d6 ff 48 89 e8 48 c1 e8 03 42 80 3c 30 00 0f 85 44 0e 00 RSP: 0018:ffff88804a2e7770 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff818ba0a3 RDX: 0000000000000000 RSI: ffff8880485b2440 RDI: 0000000000000001 RBP: ffffea0002a5c708 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: dead000000000100 R13: ffffea0002a5c700 R14: dffffc0000000000 R15: 00007fd0d4bda000 unmap_single_vma+0x198/0x300 mm/memory.c:1579 unmap_vmas+0xa9/0x180 mm/memory.c:1609 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1016 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1037 exit_mm kernel/exit.c:549 [inline] do_exit+0xaec/0x2be0 kernel/exit.c:857 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fd0d50ba639 Code: Bad RIP value. RSP: 002b:00007fd0d362d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fd0d51daf80 RCX: 00007fd0d50ba639 RDX: 0000000020000680 RSI: 00000000000089a1 RDI: 0000000000000003 RBP: 00007fd0d5115ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd07d319bf R14: 00007fd0d362d300 R15: 0000000000022000 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 33 Comm: kworker/u4:2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:arch_local_save_flags arch/x86/include/asm/paravirt.h:784 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/paravirt.h:806 [inline] RIP: 0010:lock_release+0xd2/0x8b0 kernel/locking/lockdep.c:3923 Code: f1 89 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 c3 06 00 00 48 83 3d c6 37 a6 08 00 0f 84 1b 05 00 00 9c 58 <0f> 1f 44 00 00 48 ba 00 00 00 00 00 fc ff df 48 89 04 24 48 c7 c0 RSP: 0018:ffff8880ba007df8 EFLAGS: 00000086 RAX: 0000000000000086 RBX: ffff8880b50da1c0 RCX: 0000000000004ca4 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8880b50daa44 RBP: ffffffff89f95488 R08: ffffffff8cd3da60 R09: 0000000000000004 R10: 0000000000000000 R11: ffffffff8c66501b R12: 1ffff11017400fc2 R13: ffffffff815444c8 R14: ffff8880ba024cc0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff2a630f38 CR3: 00000000982b3000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: seqcount_lockdep_reader_access include/linux/seqlock.h:82 [inline] read_seqcount_begin include/linux/seqlock.h:164 [inline] ktime_get_update_offsets_now+0xe3/0x460 kernel/time/timekeeping.c:2225 hrtimer_update_base kernel/time/hrtimer.c:621 [inline] hrtimer_interrupt+0x138/0x9e0 kernel/time/hrtimer.c:1567 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:check_memory_region_inline mm/kasan/kasan.c:251 [inline] RIP: 0010:check_memory_region+0x13/0x170 mm/kasan/kasan.c:267 Code: 74 d8 83 e2 07 38 d0 7e d7 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 85 f6 0f 84 3f 01 00 00 48 b8 ff ff ff ff ff 7f ff ff <44> 0f b6 c2 48 39 c7 0f 86 20 01 00 00 4c 8d 54 37 ff 41 54 48 b8 RSP: 0018:ffff8880b50efc08 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13 RAX: ffff7fffffffffff RBX: ffff88809f78d9f0 RCX: ffffffff814bdebb RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88809f78d9f0 RBP: ffff88809f78d9f0 R08: ffffffff8cd56d10 R09: 0000000000000002 R10: ffff8880b50daa98 R11: 0000000000000000 R12: ffff88809f78d9f8 R13: ffff88809f78da00 R14: 0000000000000072 R15: ffff88809f53a940 atomic_cmpxchg include/asm-generic/atomic-instrumented.h:57 [inline] queued_spin_lock include/asm-generic/qspinlock.h:85 [inline] do_raw_spin_lock+0xcb/0x220 kernel/locking/spinlock_debug.c:113 spin_lock_bh include/linux/spinlock.h:334 [inline] batadv_nc_purge_paths+0xdc/0x310 net/batman-adv/network-coding.c:453 batadv_nc_worker+0x731/0xd50 net/batman-adv/network-coding.c:733 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415