INFO: task syz-executor.3:16884 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00385-g4854cf9c61d0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25712 pid:16884 tgid:16883 ppid:5092 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 request_wait_answer fs/fuse/dev.c:407 [inline] __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x1192/0x1b80 fs/fuse/dev.c:513 fuse_lookup_name+0x332/0x830 fs/fuse/dir.c:386 fuse_lookup+0x182/0x600 fs/fuse/dir.c:425 fuse_atomic_open+0x19e/0x8a0 fs/fuse/dir.c:731 atomic_open fs/namei.c:3359 [inline] lookup_open fs/namei.c:3467 [inline] open_last_lookups fs/namei.c:3565 [inline] path_openat+0xe5f/0x31e0 fs/namei.c:3795 do_filp_open+0x234/0x490 fs/namei.c:3825 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_open fs/open.c:1427 [inline] __se_sys_open fs/open.c:1423 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1423 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f833ac7cda9 RSP: 002b:00007f833b9330c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f833adabf80 RCX: 00007f833ac7cda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020004280 RBP: 00007f833acc947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f833adabf80 R15: 00007ffe58481358 INFO: task syz-executor.3:16886 blocked for more than 144 seconds. Not tainted 6.8.0-rc1-syzkaller-00385-g4854cf9c61d0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27856 pid:16886 tgid:16883 ppid:5092 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 d_wait_lookup fs/dcache.c:2449 [inline] d_alloc_parallel+0xc1a/0x1600 fs/dcache.c:2531 lookup_open fs/namei.c:3421 [inline] open_last_lookups fs/namei.c:3565 [inline] path_openat+0x913/0x31e0 fs/namei.c:3795 do_filp_open+0x234/0x490 fs/namei.c:3825 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404 do_sys_open fs/open.c:1419 [inline] __do_sys_open fs/open.c:1427 [inline] __se_sys_open fs/open.c:1423 [inline] __x64_sys_open+0x225/0x270 fs/open.c:1423 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f833ac7cda9 RSP: 002b:00007f833b9120c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f833adac050 RCX: 00007f833ac7cda9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020004280 RBP: 00007f833acc947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f833adac050 R15: 00007ffe58481358 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u4:8/2421: 2 locks held by getty/4808: #0: ffff88802a19e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-fuzzer/5090: 2 locks held by syz-executor.3/16884: #0: ffff88807a1bbe10 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88807a1bbe10 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: open_last_lookups fs/namei.c:3564 [inline] #0: ffff88807a1bbe10 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: path_openat+0x7b3/0x31e0 fs/namei.c:3795 #1: ffff88807a1bc288 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xd3/0x120 fs/fuse/inode.c:544 1 lock held by syz-executor.3/16886: #0: ffff88807a1bbe10 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #0: ffff88807a1bbe10 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: open_last_lookups fs/namei.c:3564 [inline] #0: ffff88807a1bbe10 (&type->i_mutex_dir_key#18){++++}-{3:3}, at: path_openat+0x7b3/0x31e0 fs/namei.c:3795 1 lock held by syz-executor.1/18884: #0: ffff8880907e4420 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:453 2 locks held by syz-executor.2/18940: 4 locks held by syz-executor.4/18944: #0: ffff88802d5f8ac8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x258/0x320 fs/file.c:1191 #1: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #1: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #1: ffffffff8d92f120 (rcu_read_lock){....}-{1:2}, at: __pte_offset_map+0x82/0x380 mm/pgtable-generic.c:285 #2: ffff8880b983c0d8 (&pool->lock){-.-.}-{2:2}, at: __queue_work+0x71f/0x1000 #3: ffff88801e28e338 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:553 [inline] #3: ffff88801e28e338 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xaf/0x1460 kernel/sched/core.c:4253 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00385-g4854cf9c61d0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 18940 Comm: syz-executor.2 Not tainted 6.8.0-rc1-syzkaller-00385-g4854cf9c61d0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x60 kernel/kcov.c:207 Code: a0 c0 74 7e 65 8b 15 a1 c0 74 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 fc 15 00 00 00 74 2c 8b 91 d8 15 00 00 <83> fa 02 75 21 48 8b 91 e0 15 00 00 48 8b 32 48 8d 7e 01 8b 89 dc RSP: 0018:ffffc9001f21f7b8 EFLAGS: 00000246 RAX: ffffffff81cc70f4 RBX: 0000000000000cc0 RCX: ffff888028b79dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9001f21f8b0 R08: ffffffff81cc705f R09: 1ffffffff1e0489d R10: dffffc0000000000 R11: fffffbfff1e0489e R12: ffffea0001349900 R13: 1ffff92003e43f08 R14: ffff88802c199bc0 R15: 0000000000000000 FS: 00007f62f8bc46c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056276eb8bea8 CR3: 00000000895aa000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shmem_alloc_and_add_folio+0x434/0xde0 mm/shmem.c:1678 shmem_get_folio_gfp+0x7c3/0x1ee0 mm/shmem.c:2052 shmem_get_folio mm/shmem.c:2134 [inline] shmem_write_begin+0x170/0x4c0 mm/shmem.c:2717 generic_perform_write+0x31b/0x630 mm/filemap.c:3930 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2893 call_write_iter include/linux/fs.h:2085 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa74/0xca0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f62f7e7baef Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48 RSP: 002b:00007f62f8bc3e80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f62f7e7baef RDX: 0000000001000000 RSI: 00007f62ee200000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000559b R10: 0000000020005b02 R11: 0000000000000293 R12: 0000000000000003 R13: 00007f62f8bc3f80 R14: 00007f62f8bc3f40 R15: 00007f62ee200000