INFO: task syz-executor.1:20590 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:26704 pid:20590 tgid:20589 ppid:5090 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 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+0x1198/0x1b90 fs/fuse/dev.c:513 fuse_dentry_revalidate+0x524/0xbc0 fs/fuse/dir.c:233 d_revalidate fs/namei.c:862 [inline] __lookup_slow+0x1bb/0x3f0 fs/namei.c:1682 lookup_slow+0x53/0x70 fs/namei.c:1710 walk_component+0x2e1/0x410 fs/namei.c:2005 lookup_last fs/namei.c:2462 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2486 filename_lookup+0x255/0x610 fs/namei.c:2515 vfs_statx+0x105/0x4e0 fs/stat.c:244 do_statx fs/stat.c:681 [inline] __do_sys_statx fs/stat.c:708 [inline] __se_sys_statx fs/stat.c:699 [inline] __x64_sys_statx+0x1a4/0x240 fs/stat.c:699 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7efd3067dda9 RSP: 002b:00007efd314630c8 EFLAGS: 00000246 ORIG_RAX: 000000000000014c RAX: ffffffffffffffda RBX: 00007efd307abf80 RCX: 00007efd3067dda9 RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007efd306ca47a R08: 00000000200065c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007efd307abf80 R15: 00007ffe87b7f9f8 INFO: task syz-executor.1:20592 blocked for more than 143 seconds. Not tainted 6.8.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24080 pid:20592 tgid:20589 ppid:5090 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x49a0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:839 [inline] filename_create+0x260/0x540 fs/namei.c:3895 do_mkdirat+0xbd/0x3a0 fs/namei.c:4141 __do_sys_mkdirat fs/namei.c:4164 [inline] __se_sys_mkdirat fs/namei.c:4162 [inline] __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4162 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7efd3067c8a7 RSP: 002b:00007efd31441ef8 EFLAGS: 00000202 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007efd31441f80 RCX: 00007efd3067c8a7 RDX: 00000000000001ff RSI: 0000000020000140 RDI: 00000000ffffff9c RBP: 0000000020000200 R08: 0000000000000000 R09: 00000000000001c5 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000140 R13: 00007efd31441f40 R14: 00000000000001cb R15: 0000000020000500 Showing all locks held in the system: 1 lock held by ksoftirqd/1/22: #0: ffff8880b953c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 1 lock held by khungtaskd/29: #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e130be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by kworker/u4:3/49: #0: ffff8880b953c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 2 locks held by getty/4817: #0: ffff88802a5750a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.2/5092: #0: ffff88808cd660e0 (&type->s_umount_key#75){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88808cd660e0 (&type->s_umount_key#75){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88808cd660e0 (&type->s_umount_key#75){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 1 lock held by syz-executor.1/20590: #0: ffff888034193090 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff888034193090 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.1/20592: #0: ffff88802cbe0420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888034193090 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888034193090 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 1 lock held by syz-executor.3/20817: #0: ffff8880341944d0 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff8880341944d0 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.3/20818: #0: ffff888038e9a420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880341944d0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff8880341944d0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 1 lock held by syz-executor.0/20858: #0: ffff888034194b90 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff888034194b90 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.0/20860: #0: ffff888024bc2420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888034194b90 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888034194b90 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 3 locks held by kworker/1:3/20953: #0: ffff888014c78938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888014c78938 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900043a7d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900043a7d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff888021886240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 1 lock held by syz-executor.1/21145: #0: ffff8880340d5250 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff8880340d5250 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.1/21152: #0: ffff888029c26420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880340d5250 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff8880340d5250 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 1 lock held by syz-executor.0/21477: #0: ffff888034195910 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff888034195910 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.0/21485: #0: ffff88801e2a4420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888034195910 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888034195910 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 1 lock held by syz-executor.3/21475: #0: ffff888034195250 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff888034195250 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.3/21487: #0: ffff88801574a420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888034195250 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888034195250 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 1 lock held by syz-executor.1/21780: #0: ffff888034196690 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff888034196690 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.1/21788: #0: ffff88802c6da420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888034196690 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888034196690 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 1 lock held by syz-executor.3/22173: #0: ffff888034196d50 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff888034196d50 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.3/22174: #0: ffff888083eee420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888034196d50 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888034196d50 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 1 lock held by syz-executor.0/22181: #0: ffff8880340d5fd0 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff8880340d5fd0 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.0/22183: #0: ffff88804cf60420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880340d5fd0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff8880340d5fd0 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 1 lock held by syz-executor.1/22233: #0: ffff888034197410 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:814 [inline] #0: ffff888034197410 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1709 2 locks held by syz-executor.1/22235: #0: ffff888046470420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff888034197410 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:839 [inline] #1: ffff888034197410 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3895 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106 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:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 40 Comm: kworker/u4:2 Not tainted 6.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__preempt_count_add kernel/rcu/tree.c:696 [inline] RIP: 0010:rcu_is_watching+0x6/0xb0 kernel/rcu/tree.c:699 Code: 56 03 e9 2b ff ff ff e8 e8 8b e3 09 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 <41> 56 53 65 ff 05 e8 ec 88 7e e8 eb a9 e3 09 89 c3 83 f8 08 73 7a RSP: 0018:ffffc90000b0fb88 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff88807f929780 RCX: ffff88801bacd940 RDX: ffff88801bacd940 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff88804caf9b48 R08: ffffffff8b2b1211 R09: 1ffffffff258b084 R10: dffffc0000000000 R11: fffffbfff258b085 R12: ffff88802b4c0c80 R13: 0000000000000369 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555648e978 CR3: 000000000df32000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:751 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x10b/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 kthread+0x2ef/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:243