INFO: task kworker/u4:8:3868 blocked for more than 143 seconds.
Not tainted 5.15.164-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:8 state:D stack:20928 pid: 3868 ppid: 2 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:2)
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
schedule+0x11b/0x1f0 kernel/sched/core.c:6459
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
__mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
jfs_commit_inode+0x242/0x580 fs/jfs/inode.c:102
jfs_write_inode+0x13f/0x210 fs/jfs/inode.c:132
write_inode fs/fs-writeback.c:1495 [inline]
__writeback_single_inode+0x644/0xe30 fs/fs-writeback.c:1705
writeback_sb_inodes+0xbce/0x1a40 fs/fs-writeback.c:1930
__writeback_inodes_wb+0x114/0x400 fs/fs-writeback.c:2001
wb_writeback+0x465/0xc50 fs/fs-writeback.c:2106
wb_check_background_flush fs/fs-writeback.c:2172 [inline]
wb_do_writeback fs/fs-writeback.c:2260 [inline]
wb_workfn+0xd07/0x1130 fs/fs-writeback.c:2288
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
INFO: task syz.2.625:7158 blocked for more than 143 seconds.
Not tainted 5.15.164-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.625 state:D stack:28496 pid: 7158 ppid: 6393 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5030 [inline]
__schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
schedule+0x11b/0x1f0 kernel/sched/core.c:6459
rwsem_down_write_slowpath+0xf0c/0x16a0 kernel/locking/rwsem.c:1165
inode_lock_nested include/linux/fs.h:824 [inline]
filename_create+0x25c/0x530 fs/namei.c:3835
kern_path_create+0x35/0x180 fs/namei.c:3876
unix_bind_bsd net/unix/af_unix.c:1073 [inline]
unix_bind+0x3b9/0x920 net/unix/af_unix.c:1171
__sys_bind+0x388/0x400 net/socket.c:1715
__do_sys_bind net/socket.c:1726 [inline]
__se_sys_bind net/socket.c:1724 [inline]
__x64_sys_bind+0x76/0x80 net/socket.c:1724
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0ce68dc299
RSP: 002b:00007f0ce4d3a048 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 00007f0ce6a6b058 RCX: 00007f0ce68dc299
RDX: 000000000000006e RSI: 0000000020003000 RDI: 0000000000000005
RBP: 00007f0ce69498e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f0ce6a6b058 R15: 00007ffc0fdc9128
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3320:
#0: ffff8880231aa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc9000229b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
2 locks held by kworker/u4:5/3664:
#0: ffff8880b9a3a358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffffc900033c7d20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
2 locks held by kworker/1:9/3714:
#0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90002e57d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
4 locks held by kworker/u4:8/3868:
#0: ffff8881445d5138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
#1: ffffc90002f97d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
#2: ffff88807bb280e0 (&type->s_umount_key#90){++++}-{3:3}, at: trylock_super+0x1b/0xf0 fs/super.c:418
#3: ffff888060eef0c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x242/0x580 fs/jfs/inode.c:102
4 locks held by syz.2.625/7152:
2 locks held by syz.2.625/7158:
#0: ffff88807bb28460 (sb_writers#31){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
#1: ffff888060eef480 (&type->i_mutex_dir_key#25/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
#1: ffff888060eef480 (&type->i_mutex_dir_key#25/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835
1 lock held by syz-executor/7360:
#0: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#0: ffffffff8c9240e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845
2 locks held by syz.0.715/7582:
#0: ffff88807bb280e0 (&type->s_umount_key#90){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:703
#1: ffff8881479407d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline]
#1: ffff8881479407d8 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xab0 fs/fs-writeback.c:2768
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xe72/0xeb0 kernel/hung_task.c:295
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 7152 Comm: syz.2.625 Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__sanitizer_cov_trace_pc+0x37/0x60 kernel/kcov.c:200
Code: 8b 15 55 0e 82 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 34 16 00 00 00 74 2c 8b 91 10 16 00 00 83 fa 02 75 21 <48> 8b 91 18 16 00 00 48 8b 32 48 8d 7e 01 8b 89 14 16 00 00 48 39
RSP: 0018:ffffc90003077358 EFLAGS: 00000246
RAX: ffffffff82e3b87a RBX: ffff88805967f000 RCX: ffff88801bfa3b80
RDX: 0000000000000002 RSI: 000000000003ffff RDI: 0000000000040000
RBP: ffffc90003077550 R08: ffffffff82e3b84c R09: ffffed100b2cfe24
R10: 0000000000000004 R11: dffffc0000000001 R12: 1ffff1100b2cfe00
R13: dffffc0000000000 R14: ffff888060eef330 R15: 0000000000000000
FS: 00007f0ce4d5b6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3e5a359fa8 CR3: 000000001afe8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
dtSplitRoot+0x8da/0x1920 fs/jfs/jfs_dtree.c:1978
dtSplitUp fs/jfs/jfs_dtree.c:990 [inline]
dtInsert+0x12f6/0x6b00 fs/jfs/jfs_dtree.c:868
jfs_mknod+0x6f1/0xa50 fs/jfs/namei.c:1408
vfs_mknod+0x444/0x4d0 fs/namei.c:3944
unix_bind_bsd net/unix/af_unix.c:1083 [inline]
unix_bind+0x4fd/0x920 net/unix/af_unix.c:1171
__sys_bind+0x388/0x400 net/socket.c:1715
__do_sys_bind net/socket.c:1726 [inline]
__se_sys_bind net/socket.c:1724 [inline]
__x64_sys_bind+0x76/0x80 net/socket.c:1724
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0ce68dc299
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0ce4d5b048 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 00007f0ce6a6af80 RCX: 00007f0ce68dc299
RDX: 000000000000006e RSI: 00000000200002c0 RDI: 0000000000000005
RBP: 00007f0ce69498e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f0ce6a6af80 R15: 00007ffc0fdc9128