INFO: task syz.4.4304:17120 blocked for more than 143 seconds. Not tainted 6.10.0-rc5-syzkaller-00282-g8282d5af7be8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.4304 state:D stack:24824 pid:17120 tgid:17106 ppid:16282 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 io_schedule+0x8d/0x110 kernel/sched/core.c:9043 folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307 release_metapage+0x8c/0x870 fs/jfs/jfs_metapage.c:764 discard_metapage fs/jfs/jfs_metapage.h:88 [inline] __get_metapage+0xb1d/0x1050 fs/jfs/jfs_metapage.c:644 jfs_readdir+0x2945/0x4660 fs/jfs/jfs_dtree.c:3018 wrap_directory_iterator+0x96/0xe0 fs/readdir.c:67 iterate_dir+0x660/0x820 fs/readdir.c:110 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:394 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9d96775b99 RSP: 002b:00007f9d961ff048 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f9d96904078 RCX: 00007f9d96775b99 RDX: 0000000000001000 RSI: 0000000020000f80 RDI: 0000000000000007 RBP: 00007f9d967f677e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f9d96904078 R15: 00007ffc64b14f58 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4846: #0: ffff88802afd20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:12/5850: 1 lock held by syz.3.1925/10644: 2 locks held by syz.4.4304/17120: #0: ffff88802c5c39c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x310 fs/file.c:1191 #1: ffff8880463ff480 (&type->i_mutex_dir_key#17){++++}-{3:3}, at: wrap_directory_iterator+0x5d/0xe0 fs/readdir.c:56 2 locks held by syz.4.4840/18589: 1 lock held by syz.5.4841/18591: #0: ffffffff8e8a4e88 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree_super fs/btrfs/super.c:1810 [inline] #0: ffffffff8e8a4e88 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree+0x2dc/0x1920 fs/btrfs/super.c:2089 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc5-syzkaller-00282-g8282d5af7be8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 5851 Comm: kworker/u8:13 Not tainted 6.10.0-rc5-syzkaller-00282-g8282d5af7be8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_read_unlock include/linux/rcupdate.h:810 [inline] RIP: 0010:batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] RIP: 0010:batadv_nc_worker+0x209/0x610 net/batman-adv/network-coding.c:719 Code: f6 eb b8 e8 89 ae 45 f6 eb 05 e8 82 ae 45 f6 e8 8d 71 35 00 89 c3 31 ff 89 c6 e8 b2 b2 45 f6 85 db 74 15 e8 59 db 2b f6 84 c0 <74> 18 e8 60 ae 45 f6 48 8b 5c 24 10 eb 65 e8 54 ae 45 f6 48 8b 5c RSP: 0018:ffffc9001541fb58 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffff88802b315a00 RDX: ffff88802b315a00 RSI: ffffffff8c1feb20 RDI: ffffffff8c1feae0 RBP: 0000000000000000 R08: ffffffff8b507bce R09: 1ffffffff25f50b0 R10: dffffc0000000000 R11: fffffbfff25f50b1 R12: ffff8880592a0ca0 R13: 00000000000001f0 R14: ffff888079005100 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a298cf678 CR3: 0000000078090000 CR4: 0000000000350ef0 Call Trace: process_one_work kernel/workqueue.c:3248 [inline] process_scheduled_works+0xa2e/0x1830 kernel/workqueue.c:3329 worker_thread+0x86d/0xd50 kernel/workqueue.c:3409 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244