watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.6.255:1567] Modules linked in: CPU: 0 PID: 1567 Comm: syz.6.255 Not tainted 5.10.226-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:find_stack lib/stackdepot.c:208 [inline] RIP: 0010:__stack_depot_save+0x1d0/0x4d0 lib/stackdepot.c:305 Code: d4 eb 03 48 89 fb 48 8b 05 a5 77 a0 04 44 89 e6 81 e6 ff 0f 00 00 48 89 45 a8 48 89 75 b0 4c 8b 3c f0 45 89 ee eb 03 4d 8b 3f <4d> 85 ff 74 2a 45 39 67 08 75 f2 45 39 6f 0c 75 ec 31 c0 48 8b 34 RSP: 0018:ffffc90000007818 EFLAGS: 00000206 RAX: ffff88823fec0000 RBX: ffffc90000007880 RCX: 0000000000000001 RDX: 0000000000000a20 RSI: 0000000000000b02 RDI: ffffc90000007880 RBP: ffffc90000007870 R08: 0000000000000001 R09: ffffc900000078d4 R10: 0000000010e8d839 R11: 00000000471d06d2 R12: 0000000027227b02 R13: 000000000000000b R14: 000000000000000b R15: ffff88810f47b050 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001480 CR3: 0000000118f4a000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: kasan_save_stack mm/kasan/common.c:39 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] __kasan_slab_alloc+0xc3/0xe0 mm/kasan/common.c:463 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x61/0x2f0 mm/slab.h:583 slab_alloc_node mm/slub.c:2947 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc+0x168/0x2e0 mm/slub.c:2960 kmem_cache_alloc_node include/linux/slab.h:423 [inline] __alloc_skb+0x80/0x510 net/core/skbuff.c:200 alloc_skb include/linux/skbuff.h:1126 [inline] ndisc_alloc_skb+0xf3/0x2d0 net/ipv6/ndisc.c:423 ndisc_send_rs+0x26c/0x6a0 net/ipv6/ndisc.c:689 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3964 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1450 expire_timers kernel/time/timer.c:1495 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1789 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1802 __do_softirq+0x268/0x5bb kernel/softirq.c:309 asm_call_irq_on_stack+0xf/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+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:405 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x49/0x70 kernel/locking/spinlock.c:199 Code: 08 00 74 0c 48 c7 c7 f0 77 6c 86 e8 81 bb f5 fc 48 83 3d 99 ec b9 01 00 74 2a 48 89 df e8 e3 18 9e fc 66 90 fb bf 01 00 00 00 82 88 96 fc 65 8b 05 17 e2 4f 7b 85 c0 74 03 5b 5d c3 e8 83 f0 RSP: 0018:ffffc90000fef248 EFLAGS: 00000246 RAX: 0000000000000001 RBX: ffff8881f7055fc0 RCX: dffffc0000000000 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000fef250 R08: ffffffff8188e699 R09: fffffbfff0dc764b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7055fc0 R13: ffff888116b313c0 R14: dffffc0000000000 R15: 0000000000000000 finish_lock_switch kernel/sched/core.c:3784 [inline] finish_task_switch+0x130/0x5a0 kernel/sched/core.c:3884 context_switch kernel/sched/core.c:4049 [inline] __schedule+0xbee/0x1330 kernel/sched/core.c:4804 preempt_schedule_common+0x9b/0xf0 kernel/sched/core.c:4963 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:4988 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:39 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x60/0x70 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:394 [inline] zap_pte_range mm/memory.c:1375 [inline] zap_pmd_range mm/memory.c:1435 [inline] zap_pud_range mm/memory.c:1464 [inline] zap_p4d_range mm/memory.c:1485 [inline] unmap_page_range+0x1c54/0x23b0 mm/memory.c:1506 unmap_single_vma mm/memory.c:1551 [inline] unmap_vmas+0x37f/0x4f0 mm/memory.c:1583 exit_mmap+0x2f2/0x5c0 mm/mmap.c:3355 __mmput+0x95/0x2d0 kernel/fork.c:1153 mmput+0x59/0x170 kernel/fork.c:1176 exit_mm kernel/exit.c:539 [inline] do_exit+0xbda/0x2a50 kernel/exit.c:850 do_group_exit+0x141/0x310 kernel/exit.c:985 get_signal+0x10a0/0x1410 kernel/signal.c:2790 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xa2/0x1a0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fdca78fb719 Code: Unable to access opcode bytes at RIP 0x7fdca78fb6ef. RSP: 002b:00007fdca6553038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fdca7ab3058 RCX: 00007fdca78fb719 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000008 RBP: 00007fdca796e32e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdca7ab3058 R15: 00007ffd49ad1cf8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 1737 Comm: syz.9.287 Not tainted 5.10.226-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__kasan_check_write+0x0/0x20 mm/kasan/shadow.c:36 Code: ac 49 04 03 31 db eb d3 cc cc 55 48 89 e5 89 f6 48 8b 4d 08 31 d2 e8 ef ed ff ff 5d c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 <55> 48 89 e5 89 f6 48 8b 4d 08 ba 01 00 00 00 e8 cc ed ff ff 5d c3 RSP: 0018:ffffc900001705b8 EFLAGS: 00000097 RAX: 0000000000000004 RBX: 1ffff9200002e0c0 RCX: 0000000000170603 RDX: ffff888116840000 RSI: 0000000000000004 RDI: ffff8881f7149940 RBP: ffffc90000170698 R08: ffffffff815b177d R09: ffffffff87084058 R10: ffffffff87084050 R11: ffffffff87084043 R12: ffffc90000170600 R13: ffff8881f7149940 R14: 1ffff9200002e0bc R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a4334b000 CR3: 000000010c8a2000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: hrtimer_interrupt+0xf7/0x8b0 kernel/time/hrtimer.c:1692 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1083 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1100 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline] sysvec_apic_timer_interrupt+0xba/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:selinux_sk_getsecid+0x54/0xb0 security/selinux/hooks.c:5280 Code: c3 98 02 00 00 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 3b ae 79 ff 48 8b 1b 48 89 d8 48 c1 e8 03 42 0f b6 04 38 <84> c0 75 3f 8b 1b eb 0a e8 3f 14 3c ff bb 08 00 00 00 4c 89 f0 48 RSP: 0018:ffffc900001708c8 EFLAGS: 00000a02 RAX: 0000000000000000 RBX: ffff88810c1acf00 RCX: ffff888116840000 RDX: 0000000000000102 RSI: ffff8881073caad0 RDI: ffff8881073ca700 RBP: ffffc900001708e0 R08: ffffffff840c59a0 R09: ffffed1020e794ed R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000000 R14: ffff8881073caad0 R15: dffffc0000000000 security_sk_classify_flow+0x50/0x90 security/security.c:2254 ip_route_output_ports include/net/route.h:168 [inline] inet_sk_rebuild_header+0x60f/0x1d70 net/ipv4/af_inet.c:1304 __tcp_retransmit_skb+0x261/0x1140 net/ipv4/tcp_output.c:3189 tcp_retransmit_skb+0x35/0x320 net/ipv4/tcp_output.c:3288 tcp_retransmit_timer+0x13c5/0x2450 net/ipv4/tcp_timer.c:570 tcp_write_timer_handler+0x1e6/0x940 net/ipv4/tcp_timer.c:655 tcp_write_timer+0xb1/0x1d0 net/ipv4/tcp_timer.c:675 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1450 expire_timers kernel/time/timer.c:1495 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1789 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1802 __do_softirq+0x268/0x5bb kernel/softirq.c:309 asm_call_irq_on_stack+0xf/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+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:405 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:schedule_debug kernel/sched/core.c:4553 [inline] RIP: 0010:__schedule+0x12d/0x1330 kernel/sched/core.c:4698 Code: 74 08 48 89 df e8 f3 ee f6 fc 48 8b 1b 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 da ee f6 fc 48 81 3b 9d 6e ac 57 <0f> 85 c0 0d 00 00 65 8b 05 82 15 51 7b 25 ff ff ff 7f 83 f8 01 0f RSP: 0018:ffffc900011a72c0 EFLAGS: 00000246 RAX: 1ffff92000234000 RBX: ffffc900011a0000 RCX: 1ffff92000234e64 RDX: 1ffff92000234e64 RSI: ffffffff856022e0 RDI: ffffffff856022a0 RBP: ffffc900011a73a8 R08: dffffc0000000000 R09: ffffed1022d08001 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: dffffc0000000000 R14: ffff8881f7100000 R15: ffff888116840000 preempt_schedule_common+0x9b/0xf0 kernel/sched/core.c:4963 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:4988 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:39 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x60/0x70 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:394 [inline] zap_pte_range mm/memory.c:1375 [inline] zap_pmd_range mm/memory.c:1435 [inline] zap_pud_range mm/memory.c:1464 [inline] zap_p4d_range mm/memory.c:1485 [inline] unmap_page_range+0x1c54/0x23b0 mm/memory.c:1506 unmap_single_vma mm/memory.c:1551 [inline] unmap_vmas+0x37f/0x4f0 mm/memory.c:1583 exit_mmap+0x2f2/0x5c0 mm/mmap.c:3355 __mmput+0x95/0x2d0 kernel/fork.c:1153 mmput+0x59/0x170 kernel/fork.c:1176 exit_mm kernel/exit.c:539 [inline] do_exit+0xbda/0x2a50 kernel/exit.c:850 do_group_exit+0x141/0x310 kernel/exit.c:985 get_signal+0x10a0/0x1410 kernel/signal.c:2790 arch_do_signal_or_restart+0xbd/0x17c0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop+0x9b/0xd0 kernel/entry/common.c:169 exit_to_user_mode_prepare kernel/entry/common.c:199 [inline] syscall_exit_to_user_mode+0xa2/0x1a0 kernel/entry/common.c:274 do_syscall_64+0x40/0x70 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc335911719 Code: Unable to access opcode bytes at RIP 0x7fc3359116ef. RSP: 002b:00007fc334548038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007fc335ac9130 RCX: 00007fc335911719 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000005 RBP: 00007fc33598432e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fc335ac9130 R15: 00007ffe567330c8