INFO: task syz.3.362:8129 blocked for more than 143 seconds.
Not tainted 6.10.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.362 state:D stack:24192 pid:8129 tgid:8128 ppid:7462 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x1796/0x49d0 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
io_schedule+0x8d/0x110 kernel/sched/core.c:9043
folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307
release_metapage+0x8c/0x870 fs/jfs/jfs_metapage.c:764
discard_metapage fs/jfs/jfs_metapage.h:88 [inline]
__get_metapage+0xb1d/0x1050 fs/jfs/jfs_metapage.c:644
dtSplitPage+0x8e7/0x3ed0 fs/jfs/jfs_dtree.c:1468
dtSplitUp fs/jfs/jfs_dtree.c:1089 [inline]
dtInsert+0x1500/0x6b00 fs/jfs/jfs_dtree.c:868
jfs_mkdir+0x7fb/0xb90 fs/jfs/namei.c:270
vfs_mkdir+0x2f9/0x4f0 fs/namei.c:4137
do_mkdirat+0x264/0x3a0 fs/namei.c:4160
__do_sys_mkdirat fs/namei.c:4175 [inline]
__se_sys_mkdirat fs/namei.c:4173 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4173
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5dca375bd9
RSP: 002b:00007f5dcb172048 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f5dca503f60 RCX: 00007f5dca375bd9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: ffffffffffffff9c
RBP: 00007f5dca3e4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f5dca503f60 R15: 00007ffcc902f2d8
INFO: task syz.3.362:8136 blocked for more than 143 seconds.
Not tainted 6.10.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.362 state:D stack:27352 pid:8136 tgid:8128 ppid:7462 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0x1796/0x49d0 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6837
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:791 [inline]
open_last_lookups fs/namei.c:3571 [inline]
path_openat+0x7e9/0x35f0 fs/namei.c:3810
do_filp_open+0x235/0x490 fs/namei.c:3840
do_sys_openat2+0x13e/0x1d0 fs/open.c:1413
do_sys_open fs/open.c:1428 [inline]
__do_sys_openat fs/open.c:1444 [inline]
__se_sys_openat fs/open.c:1439 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1439
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5dca375bd9
RSP: 002b:00007f5dcb130048 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f5dca504110 RCX: 00007f5dca375bd9
RDX: 000000000000275a RSI: 0000000020000140 RDI: ffffffffffffff9c
RBP: 00007f5dca3e4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f5dca504110 R15: 00007ffcc902f2d8
Showing all locks held in the system:
4 locks held by kworker/u8:1/12:
#0: ffff888017a86948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline]
#0: ffff888017a86948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329
#1: ffffc90000117d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline]
#1: ffffc90000117d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329
#2: ffff88807e39a0e0 (&type->s_umount_key#84){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562
#3: ffff88807a713008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x24a/0x590 fs/jfs/inode.c:102
1 lock held by khungtaskd/30:
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
5 locks held by kworker/u8:5/1041:
2 locks held by getty/4836:
#0: ffff88802ab150a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211
4 locks held by syz.3.362/8129:
#0: ffff88807e39a420 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
#1: ffff88807a7133c0 (&type->i_mutex_dir_key#19/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:826 [inline]
#1: ffff88807a7133c0 (&type->i_mutex_dir_key#19/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:3906
#2: ffff88807a713008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_mkdir+0x238/0xb90 fs/jfs/namei.c:233
#3: ffff88807a713948 (&jfs_ip->commit_mutex/1){+.+.}-{3:3}, at: jfs_mkdir+0x253/0xb90 fs/jfs/namei.c:234
1 lock held by syz.3.362/8136:
#0: ffff88807a7133c0 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline]
#0: ffff88807a7133c0 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: open_last_lookups fs/namei.c:3571 [inline]
#0: ffff88807a7133c0 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: path_openat+0x7e9/0x35f0 fs/namei.c:3810
3 locks held by syz.4.459/9199:
#0: ffff88801beb79c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x310 fs/file.c:1191
#1: ffff88807e82c420 (sb_writers#24){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline]
#1: ffff88807e82c420 (sb_writers#24){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 fs/read_write.c:586
#2: ffff88806433adc0 (&sb->s_type->i_mutex_key#33){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline]
#2: ffff88806433adc0 (&sb->s_type->i_mutex_key#33){+.+.}-{3:3}, at: bch2_direct_write+0x243/0x3050 fs/bcachefs/fs-io-direct.c:598
1 lock held by syz.3.574/9697:
#0: ffff88807e39a0e0 (&type->s_umount_key#84){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88807e39a0e0 (&type->s_umount_key#84){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120
1 lock held by syz.1.582/9777:
#0: ffff88807e39a0e0 (&type->s_umount_key#84){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88807e39a0e0 (&type->s_umount_key#84){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
2 locks held by syz-executor/9926:
#0: ffffffff8f5d4908 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f5d4908 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x842/0x1180 net/core/rtnetlink.c:6632
#1: ffffffff8e3392f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline]
#1: ffffffff8e3392f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:939
1 lock held by syz.0.604/9991:
#0: ffff88807e39a0e0 (&type->s_umount_key#84){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff88807e39a0e0 (&type->s_umount_key#84){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
2 locks held by syz.2.606/9997:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 9997 Comm: syz.2.606 Not tainted 6.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:preempt_count_sub+0x66/0x170 kernel/sched/core.c:5909
Code: c1 81 e1 ff ff ff 7f 39 d9 7c 27 81 fb fe 00 00 00 77 07 0f b6 c0 85 c0 74 5f 65 8b 05 6b 37 9e 7e f7 db 65 01 1d 62 37 9e 7e <5b> 41 5e c3 cc cc cc cc 90 e8 2c 1b 3d 03 85 c0 74 3a 48 c7 c0 60
RSP: 0018:ffffc9000345eef0 EFLAGS: 00000297
RAX: 0000000080000001 RBX: 00000000ffffffff RCX: 0000000000000001
RDX: ffffc9000ac13000 RSI: 000000000003ffff RDI: 0000000000000001
RBP: ffffc9000345efe0 R08: ffffffff81410de5 R09: ffffffff8141095f
R10: 0000000000000003 R11: ffff88802780bc00 R12: ffffc9000345f700
R13: dffffc0000000000 R14: dffffc0000000000 R15: ffffc9000345f708
FS: 00007fe788f726c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe77edff000 CR3: 000000004f186000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_next_frame+0x1e65/0x2a00 arch/x86/kernel/unwind_orc.c:672
arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
save_stack+0xfb/0x1f0 mm/page_owner.c:156
__set_page_owner+0x92/0x800 mm/page_owner.c:320
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x1f3/0x230 mm/page_alloc.c:1473
prep_new_page mm/page_alloc.c:1481 [inline]
get_page_from_freelist+0x2e4c/0x2f10 mm/page_alloc.c:3425
__alloc_pages_noprof+0x256/0x6c0 mm/page_alloc.c:4683
alloc_pages_mpol_noprof+0x3e8/0x680 mm/mempolicy.c:2265
shmem_alloc_folio mm/shmem.c:1628 [inline]
shmem_alloc_and_add_folio+0x24d/0xdb0 mm/shmem.c:1668
shmem_get_folio_gfp+0x82d/0x1f50 mm/shmem.c:2055
shmem_get_folio mm/shmem.c:2160 [inline]
shmem_write_begin+0x170/0x4d0 mm/shmem.c:2743
generic_perform_write+0x322/0x640 mm/filemap.c:4015
shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2919
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0xa72/0xc90 fs/read_write.c:590
ksys_write+0x1a0/0x2c0 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe78817475f
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 29 8c 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 7c 8c 02 00 48
RSP: 002b:00007fe788f71e00 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007fe78817475f
RDX: 0000000001000000 RSI: 00007fe77de00000 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000119f0
R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000005
R13: 00007fe788f71f00 R14: 00007fe788f71ec0 R15: 00007fe77de00000