watchdog: BUG: soft lockup - CPU#0 stuck for 123s! [syz.1.3835:17795] Modules linked in: CPU: 0 PID: 17795 Comm: syz.1.3835 Tainted: G W 5.10.225-syzkaller-00513-g8d23314f588a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:should_failslab+0xb/0x20 Code: 3b 83 0d 00 49 89 c6 48 89 df 4c 89 f6 e8 3d e2 0d 00 eb 03 45 31 f6 4c 89 f0 5b 41 5e 5d c3 55 48 89 e5 e8 57 62 0e 00 31 c9 <84> c0 b8 f4 ff ff ff 0f 44 c1 5d c3 66 0f 1f 84 00 00 00 00 00 55 RSP: 0018:ffffc900000078f8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000a20 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000060 RDI: ffffffff8683ae00 RBP: ffffc900000078f8 R08: ffffffff8429c5ec R09: ffffed1029d6688a R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888100043680 R13: ffffffff83c84f95 R14: 0000000000000a20 R15: 0000000000000048 FS: 00007f1d79cc86c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2ab2c5 CR3: 0000000136b76000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: slab_pre_alloc_hook mm/slab.h:558 [inline] slab_alloc_node mm/slub.c:2868 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc_trace+0x3a/0x2e0 mm/slub.c:2972 kmalloc include/linux/slab.h:552 [inline] dst_cow_metrics_generic+0x55/0x1c0 net/core/dst.c:201 dst_metrics_write_ptr include/net/dst.h:117 [inline] dst_metric_set include/net/dst.h:178 [inline] icmp6_dst_alloc+0x385/0x560 net/ipv6/route.c:3177 ndisc_send_skb+0x25a/0xc00 net/ipv6/ndisc.c:491 ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:705 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:__schedule+0x0/0x1330 kernel/sched/core.c:4686 Code: 59 bf 86 4c 89 25 e0 25 0e 02 eb 05 e8 59 79 b9 fc 48 c7 c7 20 fc 12 87 e8 6d 33 01 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc <55> 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec c0 00 RSP: 0018:ffffc900020d7a78 EFLAGS: 00000246 RAX: 1ffff11024b718ae RBX: 1ffff9200041af54 RCX: ffffffff84b27500 RDX: 1ffffffff0e10800 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc900020d7b00 R08: ffffffff87084008 R09: ffffffff87084018 R10: ffffffff87084010 R11: ffffffff87084003 R12: ffffc900020d7aa0 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff9200041af50 irqentry_exit_cond_resched kernel/entry/common.c:365 [inline] irqentry_exit+0x4f/0x60 kernel/entry/common.c:395 sysvec_apic_timer_interrupt+0xcb/0xe0 arch/x86/kernel/apic/apic.c:1094 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__sanitizer_cov_trace_pc+0x59/0x60 kernel/kcov.c:205 Code: 2c 8b 91 b8 0a 00 00 83 fa 02 75 21 48 8b 91 c0 0a 00 00 48 8b 32 48 8d 7e 01 8b 89 bc 0a 00 00 48 39 cf 73 08 48 89 44 f2 08 <48> 89 3a 5d c3 66 90 55 48 89 e5 4c 8b 45 08 65 48 8b 15 30 c0 97 RSP: 0018:ffffc900020d7bf0 EFLAGS: 00000283 RAX: ffffffff81b5ae16 RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc90007430000 RSI: 0000000000000033 RDI: 0000000000000034 RBP: ffffc900020d7bf0 R08: ffffffff81b5ae09 R09: ffffed1021229f65 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200041af88 R13: 0000000000000000 R14: 0000000000000003 R15: dffffc0000000000 ioctl_fioasync fs/ioctl.c:587 [inline] do_vfs_ioctl+0xc76/0x1a30 fs/ioctl.c:686 __do_sys_ioctl fs/ioctl.c:751 [inline] __se_sys_ioctl+0x99/0x190 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x34/0x70 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f1d7b04eef9 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:00007f1d79cc8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f1d7b206f80 RCX: 00007f1d7b04eef9 RDX: 00000000200006c0 RSI: 0000000000005452 RDI: 0000000000000003 RBP: 00007f1d7b0c1b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1d7b206f80 R15: 00007fff2c5b9978 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16084 Comm: syz.4.3610 Tainted: G W 5.10.225-syzkaller-00513-g8d23314f588a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:timerqueue_add+0x83/0x270 Code: 89 f3 48 c1 eb 03 48 b8 00 00 00 00 00 fc ff df 80 3c 03 00 74 08 4c 89 f7 e8 99 15 36 ff 49 8b 06 48 85 c0 0f 84 5c 01 00 00 <49> 89 c5 4c 89 65 b8 4c 89 75 c8 4c 89 7d c0 49 8d 5f 18 48 89 d8 RSP: 0018:ffffc900001700b8 EFLAGS: 00000082 RAX: ffff8881f7149f08 RBX: 1ffff1103ee29334 RCX: ffff88810d698000 RDX: 0000000000010101 RSI: ffff88812f503158 RDI: ffff88812f503158 RBP: ffffc90000170110 R08: ffffffff8272311a R09: 0000000000000003 R10: fffff5200002e01c R11: dffffc0000000001 R12: 1ffff11025ea062b R13: dffffc0000000000 R14: ffff8881f71499a0 R15: ffff88812f503158 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2399576020 CR3: 000000015134c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: enqueue_hrtimer+0xad/0x200 kernel/time/hrtimer.c:989 __run_hrtimer kernel/time/hrtimer.c:1602 [inline] __hrtimer_run_queues+0x447/0xa50 kernel/time/hrtimer.c:1649 hrtimer_interrupt+0x39a/0x8b0 kernel/time/hrtimer.c:1711 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:unwind_next_frame+0x31d/0x700 arch/x86/kernel/unwind_frame.c:295 Code: 83 c6 48 4c 89 f0 48 c1 e8 03 80 3c 10 00 74 08 4c 89 f7 e8 d5 2e 76 00 49 c7 06 00 00 00 00 b0 01 e9 8c 02 00 00 4d 8d 6e 50 <4c> 89 eb 48 c1 eb 03 80 3c 13 00 74 12 4c 89 ef e8 0e 2e 76 00 48 RSP: 0018:ffffc900001704b8 EFLAGS: 00000287 RAX: ffffc900011d7f30 RBX: ffffc90000170c90 RCX: 0000000000170501 RDX: dffffc0000000000 RSI: ffffffff84283a41 RDI: ffffc900011d7f48 RBP: ffffc90000170530 R08: ffffc90000170628 R09: 0000000000000007 R10: ffffc90000170630 R11: dffffc0000000001 R12: 0000000000000000 R13: ffffc90000170590 R14: ffffc90000170540 R15: 1ffff9200002e0a8 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:121 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:430 [inline] ____kasan_kmalloc+0xdb/0x110 mm/kasan/common.c:509 __kasan_kmalloc+0x9/0x10 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] kmem_cache_alloc_trace+0x18a/0x2e0 mm/slub.c:2974 kmalloc include/linux/slab.h:552 [inline] dst_cow_metrics_generic+0x55/0x1c0 net/core/dst.c:201 dst_metrics_write_ptr include/net/dst.h:117 [inline] dst_metric_set include/net/dst.h:178 [inline] icmp6_dst_alloc+0x385/0x560 net/ipv6/route.c:3177 ndisc_send_skb+0x25a/0xc00 net/ipv6/ndisc.c:491 ndisc_send_rs+0x532/0x6a0 net/ipv6/ndisc.c:705 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:__get_pfnblock_flags_mask mm/page_alloc.c:521 [inline] RIP: 0010:get_pfnblock_migratetype mm/page_alloc.c:551 [inline] RIP: 0010:free_unref_page_prepare+0x19c/0x2d0 mm/page_alloc.c:3339 Code: c4 04 00 48 8b 03 4d 89 f5 49 c1 ed 08 41 83 e5 3c 49 c1 ee 0b 41 83 e6 08 4e 8d 74 30 18 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 f7 e8 ca c4 04 00 49 8b 1e 44 89 e9 48 d3 eb 83 e3 07 RSP: 0018:ffffc900011d6d80 EFLAGS: 00000246 RAX: 1ffff11000ffff59 RBX: ffff88823fff54c8 RCX: 0000000000000000 RDX: 0000000000000200 RSI: 00000000000000ff RDI: ffffed102678f000 RBP: ffffc900011d6db0 R08: dffffc0000000000 R09: ffffed102678ee00 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 000000000000003c R14: ffff888007fffac8 R15: ffffea0004cf1dc0 free_unref_page_list+0x122/0xb20 mm/page_alloc.c:3443 release_pages+0xea0/0xef0 mm/swap.c:1103 __pagevec_release+0x84/0x100 mm/swap.c:1123 pagevec_release include/linux/pagevec.h:88 [inline] shmem_undo_range+0x7d1/0x1a60 mm/shmem.c:965 shmem_truncate_range mm/shmem.c:1069 [inline] shmem_evict_inode+0x215/0x9d0 mm/shmem.c:1169 evict+0x526/0x9c0 fs/inode.c:612 iput_final fs/inode.c:1732 [inline] iput+0x632/0x7e0 fs/inode.c:1758 dentry_unlink_inode+0x2ea/0x3d0 fs/dcache.c:378 __dentry_kill+0x447/0x650 fs/dcache.c:583 shrink_dentry_list+0x38a/0x4e0 fs/dcache.c:1146 shrink_dcache_parent+0xc9/0x340 do_one_tree+0x28/0x4a0 fs/dcache.c:1627 shrink_dcache_for_umount+0x7d/0x120 fs/dcache.c:1644 generic_shutdown_super+0x69/0x2d0 fs/super.c:447 kill_anon_super fs/super.c:1129 [inline] kill_litter_super+0x76/0xa0 fs/super.c:1138 deactivate_locked_super+0xad/0x110 fs/super.c:335 deactivate_super+0xbe/0xf0 fs/super.c:366 cleanup_mnt+0x45c/0x510 fs/namespace.c:1118 __cleanup_mnt+0x19/0x20 fs/namespace.c:1125 task_work_run+0x129/0x190 kernel/task_work.c:189 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xc83/0x2a50 kernel/exit.c:863 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:0x7fdc12410ef9 Code: Unable to access opcode bytes at RIP 0x7fdc12410ecf. RSP: 002b:00007fdc110480e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007fdc125c9138 RCX: 00007fdc12410ef9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fdc125c9138 RBP: 00007fdc125c9130 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdc125c913c R13: 0000000000000000 R14: 00007ffd1026fd60 R15: 00007ffd1026fe48