INFO: task syz-executor.4:8651 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.4 state:D stack:25752 pid:8651 tgid:8645 ppid:6691 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] chown_common+0x3e1/0x850 fs/open.c:780 vfs_fchown fs/open.c:858 [inline] ksys_fchown+0xea/0x160 fs/open.c:869 __do_sys_fchown fs/open.c:877 [inline] __se_sys_fchown fs/open.c:875 [inline] __x64_sys_fchown+0x7a/0x90 fs/open.c:875 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:0x7f2f5c47dea9 RSP: 002b:00007f2f5d1df0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000005d RAX: ffffffffffffffda RBX: 00007f2f5c5ac050 RCX: 00007f2f5c47dea9 RDX: 000000000000000a RSI: ffffffffffffffff RDI: 0000000000000007 RBP: 00007f2f5c4ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2f5c5ac050 R15: 00007fff4cd31e68 INFO: task syz-executor.4:8679 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.4 state:D stack:28560 pid:8679 tgid:8645 ppid:6691 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:0x7f2f5c47dea9 RSP: 002b:00007f2f5d1be0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f2f5c5ac120 RCX: 00007f2f5c47dea9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007f2f5c4ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2f5c5ac120 R15: 00007fff4cd31e68 INFO: task syz-executor.4:8680 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.4 state:D stack:28248 pid:8680 tgid:8645 ppid:6691 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] open_last_lookups fs/namei.c:3565 [inline] path_openat+0x7c4/0x3240 fs/namei.c:3796 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:0x7f2f5c47dea9 RSP: 002b:00007f2f5d19d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f2f5c5ac1f0 RCX: 00007f2f5c47dea9 RDX: 0000000000000000 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f2f5c4ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2f5c5ac1f0 R15: 00007fff4cd31e68 INFO: task syz-executor.4:8682 blocked for more than 145 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.4 state:D stack:27448 pid:8682 tgid:8645 ppid:6691 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:0x7f2f5c47c9a7 RSP: 002b:00007f2f5d17bef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f2f5d17bf80 RCX: 00007f2f5c47c9a7 RDX: 00000000000001ff RSI: 0000000020000100 RDI: 00000000ffffff9c RBP: 0000000020000040 R08: 0000000020000300 R09: 0000000000000000 R10: 0000000020000040 R11: 0000000000000246 R12: 0000000020000100 R13: 00007f2f5d17bf40 R14: 0000000000000000 R15: 00000000200001c0 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 1 lock held by khungtaskd/29: #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u8:6/2461: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 3 locks held by kworker/1:2/3075: #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888015080948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc9000ace7d00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc9000ace7d00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8f867ca8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182 2 locks held by getty/4825: #0: ffff8880302800a0 (&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+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 4 locks held by syz-executor.4/8646: 2 locks held by syz-executor.4/8651: #0: ffff888015bd2420 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:453 #1: ffff88807ef28940 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #1: ffff88807ef28940 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: chown_common+0x3e1/0x850 fs/open.c:780 2 locks held by syz-executor.4/8679: #0: ffff888015bd2420 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88807ef28940 (&sb->s_type->i_mutex_key#32/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88807ef28940 (&sb->s_type->i_mutex_key#32/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892 1 lock held by syz-executor.4/8680: #0: ffff88807ef28940 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88807ef28940 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #0: ffff88807ef28940 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: path_openat+0x7c4/0x3240 fs/namei.c:3796 2 locks held by syz-executor.4/8682: #0: ffff888015bd2420 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88807ef28940 (&sb->s_type->i_mutex_key#32/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88807ef28940 (&sb->s_type->i_mutex_key#32/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892 3 locks held by syz-executor.0/9911: 3 locks held by syz-executor.2/10234: 2 locks held by syz-executor.2/10235: #0: ffff888029660420 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write_file+0x61/0x200 fs/namespace.c:453 #1: ffff8880622cb070 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #1: ffff8880622cb070 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: chown_common+0x3e1/0x850 fs/open.c:780 2 locks held by syz-executor.2/10280: #0: ffff888029660420 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880622cb070 (&sb->s_type->i_mutex_key#32/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880622cb070 (&sb->s_type->i_mutex_key#32/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892 1 lock held by syz-executor.2/10282: #0: ffff8880622cb070 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff8880622cb070 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #0: ffff8880622cb070 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: path_openat+0x7c4/0x3240 fs/namei.c:3796 2 locks held by syz-executor.2/10284: #0: ffff888029660420 (sb_writers#32){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff8880622cb070 (&sb->s_type->i_mutex_key#32/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880622cb070 (&sb->s_type->i_mutex_key#32/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3892 3 locks held by syz-executor.3/10785: #0: ffffffff8f867ca8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_write+0x1a9/0x790 net/rfkill/core.c:1297 #1: ffffffff8f594508 (rtnl_mutex){+.+.}-{3:3}, at: cfg80211_rfkill_set_block+0x1e/0x50 net/wireless/core.c:311 #2: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 2 locks held by syz-executor.4/10814: ============================================= NMI backtrace for cpu 1 CPU: 1 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9546 Comm: kworker/u8:9 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:separate_irq_context kernel/locking/lockdep.c:4628 [inline] RIP: 0010:__lock_acquire+0xd44/0x1fd0 kernel/locking/lockdep.c:5121 Code: 24 8b 18 48 85 db 74 59 83 fb 31 0f 83 e1 10 00 00 48 8d 04 9b 48 8b 4c 24 08 48 8d 5c c1 f8 48 89 d8 48 c1 e8 03 0f b6 04 38 <84> c0 0f 85 22 0d 00 00 8b 1b 48 8b 44 24 20 0f b6 04 38 84 c0 0f RSP: 0018:ffffc9000cf578f0 EFLAGS: 00000802 RAX: 0000000000000000 RBX: ffff888028376520 RCX: ffff8880283764d8 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff888028376528 R08: ffffffff92efe507 R09: 1ffffffff25dfca0 R10: dffffc0000000000 R11: fffffbfff25dfca1 R12: a8ac9b4055a99ff2 R13: ffff888028375a00 R14: 0000000000000000 R15: ffff888028376548 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f74b1cd56c6 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