watchdog: BUG: soft lockup - CPU#0 stuck for 144s! [syz.3.273:2513] Modules linked in: CPU: 0 PID: 2513 Comm: syz.3.273 Not tainted 5.15.161-syzkaller-00425-gb92c0d35d015 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x82/0x2a0 mm/kasan/generic.c:189 Code: 00 00 00 00 fc ff df 4f 8d 34 1a 4d 89 f5 4d 29 cd 49 83 fd 10 7f 26 4d 85 ed 0f 84 44 01 00 00 49 f7 d2 4d 01 e2 41 80 39 00 <0f> 85 d2 01 00 00 49 ff c1 49 ff c2 75 ee e9 27 01 00 00 45 89 cf RSP: 0018:ffffc90000006dd8 EFLAGS: 00000246 RAX: ffffffff84259301 RBX: 000000000001ffff RCX: ffffffff8425909b RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8881185e0080 RBP: ffffc90000006e00 R08: dffffc0000000000 R09: ffffed10230bc010 R10: ffffffffffffffff R11: dffffc0000000001 R12: 1ffff110230bc010 R13: 0000000000000001 R14: ffffed10230bc011 R15: 1ffff110230bc000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e718ff8 CR3: 00000001473a8000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kasan_check_read+0x11/0x20 mm/kasan/shadow.c:31 instrument_atomic_read include/linux/instrumented.h:71 [inline] atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline] refcount_read include/linux/refcount.h:147 [inline] __refcount_add_not_zero include/linux/refcount.h:152 [inline] __refcount_inc_not_zero include/linux/refcount.h:227 [inline] refcount_inc_not_zero include/linux/refcount.h:245 [inline] __inet_lookup_established+0x3eb/0x860 net/ipv4/inet_hashtables.c:421 __inet_lookup include/net/inet_hashtables.h:357 [inline] __inet_lookup_skb include/net/inet_hashtables.h:399 [inline] tcp_v4_rcv+0xc38/0x2a70 net/ipv4/tcp_ipv4.c:2029 ip_protocol_deliver_rcu+0x32f/0x710 net/ipv4/ip_input.c:204 ip_local_deliver_finish net/ipv4/ip_input.c:231 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ip_local_deliver+0x2c6/0x590 net/ipv4/ip_input.c:252 dst_input include/net/dst.h:454 [inline] ip_sublist_rcv_finish net/ipv4/ip_input.c:577 [inline] ip_list_rcv_finish net/ipv4/ip_input.c:628 [inline] ip_sublist_rcv+0x7e2/0x980 net/ipv4/ip_input.c:636 ip_list_rcv+0x422/0x470 net/ipv4/ip_input.c:671 __netif_receive_skb_list_ptype net/core/dev.c:5535 [inline] __netif_receive_skb_list_core+0x6b1/0x890 net/core/dev.c:5583 __netif_receive_skb_list net/core/dev.c:5635 [inline] netif_receive_skb_list_internal+0x967/0xcc0 net/core/dev.c:5726 gro_normal_list net/core/dev.c:5880 [inline] gro_normal_one net/core/dev.c:5893 [inline] napi_skb_finish net/core/dev.c:6230 [inline] napi_gro_receive+0x45f/0x920 net/core/dev.c:6260 receive_buf+0x37ce/0x5720 drivers/net/virtio_net.c:1208 virtnet_receive drivers/net/virtio_net.c:1472 [inline] virtnet_poll+0x628/0x1260 drivers/net/virtio_net.c:1585 __napi_poll+0xc4/0x5a0 net/core/dev.c:7042 napi_poll net/core/dev.c:7109 [inline] net_rx_action+0x47d/0xc50 net/core/dev.c:7199 handle_softirqs+0x25e/0x5c0 kernel/softirq.c:565 __do_softirq kernel/softirq.c:603 [inline] invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:652 irq_exit_rcu+0x9/0x10 kernel/softirq.c:664 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:finish_task_switch+0x16f/0x7b0 kernel/sched/core.c:5024 Code: 74 08 4c 89 ff e8 91 70 65 00 49 8b 1f 48 85 db 4c 8b 6d c0 0f 85 ce 00 00 00 4c 89 e7 e8 89 c9 98 03 fb 49 8d 9d 38 0b 00 00 <48> 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 RSP: 0018:ffffc90000f77240 EFLAGS: 00000282 RAX: 0000000080000001 RBX: ffff88812cb3da38 RCX: 0000000000000002 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000f77290 R08: ffffffff8191fd19 R09: fffffbfff0e52e93 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f70378c0 R13: ffff88812cb3cf00 R14: 1ffff1103ee07081 R15: ffff8881f7038408 context_switch kernel/sched/core.c:5155 [inline] __schedule+0xcd4/0x1590 kernel/sched/core.c:6512 preempt_schedule_common+0x9b/0xf0 kernel/sched/core.c:6688 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6713 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x60/0x70 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:403 [inline] zap_pte_range mm/memory.c:1500 [inline] zap_pmd_range mm/memory.c:1559 [inline] zap_pud_range mm/memory.c:1588 [inline] zap_p4d_range mm/memory.c:1609 [inline] unmap_page_range+0x1976/0x1ed0 mm/memory.c:1630 unmap_single_vma mm/memory.c:1675 [inline] unmap_vmas+0x389/0x560 mm/memory.c:1707 exit_mmap+0x3e4/0x940 mm/mmap.c:3215 __mmput+0x95/0x310 kernel/fork.c:1179 mmput+0x5b/0x170 kernel/fork.c:1202 exit_mm kernel/exit.c:552 [inline] do_exit+0xb9c/0x2ca0 kernel/exit.c:865 do_group_exit+0x141/0x310 kernel/exit.c:1000 get_signal+0x7a3/0x1630 kernel/signal.c:2896 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:178 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x9/0x10 kernel/entry/common.c:320 irqentry_exit+0x12/0x40 kernel/entry/common.c:411 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0033:0x7fa46cf7ceff Code: Unable to access opcode bytes at RIP 0x7fa46cf7ced5. RSP: 002b:00007fa46bbf6038 EFLAGS: 00000217 RAX: 0000000000000000 RBX: 00007fa46d134f80 RCX: 00007fa46cf7cef9 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000005 RBP: 00007fa46cfefb76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa46d134f80 R15: 00007fff8d145ac8 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2548 Comm: syz.1.282 Not tainted 5.15.161-syzkaller-00425-gb92c0d35d015 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline] RIP: 0010:static_key_false include/linux/jump_label.h:235 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:156 [inline] RIP: 0010:wrmsr arch/x86/include/asm/msr.h:263 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:208 Code: 74 05 83 ff 30 75 12 5d c3 81 ff d0 00 00 00 74 f6 81 ff e0 00 00 00 74 ee c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 02 eb d9 89 f6 31 d2 e8 8a d5 51 01 5d c3 0f 1f 84 00 00 00 00 RSP: 0018:ffffc900001d0348 EFLAGS: 00000046 RAX: 00000000000000a1 RBX: ffffffff8625d9d8 RCX: 0000000000000838 RDX: 0000000000000000 RSI: 00000000000000a1 RDI: 0000000000000838 RBP: ffffc900001d0348 R08: ffffffff8163cb2b R09: ffffffff8163ca1d R10: 0000000000000002 R11: ffff8881158dcf00 R12: 0000000000000020 R13: dffffc0000000000 R14: 00000000000000a1 R15: dffffc0000000000 FS: 00007feab4f736c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007feab4aebd58 CR3: 00000001473a8000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_write arch/x86/include/asm/apic.h:395 [inline] lapic_next_event+0x5f/0x70 arch/x86/kernel/apic/apic.c:468 clockevents_program_event+0x1c1/0x300 kernel/time/clockevents.c:334 tick_program_event+0x9f/0x120 kernel/time/tick-oneshot.c:44 hrtimer_interrupt+0x625/0xaa0 kernel/time/hrtimer.c:1824 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0xfd/0x3c0 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x44/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:update_stack_state+0x242/0x460 Code: 89 df e8 e1 a3 7d 00 e9 23 ff ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 75 ff ff ff 4c 89 ff e8 a3 a3 7d 00 e9 68 ff ff ff <48> 8b 45 d0 4c 8d 70 40 4d 89 f4 49 c1 ec 03 48 b8 00 00 00 00 00 RSP: 0018:ffffc900001d0610 EFLAGS: 00000287 RAX: ffffc90000e17b50 RBX: ffffc900001d0788 RCX: ffffc90000e17b60 RDX: 1ffff9200003a0ee RSI: ffffc90000e17b50 RDI: ffffc900001d07b8 RBP: ffffc900001d06c8 R08: ffffc900001d0848 R09: 0000000000000017 R10: ffffc900001d0850 R11: dffffc0000000001 R12: ffffc90000e10000 R13: ffffc90000e18000 R14: dffffc0000000000 R15: 0000000000000001 unwind_next_frame+0x3cb/0x700 arch/x86/kernel/unwind_frame.c:305 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] ____kasan_kmalloc+0xdb/0x110 mm/kasan/common.c:512 __kasan_kmalloc+0x9/0x10 mm/kasan/common.c:521 kasan_kmalloc include/linux/kasan.h:227 [inline] __kmalloc_track_caller+0x139/0x260 mm/slub.c:4950 kmalloc_reserve net/core/skbuff.c:357 [inline] __alloc_skb+0x10c/0x550 net/core/skbuff.c:428 alloc_skb include/linux/skbuff.h:1183 [inline] ndisc_alloc_skb+0xf3/0x2d0 net/ipv6/ndisc.c:421 ndisc_send_rs+0x26c/0x6a0 net/ipv6/ndisc.c:687 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3978 call_timer_fn+0x3b/0x2d0 kernel/time/timer.c:1457 expire_timers kernel/time/timer.c:1502 [inline] __run_timers+0x72a/0xa10 kernel/time/timer.c:1773 run_timer_softirq+0x69/0xf0 kernel/time/timer.c:1786 handle_softirqs+0x25e/0x5c0 kernel/softirq.c:565 __do_softirq kernel/softirq.c:603 [inline] invoke_softirq kernel/softirq.c:425 [inline] __irq_exit_rcu+0x52/0xf0 kernel/softirq.c:652 irq_exit_rcu+0x9/0x10 kernel/softirq.c:664 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:finish_task_switch+0x16f/0x7b0 kernel/sched/core.c:5024 Code: 74 08 4c 89 ff e8 91 70 65 00 49 8b 1f 48 85 db 4c 8b 6d c0 0f 85 ce 00 00 00 4c 89 e7 e8 89 c9 98 03 fb 49 8d 9d 38 0b 00 00 <48> 89 d8 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df 42 0f b6 04 30 RSP: 0018:ffffc90000e175e0 EFLAGS: 00000282 RAX: 0000000080000001 RBX: ffff8881158dda38 RCX: 0000000000000002 RDX: 0000000040000002 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90000e17630 R08: ffffffff8191fd19 R09: fffffbfff0e52e93 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f71378c0 R13: ffff8881158dcf00 R14: 1ffff1103ee27081 R15: ffff8881f7138408 context_switch kernel/sched/core.c:5155 [inline] __schedule+0xcd4/0x1590 kernel/sched/core.c:6512 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:6916 irqentry_exit_cond_resched+0x2a/0x30 kernel/entry/common.c:398 irqentry_exit+0x30/0x40 kernel/entry/common.c:432 sysvec_apic_timer_interrupt+0x55/0xc0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:percpu_counter_add include/linux/percpu_counter.h:56 [inline] RIP: 0010:percpu_counter_inc include/linux/percpu_counter.h:183 [inline] RIP: 0010:alloc_empty_file+0xc5/0x180 fs/file_table.c:152 Code: f0 ff ff 72 07 e8 6b 40 b5 ff eb 72 e8 64 40 b5 ff 48 c7 c0 6c 9c 29 87 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 0f 85 85 00 00 00 8b 15 a9 7c 6e 05 be 01 00 00 00 48 c7 c7 RSP: 0018:ffffc90000e178d0 EFLAGS: 00000a07 RAX: 0000000000000000 RBX: ffff88811ad21380 RCX: dffffc0000000000 RDX: ffffc9000213d000 RSI: 0000000000000234 RDI: 0000000000000235 RBP: ffffc90000e178f0 R08: dffffc0000000000 R09: ffff88811ad213e8 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000008002 R13: dffffc0000000000 R14: ffff88810c096e00 R15: 00000000000ab124 path_openat+0xfe/0x2f40 fs/namei.c:3728 do_filp_open+0x21c/0x460 fs/namei.c:3769 do_sys_openat2+0x13f/0x830 fs/open.c:1234 do_sys_open fs/open.c:1250 [inline] __do_sys_openat fs/open.c:1266 [inline] __se_sys_openat fs/open.c:1261 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1261 x64_sys_call+0x6bf/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7feab62f9ef9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007feab4f73038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007feab64b1f80 RCX: 00007feab62f9ef9 RDX: 0000000000000002 RSI: 0000000020000840 RDI: 0000000000000003 RBP: 00007feab636cb76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007feab64b1f80 R15: 00007fffe0959248