INFO: task syz-executor.0:13848 blocked for more than 143 seconds. Not tainted 6.9.0-rc6-syzkaller-00022-g98369dccd2f8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26848 pid:13848 tgid:13847 ppid:13022 flags:0x00004006 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 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2256 [inline] path_openat+0x22f/0x2990 fs/namei.c:3795 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_open fs/open.c:1429 [inline] __se_sys_open fs/open.c:1425 [inline] __x64_sys_open+0x154/0x1e0 fs/open.c:1425 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:0x7f7762a7dea9 RSP: 002b:00007f776387a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f7762babf80 RCX: 00007f7762a7dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007f7762aca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7762babf80 R15: 00007ffcf9236738 INFO: task syz-executor.0:13857 blocked for more than 144 seconds. Not tainted 6.9.0-rc6-syzkaller-00022-g98369dccd2f8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28880 pid:13857 tgid:13847 ppid:13022 flags:0x00004006 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:0x7f7762a7dea9 RSP: 002b:00007f77638380c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f7762bac120 RCX: 00007f7762a7dea9 RDX: 0000000000100002 RSI: 0000000020000100 RDI: ffffffffffffff9c RBP: 00007f7762aca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f7762bac120 R15: 00007ffcf9236738 Showing all locks held in the system: 3 locks held by kworker/0:0/7: 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/u8:2/31: 3 locks held by kworker/u8:5/75: 3 locks held by kworker/0:2/783: 2 locks held by getty/4830: #0: ffff88802a70c0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/13848: #0: ffff8880534c8188 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff8880534c8188 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff8880534c8188 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.0/13856: 2 locks held by syz-executor.0/13857: #0: ffff888052a82420 (sb_writers#28){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3555 [inline] #0: ffff888052a82420 (sb_writers#28){.+.+}-{0:0}, at: path_openat+0x1bd7/0x2990 fs/namei.c:3796 #1: ffff8880534c8188 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #1: ffff8880534c8188 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #1: ffff8880534c8188 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: path_openat+0x18ce/0x2990 fs/namei.c:3796 2 locks held by syz-executor.4/14447: 2 locks held by syz-executor.4/14455: #0: ffff888060c5e420 (sb_writers#28){.+.+}-{0:0}, at: open_last_lookups fs/namei.c:3555 [inline] #0: ffff888060c5e420 (sb_writers#28){.+.+}-{0:0}, at: path_openat+0x1bd7/0x2990 fs/namei.c:3796 #1: ffff88805cd056a8 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #1: ffff88805cd056a8 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: open_last_lookups fs/namei.c:3565 [inline] #1: ffff88805cd056a8 (&type->i_mutex_dir_key#27){++++}-{3:3}, at: path_openat+0x18ce/0x2990 fs/namei.c:3796 1 lock held by syz-executor.2/15353: #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.1/15371: 5 locks held by syz-executor.3/15392: 1 lock held by syz-executor.0/15394: #0: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #0: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x682/0x7a0 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor.4/15400: 2 locks held by syz-executor.4/15401: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc6-syzkaller-00022-g98369dccd2f8 #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: 9792 Comm: kworker/u8:12 Not tainted 6.9.0-rc6-syzkaller-00022-g98369dccd2f8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: bat_events batadv_dat_purge RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:61 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:130 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0x4d/0x1a0 mm/kasan/generic.c:189 Code: ff ff ff ff ff 7f ff ff 48 39 f8 0f 83 b3 00 00 00 4c 8d 54 37 ff 48 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 d1 48 c1 ed 03 <49> c1 e9 03 48 01 c5 49 01 c1 48 89 e8 49 8d 59 01 48 89 da 48 29 RSP: 0018:ffffc90003397ba0 EFLAGS: 00000a06 RAX: dffffc0000000000 RBX: ffff888083d89fc0 RCX: ffffffff816c598d RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90003397be8 RBP: 1ffff92000672f7d R08: 0000000000000001 R09: ffffc90003397beb R10: ffffc90003397beb R11: 0000000000000002 R12: ffff888083d89fc8 R13: ffff888083d89fd0 R14: ffffffff8a9dd2e0 R15: 000000000000027f FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31f29000 CR3: 000000000d57a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1301 [inline] queued_spin_lock include/asm-generic/qspinlock.h:111 [inline] do_raw_spin_lock+0x12d/0x2c0 kernel/locking/spinlock_debug.c:116 spin_lock_bh include/linux/spinlock.h:356 [inline] __batadv_dat_purge.part.0+0xfa/0x3b0 net/batman-adv/distributed-arp-table.c:174 __batadv_dat_purge net/batman-adv/distributed-arp-table.c:167 [inline] batadv_dat_purge+0x4b/0xa0 net/batman-adv/distributed-arp-table.c:205 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3429 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