INFO: task syz.2.377:7849 blocked for more than 143 seconds.
Not tainted 6.16.0-rc5-syzkaller-00121-gbc9ff192a6c9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.377 state:D stack:27048 pid:7849 tgid:7848 ppid:5837 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5401 [inline]
__schedule+0x116a/0x5de0 kernel/sched/core.c:6790
__schedule_loop kernel/sched/core.c:6868 [inline]
schedule+0xe7/0x3a0 kernel/sched/core.c:6883
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6940
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0x6c7/0xb90 kernel/locking/mutex.c:747
sync_bdevs+0xfd/0x360 block/bdev.c:1288
ksys_sync+0xb2/0x150 fs/sync.c:105
__do_sys_sync+0xe/0x20 fs/sync.c:113
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f615db8e929
RSP: 002b:00007f615e947038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f615ddb5fa0 RCX: 00007f615db8e929
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f615ddb5fa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f615ddb5fa0 R15: 00007ffd5b2b8768
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8e5c4e80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e5c4e80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e5c4e80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6770
1 lock held by klogd/5192:
#0: ffff8880b843a2d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:614 [inline]
#0: ffff8880b843a2d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:599
2 locks held by getty/5595:
#0: ffff8880322020a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222
1 lock held by udevd/5976:
#0: ffff88802675b358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe40 block/bdev.c:945
1 lock held by udevd/6687:
#0: ffff888026668358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0x41a/0xe40 block/bdev.c:945
1 lock held by syz.2.377/7849:
#0: ffff888026668358 (&disk->open_mutex){+.+.}-{4:4}, at: sync_bdevs+0xfd/0x360 block/bdev.c:1288
6 locks held by syz.5.427/8049:
#0: ffff88802b6682b8 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x2a2/0x370 fs/file.c:1217
#1: ffff888031f7c428 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12a/0x250 fs/read_write.c:738
#2: ffff888055871488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x28f/0x510 fs/kernfs/file.c:325
#3: ffff888140a88878 (kn->active#66){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2b2/0x510 fs/kernfs/file.c:326
#4: ffffffff8e488368 (system_transition_mutex){+.+.}-{4:4}, at: software_resume+0x65/0x4e0 kernel/power/hibernate.c:1012
#5: ffff888026668358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xa2/0xe40 block/bdev.c:945
1 lock held by syz-executor/8340:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
2 locks held by syz.0.509/8464:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
#1: ffffffff8e488368 (system_transition_mutex){+.+.}-{4:4}, at: lock_system_sleep+0x87/0xa0 kernel/power/main.c:56
1 lock held by syz.3.511/8473:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz.4.515/8487:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz.6.516/8490:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8493:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8495:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8498:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8499:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8505:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8511:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8513:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8515:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8517:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
1 lock held by syz-executor/8523:
#0: ffffffff8f302e68 (misc_mtx){+.+.}-{4:4}, at: misc_open+0x63/0x420 drivers/char/misc.c:125
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc5-syzkaller-00121-gbc9ff192a6c9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
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:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline]
watchdog+0xf70/0x12c0 kernel/hung_task.c:470
kthread+0x3c5/0x780 kernel/kthread.c:464
ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 1301 Comm: kworker/u8:5 Not tainted 6.16.0-rc5-syzkaller-00121-gbc9ff192a6c9 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:hlock_class+0x13/0x70 kernel/locking/lockdep.c:234
Code: 00 00 00 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f b7 47 20 66 25 ff 1f 0f b7 c0 48 0f a3 05 fd 58 3f 14 <73> 15 48 8d 04 80 48 8d 04 80 48 8d 04 c5 20 79 d7 95 c3 cc cc cc
RSP: 0018:ffffc90004aaf9e0 EFLAGS: 00000003
RAX: 0000000000000007 RBX: 0000000000000002 RCX: 0000000000020000
RDX: 0000000000000007 RSI: 0000000000000000 RDI: ffff888028c82f80
RBP: ffff888028c82440 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000050 R11: 0000000000000001 R12: ffff888028c82f30
R13: ffff888028c82f80 R14: 0000000000000003 R15: ffffffff8e5c4e80
FS: 0000000000000000(0000) GS:ffff888124815000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559da5280b40 CR3: 000000000e382000 CR4: 00000000003526f0
Call Trace:
check_wait_context kernel/locking/lockdep.c:4858 [inline]
__lock_acquire+0x249/0x1c90 kernel/locking/lockdep.c:5190
lock_acquire kernel/locking/lockdep.c:5871 [inline]
lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5828
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock include/linux/rcupdate.h:841 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline]
batadv_nc_worker+0x16a/0x1030 net/batman-adv/network-coding.c:719
process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3321 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
kthread+0x3c5/0x780 kernel/kthread.c:464
ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245