INFO: task syz-executor.3:7433 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27160 pid:7433 tgid:7414 ppid:7129 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 include/linux/fs.h:795 [inline] vfs_fileattr_set+0x139/0xd50 fs/ioctl.c:682 ioctl_setflags fs/ioctl.c:729 [inline] do_vfs_ioctl+0x2089/0x2e50 fs/ioctl.c:867 __do_sys_ioctl fs/ioctl.c:902 [inline] __se_sys_ioctl+0x81/0x170 fs/ioctl.c:890 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:0x7f3eb867dea9 RSP: 002b:00007f3eb943d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f3eb87ac120 RCX: 00007f3eb867dea9 RDX: 00000000200001c0 RSI: 0000000040086602 RDI: 0000000000000009 RBP: 00007f3eb86ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f3eb87ac120 R15: 00007ffe31185d88 INFO: task syz-executor.3:7434 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28400 pid:7434 tgid:7414 ppid:7129 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_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] lookup_slow+0x45/0x70 fs/namei.c:1708 walk_component fs/namei.c:2004 [inline] link_path_walk+0x9ea/0xea0 fs/namei.c:2331 path_parentat fs/namei.c:2532 [inline] __filename_parentat+0x263/0x6f0 fs/namei.c:2556 filename_parentat fs/namei.c:2574 [inline] filename_create+0xf6/0x540 fs/namei.c:3873 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:0x7f3eb867dea9 RSP: 002b:00007f3eb941c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f3eb87ac1f0 RCX: 00007f3eb867dea9 RDX: 00000000000001ff RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f3eb86ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f3eb87ac1f0 R15: 00007ffe31185d88 INFO: task syz-executor.3:7435 blocked for more than 144 seconds. Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27632 pid:7435 tgid:7414 ppid:7129 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_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] lookup_slow+0x45/0x70 fs/namei.c:1708 walk_component fs/namei.c:2004 [inline] link_path_walk+0x9ea/0xea0 fs/namei.c:2331 path_lookupat+0xa9/0x450 fs/namei.c:2484 do_o_path+0x95/0x230 fs/namei.c:3770 path_openat+0x2aa0/0x3240 fs/namei.c:3792 do_filp_open+0x235/0x490 fs/namei.c:3826 do_sys_openat2+0x13e/0x1d0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1432 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:0x7f3eb867dea9 RSP: 002b:00007f3eb93fb0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3eb87ac2c0 RCX: 00007f3eb867dea9 RDX: 0000000000200002 RSI: 0000000020000280 RDI: ffffffffffffff9c RBP: 00007f3eb86ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f3eb87ac2c0 R15: 00007ffe31185d88 INFO: task syz-executor.3:7436 blocked for more than 144 seconds. Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25112 pid:7436 tgid:7414 ppid:7129 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_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] lookup_slow+0x45/0x70 fs/namei.c:1708 walk_component+0x2e1/0x410 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2485 filename_lookup+0x256/0x610 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_truncate+0xa7/0x190 fs/open.c:132 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:0x7f3eb867dea9 RSP: 002b:00007f3eb93da0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f3eb87ac390 RCX: 00007f3eb867dea9 RDX: 0000000000000000 RSI: 0000000000000fff RDI: 0000000020000000 RBP: 00007f3eb86ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f3eb87ac390 R15: 00007ffe31185d88 Showing all locks held in the system: 4 locks held by kworker/u8:0/10: #0: ffff88801b287148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff88801b287148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc900000f7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc900000f7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffff88806fcee0e0 (&type->s_umount_key#53){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:561 #3: ffff88805be5f0c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x24a/0x590 fs/jfs/inode.c:102 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 2 locks held by getty/4822: #0: ffff88801630f0a0 (&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.3/7432: 2 locks held by syz-executor.3/7433: #0: ffff88806fcee420 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:453 #1: ffff88805be5f480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #1: ffff88805be5f480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: vfs_fileattr_set+0x139/0xd50 fs/ioctl.c:682 1 lock held by syz-executor.3/7434: #0: ffff88805be5f480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805be5f480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 1 lock held by syz-executor.3/7435: #0: ffff88805be5f480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805be5f480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 1 lock held by syz-executor.3/7436: #0: ffff88805be5f480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88805be5f480 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1708 2 locks held by syz-executor.4/7747: #0: ffff88806fcee0e0 (&type->s_umount_key#53){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88806fcee0e0 (&type->s_umount_key#53){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff88801fef87d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:389 [inline] #1: ffff88801fef87d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2781 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #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: 50 Comm: kworker/u8:3 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4774 [inline] RIP: 0010:__lock_acquire+0x5d2/0x1fd0 kernel/locking/lockdep.c:5087 Code: 41 8b 1f 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 00 e5 ef 92 be 08 00 00 00 e8 76 cc 84 00 48 0f a3 1d 9e 5e 7d 11 <73> 22 48 69 c3 c8 00 00 00 48 8d 98 00 44 be 92 48 ba 00 00 00 00 RSP: 0018:ffffc90000ba78f0 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000021 RCX: ffffffff8172865a RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92efe500 RBP: 0000000000000002 R08: ffffffff92efe507 R09: 1ffffffff25dfca0 R10: dffffc0000000000 R11: fffffbfff25dfca1 R12: 0000000000000000 R13: ffff88801d2c3c00 R14: 000000000000000a R15: ffff88801d2c4748 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb9e1fa2866 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 rcu_lock_acquire include/linux/rcupdate.h:329 [inline] rcu_read_lock include/linux/rcupdate.h:781 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 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