INFO: task syz-executor.4:7309 blocked for more than 143 seconds. Not tainted 6.9.0-rc4-syzkaller-00274-g3b68086599f8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26992 pid:7309 tgid:7304 ppid:5279 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 __fdget_pos+0x259/0x320 fs/file.c:1191 fdget_pos include/linux/file.h:76 [inline] __do_sys_getdents64 fs/readdir.c:405 [inline] __se_sys_getdents64+0x1dc/0x4f0 fs/readdir.c:394 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f864487dea9 RSP: 002b:00007f86455e20c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f86449ac050 RCX: 00007f864487dea9 RDX: 0000000000001000 RSI: 0000000020000f80 RDI: 0000000000000005 RBP: 00007f86448ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f86449ac050 R15: 00007fff7ab03d38 INFO: task syz-executor.4:7310 blocked for more than 144 seconds. Not tainted 6.9.0-rc4-syzkaller-00274-g3b68086599f8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28016 pid:7310 tgid:7304 ppid:5279 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] filename_create+0x260/0x540 fs/namei.c:3892 do_mknodat+0x18b/0x5b0 fs/namei.c:4038 __do_sys_mknod fs/namei.c:4084 [inline] __se_sys_mknod fs/namei.c:4082 [inline] __x64_sys_mknod+0x8e/0xa0 fs/namei.c:4082 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f864487dea9 RSP: 002b:00007f86455c10c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007f86449ac120 RCX: 00007f864487dea9 RDX: 0000000000000708 RSI: 0000000000006000 RDI: 0000000020000040 RBP: 00007f86448ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f86449ac120 R15: 00007fff7ab03d38 INFO: task syz-executor.2:7442 blocked for more than 144 seconds. Not tainted 6.9.0-rc4-syzkaller-00274-g3b68086599f8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27384 pid:7442 tgid:7441 ppid:7008 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] filename_create+0x260/0x540 fs/namei.c:3892 do_mkdirat+0xbd/0x3a0 fs/namei.c:4138 __do_sys_mkdirat fs/namei.c:4161 [inline] __se_sys_mkdirat fs/namei.c:4159 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4159 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcf3807c9a7 RSP: 002b:00007fcf38d02ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fcf38d02f80 RCX: 00007fcf3807c9a7 RDX: 00000000000001ff RSI: 0000000020000e80 RDI: 00000000ffffff9c RBP: 00000000200000c0 R08: 0000000020000000 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 0000000020000e80 R13: 00007fcf38d02f40 R14: 0000000000000000 R15: 0000000020001340 Showing all locks held in the system: 3 locks held by kworker/u8:0/10: 1 lock held by ksoftirqd/0/15: 1 lock held by khungtaskd/29: #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by klogd/4513: 2 locks held by getty/4823: #0: ffff88802ae740a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 4 locks held by syz-executor.4/7308: 1 lock held by syz-executor.4/7309: #0: ffff88802e328fc8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191 2 locks held by syz-executor.4/7310: #0: ffff888024cd4420 (sb_writers#30){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88805b500188 (&type->i_mutex_dir_key#20/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88805b500188 (&type->i_mutex_dir_key#20/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892 1 lock held by syz-executor.2/7442: #0: ffff888055168188 (&type->i_mutex_dir_key#20/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #0: ffff888055168188 (&type->i_mutex_dir_key#20/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892 2 locks held by syz-executor.2/7443: 2 locks held by syz-executor.2/9362: 1 lock held by syz-executor.1/9367: #0: ffff88807a95e0e0 (&type->s_umount_key#57/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:343 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc4-syzkaller-00274-g3b68086599f8 #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+0x241/0x360 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 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 PID: 7308 Comm: syz-executor.4 Not tainted 6.9.0-rc4-syzkaller-00274-g3b68086599f8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:200 Code: 89 fb e8 23 00 00 00 48 8b 3d 5c a1 3d 0c 48 89 de 5b e9 d3 a0 55 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 80 d3 03 00 65 8b 15 00 d3 RSP: 0018:ffffc9000e24df00 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc9000e24e018 RCX: ffff888063cf5a00 RDX: 0000000000000008 RSI: ffffffff8e1a2f20 RDI: 0000000000000004 RBP: 0000000000000004 R08: 0000000000000005 R09: ffffffff8141472e R10: 0000000000000008 R11: ffff888063cf5a00 R12: ffffffff8fbe7e74 R13: dffffc0000000000 R14: ffffc9000e24e030 R15: 1ffff92001c49bfc FS: 00007f86456036c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f170aed56c6 CR3: 000000001cfc4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xa39/0x2a00 arch/x86/kernel/unwind_orc.c:521 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 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:579 poison_slab_object+0xa6/0xe0 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 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+0x10b/0x2c0 mm/slub.c:4344 free_buffer_head+0x55/0x240 fs/buffer.c:3017 try_to_free_buffers+0x311/0x5f0 fs/buffer.c:2958 shrink_folio_list+0x273f/0x8ca0 mm/vmscan.c:1376 shrink_inactive_list mm/vmscan.c:1926 [inline] shrink_list mm/vmscan.c:2163 [inline] shrink_lruvec+0x1638/0x2e40 mm/vmscan.c:5687 shrink_node_memcgs mm/vmscan.c:5873 [inline] shrink_node+0x1189/0x2d60 mm/vmscan.c:5908 shrink_zones mm/vmscan.c:6152 [inline] do_try_to_free_pages+0x695/0x1af0 mm/vmscan.c:6214 try_to_free_mem_cgroup_pages+0x47a/0xad0 mm/vmscan.c:6529 try_charge_memcg+0x6da/0x18a0 mm/memcontrol.c:2783 obj_cgroup_charge_pages mm/memcontrol.c:3302 [inline] obj_cgroup_charge+0x38a/0x630 mm/memcontrol.c:3593 __memcg_slab_pre_alloc_hook+0x28d/0x2b0 mm/slub.c:1919 memcg_slab_pre_alloc_hook mm/slub.c:1940 [inline] slab_pre_alloc_hook mm/slub.c:3751 [inline] slab_alloc_node mm/slub.c:3827 [inline] kmem_cache_alloc+0x207/0x340 mm/slub.c:3852 kmem_cache_zalloc include/linux/slab.h:739 [inline] alloc_buffer_head+0x2d/0x2a0 fs/buffer.c:3001 folio_alloc_buffers+0x2da/0x840 fs/buffer.c:924 create_empty_buffers+0x3a/0x740 fs/buffer.c:1650 block_read_full_folio+0x258/0xe10 fs/buffer.c:2365 filemap_read_folio+0x1a0/0x790 mm/filemap.c:2331 do_read_cache_folio+0x134/0x820 mm/filemap.c:3747 do_read_cache_page+0x30/0x200 mm/filemap.c:3813 read_mapping_page include/linux/pagemap.h:888 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_readdir+0x190/0x3e0 fs/sysv/dir.c:92 iterate_dir+0x539/0x6f0 fs/readdir.c:110 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:394 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f864487dea9 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:00007f86456030c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f86449abf80 RCX: 00007f864487dea9 RDX: 0000000000001000 RSI: 0000000020000f80 RDI: 0000000000000005 RBP: 00007f86448ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f86449abf80 R15: 00007fff7ab03d38