INFO: task syz.7.1681:13359 blocked for more than 146 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.1681 state:D stack:25872 pid:13359 tgid:13348 ppid:10786 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 d_wait_lookup fs/dcache.c:2477 [inline] d_alloc_parallel+0xc16/0x1600 fs/dcache.c:2559 __lookup_slow+0x117/0x3f0 fs/namei.c:1776 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 do_mount fs/namespace.c:3893 [inline] __do_sys_mount fs/namespace.c:4107 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:4084 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1747185d29 RSP: 002b:00007f1747f00038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1747376080 RCX: 00007f1747185d29 RDX: 0000000020000180 RSI: 0000000020000140 RDI: 0000000000000000 RBP: 00007f1747201aa8 R08: 00000000200001c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f1747376080 R15: 00007ffe5f588d58 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 3 locks held by kworker/u8:5/1054: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90003f4fc60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003f4fc60 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffffffff8fcbab48 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:281 2 locks held by getty/5583: #0: ffff88814d4950a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:9/6307: 2 locks held by kworker/u8:11/7056: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc9000c78fc60 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000c78fc60 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 1 lock held by syz.7.1681/13359: #0: ffff88805962c180 (&type->i_mutex_dir_key#29){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:873 [inline] #0: ffff88805962c180 (&type->i_mutex_dir_key#29){.+.+}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 1 lock held by syz.7.1681/13361: 7 locks held by kworker/u8:8/14600: 2 locks held by syz.4.1960/14696: #0: ffff88807b65ca08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:863 [inline] #0: ffff88807b65ca08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: __sock_release net/socket.c:639 [inline] #0: ffff88807b65ca08 (&sb->s_type->i_mutex_key#10){+.+.}-{4:4}, at: sock_close+0x90/0x240 net/socket.c:1419 #1: ffff8880326cc258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1618 [inline] #1: ffff8880326cc258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_release+0x790/0xcd0 net/packet/af_packet.c:3218 1 lock held by syz-executor/14709: #0: ffffffff8fcbab48 (rtnl_mutex){+.+.}-{4:4}, at: __tun_chr_ioctl+0x48c/0x2400 drivers/net/tun.c:3125 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 13361 Comm: syz.7.1681 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:sched_clock+0x7/0x70 arch/x86/kernel/tsc.c:283 Code: 8b 48 39 c8 0f 94 c0 c3 cc cc cc cc 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 56 <53> e8 73 4a 5f 00 65 ff 05 14 fd a3 7e e8 c7 db 91 0a 49 89 c6 31 RSP: 0018:ffffc900047c5308 EFLAGS: 00000806 RAX: f3f3f300f1f1f1f1 RBX: 0000607f476497c0 RCX: 1ffffd1ffffa92f8 RDX: dffffc0000000000 RSI: ffffffff8c0aaba0 RDI: 0000000000000001 RBP: ffffc900047c53f0 R08: ffffffff942d7857 R09: 1ffffffff285af0a R10: dffffc0000000000 R11: fffffbfff285af0b R12: ffffc900047c5380 R13: 1ffff920008f8a6c R14: dffffc0000000000 R15: ffff88802a1a8000 FS: 00007f1747edf6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020025000 CR3: 000000004bfc0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sched_clock_cpu+0x76/0x490 kernel/sched/clock.c:394 cpu_clock include/linux/sched/clock.h:93 [inline] psi_account_irqtime+0x37c/0x830 kernel/sched/psi.c:1027 __schedule+0x948/0x4c80 kernel/sched/core.c:6752 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7080 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707 RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5853 Code: 2b 00 74 08 4c 89 f7 e8 0a 13 8b 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc900047c5820 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920008f8b10 RCX: ffff88802df4e4e0 RDX: dffffc0000000000 RSI: ffffffff8c0aaba0 RDI: ffffffff8c5fed00 RBP: ffffc900047c5970 R08: ffffffff942d7847 R09: 1ffffffff285af08 R10: dffffc0000000000 R11: fffffbfff285af09 R12: 1ffff920008f8b0c R13: dffffc0000000000 R14: ffffc900047c5880 R15: 0000000000000246 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] is_bpf_text_address+0x46/0x2a0 kernel/bpf/core.c:772 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4609 [inline] kmem_cache_free+0x195/0x410 mm/slub.c:4711 free_buffer_head+0x54/0x240 fs/buffer.c:3031 try_to_free_buffers+0x2fa/0x3b0 fs/buffer.c:2972 shrink_folio_list+0x1f83/0x5910 mm/vmscan.c:1472 evict_folios+0x4220/0x50b0 mm/vmscan.c:4612 try_to_shrink_lruvec+0x713/0x9b0 mm/vmscan.c:4768 lru_gen_shrink_lruvec mm/vmscan.c:4917 [inline] shrink_lruvec+0x53c/0x3160 mm/vmscan.c:5662 shrink_node_memcgs mm/vmscan.c:5898 [inline] shrink_node+0xb15/0x3e50 mm/vmscan.c:5939 shrink_zones mm/vmscan.c:6184 [inline] do_try_to_free_pages+0x78c/0x1cf0 mm/vmscan.c:6246 try_to_free_mem_cgroup_pages+0x48c/0xab0 mm/vmscan.c:6578 try_charge_memcg+0x8c7/0x1150 mm/memcontrol.c:2250 try_charge mm/memcontrol-v1.h:19 [inline] charge_memcg+0x9f/0x170 mm/memcontrol.c:4482 __mem_cgroup_charge+0x27/0x80 mm/memcontrol.c:4499 mem_cgroup_charge include/linux/memcontrol.h:644 [inline] filemap_add_folio+0xb7/0x380 mm/filemap.c:967 do_read_cache_folio+0x349/0x5b0 mm/filemap.c:3860 read_mapping_folio include/linux/pagemap.h:1032 [inline] dir_get_folio fs/sysv/dir.c:64 [inline] sysv_find_entry+0x16c/0x590 fs/sysv/dir.c:154 sysv_inode_by_name+0x98/0x2a0 fs/sysv/dir.c:370 sysv_lookup+0x6b/0xe0 fs/sysv/namei.c:38 __lookup_slow+0x28c/0x3f0 fs/namei.c:1791 lookup_slow+0x53/0x70 fs/namei.c:1808 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 user_path_at+0x3a/0x60 fs/namei.c:3070 do_mount fs/namespace.c:3893 [inline] __do_sys_mount fs/namespace.c:4107 [inline] __se_sys_mount+0x297/0x3c0 fs/namespace.c:4084 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1747185d29 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:00007f1747edf038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1747376160 RCX: 00007f1747185d29 RDX: 0000000020000180 RSI: 0000000020000140 RDI: 0000000000000000 RBP: 00007f1747201aa8 R08: 00000000200001c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f1747376160 R15: 00007ffe5f588d58