INFO: task syz-executor.0:6937 blocked for more than 144 seconds. Not tainted 6.9.0-rc5-syzkaller-00329-g5d12ed4bea43 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28512 pid:6937 tgid:6934 ppid:6144 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3689 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x1ff/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f261c07dea9 RSP: 002b:00007f261cdce0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f261c1ac050 RCX: 00007f261c07dea9 RDX: 0000000020002100 RSI: 00000000200020c0 RDI: 0000000000000000 RBP: 00007f261c0ca4a4 R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f261c1ac050 R15: 00007ffd7a6e1068 INFO: task syz-executor.0:6938 blocked for more than 145 seconds. Not tainted 6.9.0-rc5-syzkaller-00329-g5d12ed4bea43 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29088 pid:6938 tgid:6934 ppid:6144 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] open_last_lookups fs/namei.c:3565 [inline] path_openat+0x18ce/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 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+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f261c07dea9 RSP: 002b:00007f261cdad0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f261c1ac120 RCX: 00007f261c07dea9 RDX: 0000000000020c01 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f261c0ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f261c1ac120 R15: 00007ffd7a6e1068 INFO: task syz-executor.0:6939 blocked for more than 146 seconds. Not tainted 6.9.0-rc5-syzkaller-00329-g5d12ed4bea43 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29376 pid:6939 tgid:6934 ppid:6144 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:795 [inline] open_last_lookups fs/namei.c:3563 [inline] path_openat+0x8c7/0x2990 fs/namei.c:3796 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_sys_openat2+0x17a/0x1e0 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+0x175/0x210 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f261c07dea9 RSP: 002b:00007f261cd8c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f261c1ac1f0 RCX: 00007f261c07dea9 RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007f261c0ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f261c1ac1f0 R15: 00007ffd7a6e1068 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 ( rcu_read_lock){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] , at: rcu_read_lock include/linux/rcupdate.h:781 [inline] , at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 4 locks held by kworker/u8:2/34: #0: ffff888015ecb148 ( (wq_completion)netns ){+.+.}-{0:0} , at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3229 #1: ffffc90000aa7d80 (net_cleanup_work ){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3230 #2: ffffffff8f2ec6d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:591 #3: ffffffff8f3014c8 (rtnl_mutex){+.+.}-{3:3}, at: wiphy_unregister+0x142/0xbc0 net/wireless/core.c:1096 2 locks held by getty/4830: #0: ffff88802a9670a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 3 locks held by kworker/u9:3/5091: #0: ffff8880227fd948 ( (wq_completion)hci2 ){+.+.}-{0:0} , at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3229 #1: ffffc90003707d80 ((work_completion)(&hdev->cmd_sync_work) ){+.+.}-{0:0} , at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3230 #2: ffff888069709060 ( &hdev->req_lock ){+.+.}-{3:3} , at: hci_cmd_sync_work+0x170/0x410 net/bluetooth/hci_sync.c:309 3 locks held by kworker/1:4/5134: #0: ffff888015080948 ( (wq_completion)events){+.+.}-{0:0} , at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3229 #1: ffffc9000393fd80 ( (linkwatch_work).work ){+.+.}-{0:0} , at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3230 #2: ffffffff8f3014c8 ( rtnl_mutex ){+.+.}-{3:3} , at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276 2 locks held by syz-executor.0/6935: 1 lock held by syz-executor.0/6937: #0: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.0/6938: #0: ffff88807c346420 (sb_writers#28){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3555 [inline] #0: ffff88807c346420 (sb_writers#28){.+.+}-{0:0}, at: path_openat+0x1bd7/0x2990 fs/namei.c:3796 #1: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #1: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #1: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: path_openat+0x18ce/0x2990 fs/namei.c:3796 2 locks held by syz-executor.0/6939: #0: ffff88807c346420 (sb_writers#28){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3555 [inline] #0: ffff88807c346420 (sb_writers#28){.+.+}-{0:0}, at: path_openat+0x19a7/0x2990 fs/namei.c:3796 #1: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #1: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: open_last_lookups fs/namei.c:3563 [inline] #1: ffff888078f74188 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: path_openat+0x8c7/0x2990 fs/namei.c:3796 1 lock held by syz-executor.3/8381: #0: ffffffff8f3014c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8f3014c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.4/8424: #0: ffffffff8f3014c8 (rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.2/8470: #0: ffffffff8f3014c8 (rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:79 [inline] , at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 1 lock held by syz-executor.1/8961: #0: ffffffff8d7bc400 (rcu_state.barrier_mutex ){+.+.}-{3:3} , at: rcu_barrier+0x48/0x6c0 kernel/rcu/tree.c:4073 1 lock held by syz-executor.0/8990: #0: ffffffff8f3014c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] ffffffff8f3014c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00329-g5d12ed4bea43 #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+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/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: 10 Comm: kworker/u8:0 Not tainted 6.9.0-rc5-syzkaller-00329-g5d12ed4bea43 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] RIP: 0010:lock_release+0x391/0x6c0 kernel/locking/lockdep.c:5776 Code: 85 6f 02 00 00 0b 05 ce bc ff 12 0f 84 87 01 00 00 48 c7 c7 00 b1 0c 8b e8 1c b7 6f 09 b8 ff ff ff ff 65 0f c1 05 57 ad 96 7e <83> f8 01 0f 85 f5 01 00 00 9c 58 f6 c4 02 0f 85 e0 01 00 00 48 f7 RSP: 0018:ffffc900000f7ad0 EFLAGS: 00000057 RAX: 0000000000000001 RBX: e1f798a9b7ddc1f7 RCX: ffffc900000f7b20 RDX: 1ffff11002ddc519 RSI: ffffffff8b0cb100 RDI: ffffffff8b6f55a0 RBP: 1ffff9200001ef5c R08: 0000000000000000 R09: fffffbfff1f3e922 R10: ffffffff8f9f4917 R11: 0000000000000002 R12: 0000000000000002 R13: 0000000000000003 R14: ffff888016ee28d0 R15: ffff888016ee1e00 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04a08915f8 CR3: 000000000d57a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:339 [inline] rcu_read_unlock include/linux/rcupdate.h:814 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x8f3/0x10f0 net/batman-adv/network-coding.c:719 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244