INFO: task kworker/0:0:7 blocked for more than 143 seconds. Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:21312 pid:7 ppid:2 flags:0x00004000 Workqueue: events_long flush_mdb Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 io_schedule+0x83/0x100 kernel/sched/core.c:8868 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbb/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1c3/0x240 kernel/sched/wait_bit.c:117 lock_buffer include/linux/buffer_head.h:397 [inline] hfs_mdb_commit+0x115/0xf80 fs/hfs/mdb.c:271 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.2:5111 blocked for more than 143 seconds. Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:18288 pid:5111 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 io_schedule+0x83/0x100 kernel/sched/core.c:8868 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbb/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1c3/0x240 kernel/sched/wait_bit.c:117 lock_buffer include/linux/buffer_head.h:397 [inline] hfs_mdb_commit+0xacd/0xf80 fs/hfs/mdb.c:325 hfs_sync_fs+0x11/0x20 fs/hfs/super.c:35 sync_filesystem+0xe8/0x220 fs/sync.c:56 generic_shutdown_super+0x6b/0x310 fs/super.c:474 kill_block_super+0x79/0xd0 fs/super.c:1386 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1291 task_work_run+0x243/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f74a5e8d537 RSP: 002b:00007ffe7f45fe88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f74a5e8d537 RDX: 00007ffe7f45ff5b RSI: 000000000000000a RDI: 00007ffe7f45ff50 RBP: 00007ffe7f45ff50 R08: 00000000ffffffff R09: 00007ffe7f45fd20 R10: 0000555556f95873 R11: 0000000000000246 R12: 00007f74a5ee6b24 R13: 00007ffe7f461010 R14: 0000555556f95810 R15: 00007ffe7f461050 Showing all locks held in the system: 2 locks held by kworker/0:0/7: #0: ffff888012871538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900000c7d00 ((work_completion)(&(&sbi->mdb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d327010 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327810 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d326e40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4751: #0: ffff88802850a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.2/5111: #0: ffff888075e020e0 (&type->s_umount_key#82){+.+.}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 5 locks held by kworker/u4:12/14530: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #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+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 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+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14530 Comm: kworker/u4:12 Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:cpu_max_bits_warn include/linux/cpumask.h:110 [inline] RIP: 0010:cpumask_check include/linux/cpumask.h:117 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:444 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:1030 [inline] RIP: 0010:trace_lock_acquire+0x3d/0x260 include/trace/events/lock.h:24 Code: 75 8c 98 7e 48 c7 c0 78 9a 96 8e 48 c1 e8 03 48 bb 00 00 00 00 00 fc ff df 8a 04 18 84 c0 0f 85 be 00 00 00 39 2d 7b 8e 2b 0d <0f> 86 a4 00 00 00 89 ed 48 89 e8 48 c1 e8 06 48 8d 3c c5 68 98 96 RSP: 0018:ffffc90016ed7a38 EFLAGS: 00000202 RAX: 1ffffffff1d2d300 RBX: dffffc0000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d326e40 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff1d2d30e R11: 1ffffffff1d2d30d R12: dffffc0000000000 R13: 1ffff92002ddaf54 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0147681b0 CR3: 000000000d08e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0xa4/0x3c0 kernel/locking/lockdep.c:5639 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:325 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+0xc8/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308