INFO: task kworker/0:1:9 blocked for more than 143 seconds.
Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1 state:D stack:26376 pid:9 ppid:2 flags:0x00004000
Workqueue: events_long flush_mdb
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
io_schedule+0xbe/0x130 kernel/sched/core.c:8979
bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0x11f/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0xd9/0x110 kernel/sched/wait_bit.c:117
wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline]
__lock_buffer+0x66/0x70 fs/buffer.c:70
lock_buffer include/linux/buffer_head.h:406 [inline]
hfs_mdb_commit+0x999/0x1280 fs/hfs/mdb.c:325
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2408
process_scheduled_works kernel/workqueue.c:2471 [inline]
worker_thread+0x830/0x10c0 kernel/workqueue.c:2560
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.0:16940 blocked for more than 143 seconds.
Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27176 pid:16940 ppid:5038 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
__flush_work+0x595/0xb60 kernel/workqueue.c:3192
hfs_file_fsync+0x108/0x1a0 fs/hfs/inode.c:683
vfs_fsync_range fs/sync.c:188 [inline]
vfs_fsync fs/sync.c:202 [inline]
do_fsync fs/sync.c:212 [inline]
__do_sys_fdatasync fs/sync.c:225 [inline]
__se_sys_fdatasync fs/sync.c:223 [inline]
__x64_sys_fdatasync+0xcf/0x140 fs/sync.c:223
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:0x7fc39068c389
RSP: 002b:00007fc39144d168 EFLAGS: 00000246 ORIG_RAX: 000000000000004b
RAX: ffffffffffffffda RBX: 00007fc3907ac050 RCX: 00007fc39068c389
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007fc3906d7493 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffeda84700f R14: 00007fc39144d300 R15: 0000000000022000
Showing all locks held in the system:
2 locks held by kworker/0:1/9:
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012471538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2379
#1: ffffc900000e7db0 ((work_completion)(&(&sbi->mdb_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2383
3 locks held by kworker/u4:0/10:
#0: ffff888012ab7138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012ab7138 ((wq_completion)writeback){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012ab7138 ((wq_completion)writeback){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012ab7138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012ab7138 ((wq_completion)writeback){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012ab7138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2379
#1: ffffc900000f7db0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2383
#2: ffff8880142760e0 (&type->s_umount_key#40){.+.+}-{3:3}, at: trylock_super+0x21/0x110 fs/super.c:414
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c797bf0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c7978f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8c798800 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559
2 locks held by getty/4756:
#0: ffff8880283db098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf02/0x13f0 drivers/tty/n_tty.c:2176
4 locks held by kworker/1:4/5092:
#0: ffff8880b993c458 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:558
#1: ffff8880b9928848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x950 kernel/sched/psi.c:996
#2: ffffffff9208abb0 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:1020 [inline]
#2: ffffffff9208abb0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xcb/0x420 lib/debugobjects.c:1063
#3: ffff8880b9929718 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x69c/0xe80 kernel/time/timer.c:1112
1 lock held by syz-executor.0/16940:
#0: ffff8880943577a8 (&sb->s_type->i_mutex_key#27){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:771 [inline]
#0: ffff8880943577a8 (&sb->s_type->i_mutex_key#27){+.+.}-{3:3}, at: hfs_file_fsync+0xa3/0x1a0 fs/hfs/inode.c:676
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:379
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: 5383 Comm: kworker/u4:16 Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__local_bh_enable_ip+0x8e/0x130 kernel/softirq.c:376
Code: c4 02 75 5a 65 8b 05 49 d3 b5 7e 25 00 ff 00 00 3d 00 02 00 00 74 4e 83 eb 01 f7 db 65 01 1d 31 d3 b5 7e 65 8b 05 2a d3 b5 7e 00 ff ff 00 74 45 bf 01 00 00 00 e8 a1 53 0a 00 e8 4c 35 3d 00
RSP: 0018:ffffc90005d07c08 EFLAGS: 00000083
RAX: 0000000080000001 RBX: 00000000fffffe00 RCX: 1ffffffff23c1880
RDX: 0000000000000000 RSI: 0000000000000201 RDI: 0000000000000000
RBP: ffffffff89dccc0c R08: 0000000000000000 R09: ffffffff8e7af697
R10: fffffbfff1cf5ed2 R11: 1ffffffff18f46a9 R12: ffff88808234d7a8
R13: ffff88808234cc80 R14: dffffc0000000000 R15: ffffffff89dcce00
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c001d69000 CR3: 00000000294ea000 CR4: 0000000000350ee0
Call Trace:
spin_unlock_bh include/linux/spinlock.h:395 [inline]
batadv_nc_purge_paths+0x1cc/0x3c0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x931/0xfe0 net/batman-adv/network-coding.c:722
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2408
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2555
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308