INFO: task syz-executor.1:24532 blocked for more than 144 seconds. Not tainted 6.2.0-rc5-syzkaller-00020-g7bf70dbb1882 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28488 pid:24532 ppid:9747 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 rwsem_down_write_slowpath+0x600/0x12e0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write_common kernel/locking/rwsem.c:1302 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563 inode_lock include/linux/fs.h:756 [inline] fuse_flush+0x2c9/0x6b0 fs/fuse/file.c:499 filp_close+0xb8/0x160 fs/open.c:1420 close_fd+0x7a/0xa0 fs/file.c:664 __do_sys_close fs/open.c:1439 [inline] __se_sys_close fs/open.c:1437 [inline] __x64_sys_close+0x33/0xa0 fs/open.c:1437 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff6e763df7b RSP: 002b:00007ffd23354e30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007ff6e763df7b RDX: 0000001b2ca20000 RSI: 00007ff6e7000000 RDI: 0000000000000005 RBP: 00007ff6e77ad980 R08: 0000000000000000 R09: 00000000aa348918 R10: 00007ffd233c3090 R11: 0000000000000293 R12: 0000000000168912 R13: 00007ffd23354f30 R14: 00007ff6e77ac120 R15: 0000000000000032 INFO: task syz-executor.1:24538 blocked for more than 146 seconds. Not tainted 6.2.0-rc5-syzkaller-00020-g7bf70dbb1882 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27496 pid:24538 ppid:9747 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6606 schedule+0xde/0x1b0 kernel/sched/core.c:6682 rwsem_down_write_slowpath+0x600/0x12e0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write_common kernel/locking/rwsem.c:1302 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x1e8/0x220 kernel/locking/rwsem.c:1563 inode_lock include/linux/fs.h:756 [inline] fuse_flush+0x2c9/0x6b0 fs/fuse/file.c:499 filp_close+0xb8/0x160 fs/open.c:1420 close_files fs/file.c:432 [inline] put_files_struct fs/file.c:447 [inline] put_files_struct+0x1d4/0x350 fs/file.c:444 exit_files+0x82/0xb0 fs/file.c:464 copy_process+0x3233/0x7520 kernel/fork.c:2543 kernel_clone+0xeb/0x990 kernel/fork.c:2681 __do_sys_clone3+0x1cd/0x2e0 kernel/fork.c:2980 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff6e768c0c9 RSP: 002b:00007ff6e835e038 EFLAGS: 00000246 ORIG_RAX: 00000000000001b3 RAX: ffffffffffffffda RBX: 00007ff6e77ac050 RCX: 00007ff6e768c0c9 RDX: 0000000000000000 RSI: 0000000000000058 RDI: 00007ff6e835e050 RBP: 00007ff6e76e7ae9 R08: 0000000000000000 R09: 0000000000000058 R10: 00007ff6e835e050 R11: 0000000000000246 R12: 0000000000000058 R13: 00007ffd23354dcf R14: 00007ff6e835e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffffffff8c78dff0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffffffff8c78dcf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffffffff8c78eb40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by getty/4735: #0: ffff88814b465098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900020282f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 5 locks held by kworker/u4:14/14091: #0: ffff8880b993b5d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:537 #1: ffff8880b99287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x930 kernel/sched/psi.c:976 #2: ffff8880b9929618 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:999 #3: ffffffff91e94578 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x132/0x3e0 lib/debugobjects.c:665 #4: ffffffff8c655a68 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x12/0x30 arch/x86/kernel/jump_label.c:145 1 lock held by syz-executor.1/24532: #0: ffff888045bfb250 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff888045bfb250 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: fuse_flush+0x2c9/0x6b0 fs/fuse/file.c:499 1 lock held by syz-executor.1/24533: #0: ffff888045bfb250 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff888045bfb250 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: generic_file_write_iter+0x92/0x350 mm/filemap.c:3929 1 lock held by syz-executor.1/24538: #0: ffff888045bfb250 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff888045bfb250 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: fuse_flush+0x2c9/0x6b0 fs/fuse/file.c:499 3 locks held by kworker/u4:22/26622: 1 lock held by syz-executor.3/27319: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.2.0-rc5-syzkaller-00020-g7bf70dbb1882 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 26622 Comm: kworker/u4:22 Not tainted 6.2.0-rc5-syzkaller-00020-g7bf70dbb1882 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline] RIP: 0010:kasan_check_range+0xe2/0x190 mm/kasan/generic.c:189 Code: 74 f2 48 89 c2 b8 01 00 00 00 48 85 d2 75 56 5b 5d 41 5c c3 48 85 d2 74 5e 48 01 ea eb 09 48 83 c0 01 48 39 d0 74 50 80 38 00 <74> f2 eb d4 41 bc 08 00 00 00 48 89 ea 45 29 dc 4d 8d 1c 2c eb 0c RSP: 0018:ffffc9000b1ef898 EFLAGS: 00000046 RAX: fffffbfff2266158 RBX: fffffbfff2266159 RCX: ffffffff81629ece RDX: fffffbfff2266159 RSI: 0000000000000008 RDI: ffffffff91330ac0 RBP: fffffbfff2266158 R08: 0000000000000000 R09: ffffffff91330ac7 R10: fffffbfff2266158 R11: 0000000000000000 R12: ffff88802e604d08 R13: 0000000000000009 R14: 0000000000000021 R15: ffff88802e604d28 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000204e0030 CR3: 000000007d0e6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:227 [inline] mark_lock.part.0+0xee/0x1910 kernel/locking/lockdep.c:4612 mark_lock kernel/locking/lockdep.c:4598 [inline] mark_usage kernel/locking/lockdep.c:4555 [inline] __lock_acquire+0x8ab/0x56d0 kernel/locking/lockdep.c:5009 lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 rcu_lock_acquire include/linux/rcupdate.h:325 [inline] rcu_read_lock include/linux/rcupdate.h:764 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x131/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308