INFO: task syz.1.212:7582 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.1.212 state:D stack:27912 pid:7582 tgid:7564 ppid:5836 task_flags:0x400040 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5401 [inline]
__schedule+0x16a2/0x4cb0 kernel/sched/core.c:6790
__schedule_loop kernel/sched/core.c:6868 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6883
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6940
rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:869 [inline]
open_last_lookups fs/namei.c:3813 [inline]
path_openat+0x8da/0x3830 fs/namei.c:4052
do_filp_open+0x1fa/0x410 fs/namei.c:4082
do_sys_openat2+0x121/0x1c0 fs/open.c:1437
do_sys_open fs/open.c:1452 [inline]
__do_sys_creat fs/open.c:1530 [inline]
__se_sys_creat fs/open.c:1524 [inline]
__x64_sys_creat+0x8f/0xc0 fs/open.c:1524
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd9a018e929
RSP: 002b:00007fd99db71038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007fd9a03b6240 RCX: 00007fd9a018e929
RDX: 0000000000000000 RSI: 000000000000002c RDI: 0000200000000280
RBP: 00007fd9a0210b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fd9a03b6240 R15: 00007ffd59f5f338
Showing all locks held in the system:
2 locks held by kworker/0:0/9:
1 lock held by khungtaskd/31:
#0: ffffffff8e13f160 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e13f160 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e13f160 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770
4 locks held by kworker/u8:3/49:
#0: ffff88803110d148 ((wq_completion)xfs_iwalk-9319){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88803110d148 ((wq_completion)xfs_iwalk-9319){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc90000b97bc0 ((work_completion)(&pwork->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc90000b97bc0 ((work_completion)(&pwork->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffff88807c218618 (sb_internal#2){.+.+}-{0:0}, at: xfs_dquot_disk_alloc+0x2ba/0xb40 fs/xfs/xfs_dquot.c:358
#3: ffff88805a942f98 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_dquot_disk_alloc+0x2e7/0xb40 fs/xfs/xfs_dquot.c:363
2 locks held by kworker/u8:6/3006:
2 locks held by kworker/u8:7/3449:
#0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc9000bf07bc0 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000bf07bc0 (connector_reaper_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
2 locks held by kworker/u8:9/3502:
#0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc9000c2a7bc0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000c2a7bc0 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
4 locks held by kworker/u8:10/3585:
#0: ffff888140aab148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888140aab148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321
#1: ffffc9000c697bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000c697bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321
#2: ffff888028cb40e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563
#3: ffff88805a95d4c0 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530 fs/jfs/inode.c:102
2 locks held by getty/5595:
#0: ffff88814cb0e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000333b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
2 locks held by udevd/5964:
1 lock held by udevd/7380:
4 locks held by syz.1.212/7580:
2 locks held by syz.1.212/7582:
#0: ffff888028cb4428 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff88805a95d870 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline]
#1: ffff88805a95d870 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: open_last_lookups fs/namei.c:3813 [inline]
#1: ffff88805a95d870 (&type->i_mutex_dir_key#12){++++}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4052
1 lock held by syz.0.441/9319:
#0: ffff88807c2180e0 (&type->s_umount_key#55/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970 fs/super.c:345
2 locks held by syz.7.444/9327:
2 locks held by syz.8.445/9333:
2 locks held by syz.6.447/9355:
2 locks held by sed/9363:
=============================================
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_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/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+0xfee/0x1030 kernel/hung_task.c:470
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 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: 3006 Comm: kworker/u8:6 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:__lock_acquire+0x80c/0xd20 kernel/locking/lockdep.c:-1
Code: d2 e9 c4 00 00 00 48 c7 c7 70 05 01 8e 48 89 de e8 b9 d4 51 03 eb c2 44 89 e0 25 ff 1f 00 00 41 c1 ec 03 41 81 e4 00 60 00 00 <41> 09 c4 4c 89 f9 48 c1 e9 20 89 ca c1 c2 04 41 29 cc 44 31 e2 44
RSP: 0018:ffffc9000ba278f0 EFLAGS: 00000006
RAX: 0000000000000007 RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88802fbd6540 RDI: ffff88802fbd5a00
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8b35e1f2
R10: dffffc0000000000 R11: ffffffff8b35e120 R12: 0000000000004000
R13: ffff88802fbd64f0 R14: ffff88802fbd6540 R15: 626ea1c19c6b862b
FS: 0000000000000000(0000) GS:ffff888125d4f000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd60cc9fb0 CR3: 000000000df38000 CR4: 00000000003526f0
Call Trace:
lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5871
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+0xef/0x610 net/batman-adv/network-coding.c:719
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x711/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245