INFO: task syz-executor.2:5758 blocked for more than 143 seconds. Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28720 pid:5758 tgid:5754 ppid:5085 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] do_unlinkat+0x288/0x750 fs/namei.c:4386 __do_sys_unlink fs/namei.c:4447 [inline] __se_sys_unlink fs/namei.c:4445 [inline] __x64_sys_unlink+0xc7/0x110 fs/namei.c:4445 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6fdf47dea9 RSP: 002b:00007f6fe01760c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007f6fdf5ac050 RCX: 00007f6fdf47dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007f6fdf4ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f6fdf5ac050 R15: 00007ffe4fdb3e08 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by kworker/u8:2/34: 2 locks held by getty/4829: #0: ffff88802ade60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.3/5246: 2 locks held by syz-executor.4/5407: 1 lock held by syz-executor.2/5755: 2 locks held by syz-executor.2/5758: #0: ffff888081568420 (sb_writers#19){.+.+}-{0:0}, at: do_unlinkat+0x1d3/0x750 fs/namei.c:4382 #1: ffff88805881cc18 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88805881cc18 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: do_unlinkat+0x288/0x750 fs/namei.c:4386 3 locks held by syz-executor.0/7218: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5755 Comm: syz-executor.2 Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x29/0x60 kernel/kcov.c:207 Code: 90 f3 0f 1e fa 65 48 8b 15 24 15 76 7e 65 8b 05 25 15 76 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74 35 8b 82 14 16 00 00 <85> c0 74 2b 8b 82 f0 15 00 00 83 f8 02 75 20 48 8b 8a f8 15 00 00 RSP: 0018:ffffc900000072e0 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffffc900041ef928 RCX: ffffc900000073ac RDX: ffff888027d11e00 RSI: ffffffff813d0b09 RDI: ffffc900041ef928 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000004 R12: ffffffff90365b06 R13: ffffc900041ef930 R14: ffffffff90365b0a R15: 0000000000000001 FS: 00007f6fe01976c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff3ae17f5b0 CR3: 000000005e684000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __read_once_word_nocheck+0x9/0x20 include/asm-generic/rwonce.h:67 deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] unwind_next_frame+0xdc3/0x23a0 arch/x86/kernel/unwind_orc.c:585 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:370 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:387 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slub.c:3966 [inline] __kmalloc+0x1f9/0x440 mm/slub.c:3979 kmalloc include/linux/slab.h:632 [inline] kzalloc include/linux/slab.h:749 [inline] neigh_alloc net/core/neighbour.c:494 [inline] ___neigh_create+0x152b/0x2ae0 net/core/neighbour.c:648 ip6_finish_output2+0x112f/0x18b0 net/ipv6/ip6_output.c:128 __ip6_finish_output net/ipv6/ip6_output.c:211 [inline] ip6_finish_output+0x3f9/0x1300 net/ipv6/ip6_output.c:222 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x1eb/0x540 net/ipv6/ip6_output.c:243 dst_output include/net/dst.h:450 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] ndisc_send_skb+0xa2d/0x1c30 net/ipv6/ndisc.c:509 ndisc_send_rs+0x12b/0x690 net/ipv6/ndisc.c:719 addrconf_rs_timer+0x422/0x850 net/ipv6/addrconf.c:4038 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers+0x74b/0xaf0 kernel/time/timer.c:2418 __run_timer_base kernel/time/timer.c:2429 [inline] __run_timer_base kernel/time/timer.c:2422 [inline] run_timer_base+0x111/0x190 kernel/time/timer.c:2438 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2448 __do_softirq+0x218/0x922 kernel/softirq.c:554 invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:633 [inline] irq_exit_rcu+0xb9/0x120 kernel/softirq.c:645 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:check_kcov_mode kernel/kcov.c:175 [inline] RIP: 0010:write_comp_data+0x2e/0x90 kernel/kcov.c:236 Code: 89 f8 49 89 f1 65 48 8b 15 ff 1b 76 7e 65 8b 05 00 1c 76 7e a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 14 16 00 00 85 c0 74 4f <8b> 82 f0 15 00 00 83 f8 03 75 44 48 8b 82 f8 15 00 00 8b 92 f4 15 RSP: 0018:ffffc900041ee1e8 EFLAGS: 00000246 RAX: 0000000080000001 RBX: 0000000000000007 RCX: ffffffff813d1d91 RDX: ffff888027d11e00 RSI: 0000000000000008 RDI: 0000000000000001 RBP: ffffffff8b09cea0 R08: 0000000000000001 R09: 0000000000000008 R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000005 R13: 0000000000000001 R14: 0000000000000008 R15: ffffc900041ee2d5 __sanitizer_cov_trace_switch+0x54/0x90 kernel/kcov.c:341 unwind_next_frame+0x6c1/0x23a0 arch/x86/kernel/unwind_orc.c:515 arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:579 poison_slab_object mm/kasan/common.c:240 [inline] __kasan_slab_free+0x11d/0x1a0 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2106 [inline] slab_free mm/slub.c:4280 [inline] kmem_cache_free+0x12e/0x380 mm/slub.c:4344 free_buffer_head+0x4e/0x110 fs/buffer.c:3017 try_to_free_buffers+0x1c5/0x2d0 fs/buffer.c:2958 filemap_release_folio+0x219/0x280 mm/filemap.c:4133 shrink_folio_list+0x295a/0x3f00 mm/vmscan.c:1376 evict_folios+0x6e6/0x1bb0 mm/vmscan.c:4537 try_to_shrink_lruvec+0x618/0x9b0 mm/vmscan.c:4733 lru_gen_shrink_lruvec mm/vmscan.c:4876 [inline] shrink_lruvec+0x2df/0x29b0 mm/vmscan.c:5653 shrink_node_memcgs mm/vmscan.c:5873 [inline] shrink_node+0x81e/0x3a80 mm/vmscan.c:5908 shrink_zones mm/vmscan.c:6152 [inline] do_try_to_free_pages+0x361/0x1a20 mm/vmscan.c:6214 try_to_free_mem_cgroup_pages+0x317/0x7f0 mm/vmscan.c:6529 try_charge_memcg+0x3d1/0x11a0 mm/memcontrol.c:2783 try_charge mm/memcontrol.c:2931 [inline] charge_memcg mm/memcontrol.c:7284 [inline] __mem_cgroup_charge+0xa6/0x140 mm/memcontrol.c:7299 mem_cgroup_charge include/linux/memcontrol.h:691 [inline] __filemap_add_folio+0x83d/0xf00 mm/filemap.c:864 filemap_add_folio+0xaf/0x1e0 mm/filemap.c:947 do_read_cache_folio+0x1dd/0x550 mm/filemap.c:3714 do_read_cache_page mm/filemap.c:3813 [inline] read_cache_page+0x5b/0x160 mm/filemap.c:3822 read_mapping_page include/linux/pagemap.h:888 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x1e5/0x690 fs/sysv/dir.c:157 sysv_inode_by_name+0x71/0x3b0 fs/sysv/dir.c:374 sysv_lookup fs/sysv/namei.c:38 [inline] sysv_lookup+0x8c/0x100 fs/sysv/namei.c:31 __lookup_slow+0x24f/0x460 fs/namei.c:1692 lookup_slow fs/namei.c:1709 [inline] walk_component+0x350/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:558 [inline] __se_sys_chdir fs/open.c:552 [inline] __x64_sys_chdir+0xc2/0x270 fs/open.c:552 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f6fdf47dea9 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:00007f6fe01970c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f6fdf5abf80 RCX: 00007f6fdf47dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007f6fdf4ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6fdf5abf80 R15: 00007ffe4fdb3e08