INFO: task syz-executor.4:25817 blocked for more than 143 seconds.
Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:20024 pid:25817 ppid:3670 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5209 [inline]
__schedule+0x8c9/0xd70 kernel/sched/core.c:6521
schedule+0xcb/0x190 kernel/sched/core.c:6597
rwsem_down_write_slowpath+0xfc1/0x1480 kernel/locking/rwsem.c:1190
__down_write_common kernel/locking/rwsem.c:1305 [inline]
__down_write kernel/locking/rwsem.c:1314 [inline]
down_write_nested+0x23f/0x280 kernel/locking/rwsem.c:1673
inode_lock_nested include/linux/fs.h:791 [inline]
do_unlinkat+0x23d/0x940 fs/namei.c:4303
__do_sys_unlink fs/namei.c:4368 [inline]
__se_sys_unlink fs/namei.c:4366 [inline]
__x64_sys_unlink+0x45/0x50 fs/namei.c:4366
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdeb848c0d9
RSP: 002b:00007fdeb92c8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007fdeb85abf80 RCX: 00007fdeb848c0d9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180
RBP: 00007fdeb84e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe1152eccf R14: 00007fdeb92c8300 R15: 0000000000022000
INFO: task syz-executor.4:25834 blocked for more than 143 seconds.
Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:20584 pid:25834 ppid:3670 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5209 [inline]
__schedule+0x8c9/0xd70 kernel/sched/core.c:6521
schedule+0xcb/0x190 kernel/sched/core.c:6597
io_schedule+0x83/0x100 kernel/sched/core.c:8741
bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbb/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1c3/0x240 kernel/sched/wait_bit.c:117
wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline]
__lock_buffer fs/buffer.c:69 [inline]
lock_buffer include/linux/buffer_head.h:397 [inline]
__sync_dirty_buffer+0x107/0x330 fs/buffer.c:2732
__ext4_handle_dirty_metadata+0x29a/0x810 fs/ext4/ext4_jbd2.c:381
ext4_handle_dirty_dirblock+0x363/0x6b0 fs/ext4/namei.c:438
ext4_finish_convert_inline_dir+0x58a/0x700 fs/ext4/inline.c:1182
ext4_convert_inline_data_nolock+0x63c/0x820 fs/ext4/inline.c:1259
ext4_try_add_inline_entry+0x683/0x990 fs/ext4/inline.c:1332
ext4_add_entry+0x5a4/0xeb0 fs/ext4/namei.c:2385
ext4_mkdir+0x557/0xcf0 fs/ext4/namei.c:3007
vfs_mkdir+0x3b3/0x590 fs/namei.c:4036
do_mkdirat+0x279/0x550 fs/namei.c:4061
__do_sys_mkdirat fs/namei.c:4076 [inline]
__se_sys_mkdirat fs/namei.c:4074 [inline]
__x64_sys_mkdirat+0x85/0x90 fs/namei.c:4074
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fdeb848c0d9
RSP: 002b:00007fdeb92a7168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fdeb85ac050 RCX: 00007fdeb848c0d9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000008
RBP: 00007fdeb84e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe1152eccf R14: 00007fdeb92a7300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d127330 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d127b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8d127160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3308:
#0: ffff888017733098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.1/3672:
2 locks held by kworker/0:3/3674:
#0: ffff888012866538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0
#1: ffffc900043dfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264
2 locks held by kworker/0:13/4410:
#0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0
#1: ffffc9000c437d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264
1 lock held by syz-executor.2/17809:
#0: ffffffff8d12c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#0: ffffffff8d12c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946
3 locks held by kworker/1:4/22995:
#0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0
#1: ffffc90009157d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264
#2: ffffffff8d12c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline]
#2: ffffffff8d12c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946
2 locks held by syz-executor.4/25817:
#0: ffff88802deac460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff88803add0e08 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff88803add0e08 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x23d/0x940 fs/namei.c:4303
3 locks held by syz-executor.4/25834:
#0: ffff88802deac460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393
#1: ffff88803add0e08 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff88803add0e08 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x22a/0x4f0 fs/namei.c:3807
#2: ffff88803add0ad0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88803add0ad0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xe1/0x990 fs/ext4/inline.c:1290
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106
nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xcf5/0xd40 kernel/hung_task.c:377
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 30130 Comm: syz-executor.4 Not tainted 6.1.0-rc7-syzkaller-00200-gc2bf05db6c78 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:203
Code: 0f 1f 84 00 00 00 00 00 66 90 53 48 89 fb e8 17 00 00 00 48 8b 3d b8 5c eb 0c 48 89 de 5b e9 67 4c 53 00 cc cc cc cc cc cc cc <48> 8b 04 24 65 48 8b 0c 25 40 6f 02 00 65 8b 15 04 d5 77 7e f7 c2
RSP: 0018:ffffc9000d1af750 EFLAGS: 00000282
RAX: ffff88802acf480f RBX: ffffc9000d1af940 RCX: ffff88801cb40000
RDX: ffffffffffffffff RSI: ffff88802acf4800 RDI: ffffc9000d1af940
RBP: ffff88802acf4800 R08: ffffffff8a883ffe R09: ffffffff8a8861e7
R10: 0000000000000002 R11: ffff88801cb40000 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffffffffffffff R15: 1ffff92001a35f2b
FS: 0000555555db3400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555570f2888 CR3: 00000000382d4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mas_next_node+0x2b/0x980 lib/maple_tree.c:4563
mas_next_entry+0xcac/0x10f0 lib/maple_tree.c:4766
validate_mm+0x24d/0x330 mm/mmap.c:335
vma_expand+0x963/0x9c0 mm/mmap.c:602
mmap_region+0xcae/0x1e20 mm/mmap.c:2592
do_mmap+0x8d9/0xf30 mm/mmap.c:1412
vm_mmap_pgoff+0x19e/0x2b0 mm/util.c:520
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f8e6e88c122
Code: 00 00 00 00 00 0f 1f 00 41 f7 c1 ff 0f 00 00 75 27 55 48 89 fd 53 89 cb 48 85 ff 74 3b 41 89 da 48 89 ef b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 66 5b 5d c3 0f 1f 00 48 c7 c0 b8 ff ff ff 64
RSP: 002b:00007ffd9ff227d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 0000000000020022 RCX: 00007f8e6e88c122
RDX: 0000000000000000 RSI: 0000000000021000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000ffffffff R09: 0000000000000000
R10: 0000000000020022 R11: 0000000000000246 R12: 00007ffd9ff229e0
R13: 00007f8e6da00700 R14: 0000000000000000 R15: 0000000000022000