watchdog: BUG: soft lockup - CPU#1 stuck for 123s! [syz-executor.1:1478] Modules linked in: CPU: 1 PID: 1478 Comm: syz-executor.1 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:freelist_ptr mm/slub.c:265 [inline] RIP: 0010:freelist_dereference mm/slub.c:276 [inline] RIP: 0010:get_freepointer mm/slub.c:282 [inline] RIP: 0010:slab_free_freelist_hook mm/slub.c:1479 [inline] RIP: 0010:slab_free mm/slub.c:3080 [inline] RIP: 0010:kfree+0x103/0x370 mm/slub.c:4071 Code: 00 00 45 31 ed 45 31 ff eb 1b ff 4c 24 0c 48 01 dd 48 0f cd 49 31 ee 48 3b 5c 24 10 4c 89 f3 0f 84 b5 00 00 00 41 8b 6c 24 20 <4d> 8b b4 24 b0 01 00 00 4c 33 34 2b 0f 1f 44 00 00 4c 89 e7 48 89 RSP: 0018:ffff8881f6f09c40 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffff88823fe1a000 RBX: ffff8881ed637000 RCX: ffffffffad81d000 RDX: 0000000000000102 RSI: 0000000000000000 RDI: ffff8881ed637000 RBP: 0000000000000000 R08: ffffffff837848b8 R09: ffffed103dac6ed5 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f5c0c000 R13: 0000000000000000 R14: ffffffff83bfe3c4 R15: 0000000000000000 FS: 00007faa603df6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f721226a4d8 CR3: 00000001d08e7000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_release_all net/core/skbuff.c:675 [inline] __kfree_skb net/core/skbuff.c:689 [inline] kfree_skb+0xb8/0x3c0 net/core/skbuff.c:708 inet_frag_rbtree_purge net/ipv4/inet_fragment.c:246 [inline] inet_frag_destroy+0x134/0x230 net/ipv4/inet_fragment.c:266 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448 expire_timers kernel/time/timer.c:1493 [inline] __run_timers+0x879/0xbe0 kernel/time/timer.c:1817 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:538 [inline] smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x45/0x60 kernel/locking/spinlock.c:199 Code: 08 00 74 0c 48 c7 c7 90 3b eb 85 e8 75 12 43 fd 48 83 3d cd 2c 9a 01 00 74 29 48 89 df e8 e3 e7 fa fc 66 90 fb bf 01 00 00 00 66 d4 f3 fc 65 8b 05 ab 7e b1 7b 85 c0 74 02 5b c3 e8 34 45 af RSP: 0018:ffff8881d15371d0 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffff8881f6f57b40 RCX: dffffc0000000000 RDX: 0000000040000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff8881d1537230 R08: ffffffff81799989 R09: fffffbfff0c96e5b R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f6f57b40 R13: ffff8881e3183f00 R14: dffffc0000000000 R15: 0000000000000000 finish_lock_switch kernel/sched/core.c:3347 [inline] finish_task_switch+0x130/0x590 kernel/sched/core.c:3447 context_switch kernel/sched/core.c:3611 [inline] __schedule+0xb0d/0x1320 kernel/sched/core.c:4307 preempt_schedule_irq+0xc7/0x140 kernel/sched/core.c:4558 retint_kernel+0x1b/0x1b RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline] RIP: 0010:test_bit include/asm-generic/bitops-instrumented.h:238 [inline] RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:97 [inline] RIP: 0010:need_resched include/linux/sched.h:1847 [inline] RIP: 0010:preempt_schedule_common+0xb2/0xd0 kernel/sched/core.c:4464 Code: b2 7b 65 ff 0d 0b 50 b2 7b 65 48 8b 1d f7 4f b2 7b 48 89 df be 08 00 00 00 e8 fa b6 43 fd 48 89 d8 48 c1 e8 03 42 80 3c 38 00 <0f> 84 59 ff ff ff 48 89 df e8 80 e3 43 fd e9 4c ff ff ff 5b 41 5e RSP: 0018:ffff8881d1537480 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 1ffff1103c6307e0 RBX: ffff8881e3183f00 RCX: ffffffff84503d96 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8881e3183f00 RBP: ffff8881d1537528 R08: dffffc0000000000 R09: ffffed103c6307e1 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103a2a6e98 R13: 00007faa60612000 R14: ffffffff84503ce9 R15: dffffc0000000000 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:4481 ___preempt_schedule+0x16/0x20 arch/x86/entry/thunk_64.S:50 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x5b/0x60 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:378 [inline] zap_pte_range mm/memory.c:1163 [inline] zap_pmd_range mm/memory.c:1222 [inline] zap_pud_range mm/memory.c:1251 [inline] zap_p4d_range mm/memory.c:1272 [inline] unmap_page_range+0xa07/0x2620 mm/memory.c:1293 unmap_single_vma mm/memory.c:1338 [inline] unmap_vmas+0x355/0x4b0 mm/memory.c:1370 exit_mmap+0x2bc/0x520 mm/mmap.c:3191 __mmput+0x8e/0x2c0 kernel/fork.c:1101 exit_mm kernel/exit.c:536 [inline] do_exit+0xc08/0x2bc0 kernel/exit.c:846 do_group_exit+0x138/0x300 kernel/exit.c:982 get_signal+0xdb1/0x1440 kernel/signal.c:2735 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 ret_from_intr+0x1c/0x1c RIP: 0033:0x7faa610650a9 Code: Bad RIP value. RSP: 002b:00007faa603df0c8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000000 RBX: 00007faa6119bf80 RCX: 00007faa610650a9 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000003 RBP: 00007faa610d4074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007faa6119bf80 R15: 00007fff2908eae8 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1674 Comm: syz-executor.4 Not tainted 5.4.274-syzkaller-00002-g6f97bd951d82 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:check_memory_region+0x1/0x280 mm/kasan/generic.c:190 Code: 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 63 84 59 85 eb 0a 48 c7 c7 9b 84 59 85 4c 89 fe e8 4c 80 bb 02 31 db eb d7 90 90 55 <41> 57 41 56 53 b0 01 48 85 f6 0f 84 8e 01 00 00 48 89 fd 48 c1 ed RSP: 0018:ffff8881f6e099f0 EFLAGS: 00000046 RAX: 1ffffffff0ac63e2 RBX: ffff8881f6e589a0 RCX: ffffffff81516812 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8881f6e589a0 RBP: ffff8881f6e00000 R08: ffffffff82316ca1 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff1103edcb133 R14: ffff8881f6e58998 R15: ffffffff85631f10 FS: 00007f72114c06c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001e3302000 CR4: 00000000003406b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: atomic_read include/asm-generic/atomic-instrumented.h:26 [inline] rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:301 [inline] rcu_nmi_enter_common kernel/rcu/tree.c:825 [inline] rcu_irq_enter+0xb2/0x2b0 kernel/rcu/tree.c:879 irq_enter+0x8/0xa0 kernel/softirq.c:347 ipi_entering_ack_irq arch/x86/include/asm/apic.h:531 [inline] smp_irq_work_interrupt+0xc/0x250 arch/x86/kernel/irq_work.c:18 irq_work_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:865 RIP: 0010:__alloc_skb+0x83/0x4d0 net/core/skbuff.c:199 Code: 0f 45 fd 83 e5 02 45 0f 44 fd 31 ff 89 ee e8 24 47 ec fd 44 89 fe 83 e6 fe 4c 89 e7 e8 36 78 1b fe 48 85 c0 0f 84 20 02 00 00 <49> 89 c5 4c 89 6c 24 10 41 0f 0d 4d 00 41 81 c6 bf 01 00 00 41 83 RSP: 0018:ffff8881f6e09b30 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff09 RAX: ffff8881e0db3780 RBX: ffffffff85635510 RCX: 6bdf26adec0bb900 RDX: 0000000000000a20 RSI: ffff8881f6e098f8 RDI: 00000000497c080f RBP: 0000000000000000 R08: 0000000000000002 R09: ffffffff846031dc R10: ffffffff84800000 R11: dffffc0000000001 R12: ffff8881f1cccc80 R13: 0000000000000a20 R14: 0000000000000048 R15: 0000000000000a20 alloc_skb include/linux/skbuff.h:1080 [inline] ndisc_alloc_skb+0xee/0x2c0 net/ipv6/ndisc.c:421 ndisc_send_rs+0x269/0x6a0 net/ipv6/ndisc.c:687 addrconf_rs_timer+0x2d1/0x600 net/ipv6/addrconf.c:3953 call_timer_fn+0x36/0x390 kernel/time/timer.c:1448 expire_timers kernel/time/timer.c:1493 [inline] __run_timers+0x879/0xbe0 kernel/time/timer.c:1817 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1830 __do_softirq+0x23b/0x6b7 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x195/0x1c0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:538 [inline] smp_apic_timer_interrupt+0x11a/0x460 arch/x86/kernel/apic/apic.c:1149 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:834 RIP: 0010:up_write+0x45/0x270 kernel/locking/rwsem.c:1633 Code: 65 48 8b 04 25 28 00 00 00 48 89 44 24 60 49 be 00 00 00 00 00 fc ff df 48 c7 44 24 20 b3 8a b5 41 48 c7 44 24 28 2c 7b 58 85 <48> c7 44 24 30 00 bd 4b 81 4c 8d 64 24 20 49 c1 ec 03 48 b8 f1 f1 RSP: 0018:ffff8881eba8fbc0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 6bdf26adec0bb900 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90001d4c000 RSI: 0000000000000883 RDI: ffff8881f11106d0 RBP: ffff8881eba8fc80 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881f11106d0 R13: ffff8881f11106d0 R14: dffffc0000000000 R15: 0000000000000009 inode_unlock include/linux/fs.h:830 [inline] perf_fasync+0x89/0xa0 kernel/events/core.c:6003 ioctl_fioasync fs/ioctl.c:579 [inline] do_vfs_ioctl+0xb93/0x1720 fs/ioctl.c:684 ksys_ioctl fs/ioctl.c:742 [inline] __do_sys_ioctl fs/ioctl.c:749 [inline] __se_sys_ioctl fs/ioctl.c:747 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:747 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 RIP: 0033:0x7f72121460a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f72114c00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f721227cf80 RCX: 00007f72121460a9 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000009 RBP: 00007f72121b5074 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f721227cf80 R15: 00007ffc75d2cd78