INFO: task syz-executor.1:10481 blocked for more than 145 seconds.
Not tainted 5.15.110-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:22400 pid:10481 ppid: 3539 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
io_schedule+0x88/0x100 kernel/sched/core.c:8472
bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbf/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d0/0x250 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:402 [inline]
__sync_dirty_buffer+0x120/0x380 fs/buffer.c:3144
__ext4_handle_dirty_metadata+0x288/0x800 fs/ext4/ext4_jbd2.c:381
ext4_convert_inline_data_nolock+0xad1/0xda0 fs/ext4/inline.c:1262
ext4_convert_inline_data+0x4cf/0x610 fs/ext4/inline.c:2045
ext4_page_mkwrite+0x1ec/0x1290 fs/ext4/inode.c:6103
do_page_mkwrite+0x1a9/0x440 mm/memory.c:2883
do_shared_fault mm/memory.c:4285 [inline]
do_fault mm/memory.c:4353 [inline]
handle_pte_fault mm/memory.c:4608 [inline]
__handle_mm_fault mm/memory.c:4743 [inline]
handle_mm_fault+0x2803/0x5950 mm/memory.c:4841
do_user_addr_fault arch/x86/mm/fault.c:1397 [inline]
handle_page_fault arch/x86/mm/fault.c:1485 [inline]
exc_page_fault+0x271/0x740 arch/x86/mm/fault.c:1541
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:92
Code: 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 <4c> 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a
RSP: 0018:ffffc900048ffe08 EFLAGS: 00050202
RAX: ffffffff84060f01 RBX: 00000000200012c8 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffc900048ffea0 RDI: 00000000200012c0
RBP: ffffc900048fff10 R08: 0000000700000006 R09: fffff5200091ffd5
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000008
R13: 00007ffffffff000 R14: ffffc900048ffea0 R15: 00000000200012c0
copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline]
_copy_to_user+0xef/0x130 lib/usercopy.c:40
copy_to_user include/linux/uaccess.h:200 [inline]
do_pipe2+0x105/0x300 fs/pipe.c:1011
__do_sys_pipe fs/pipe.c:1032 [inline]
__se_sys_pipe fs/pipe.c:1030 [inline]
__x64_sys_pipe+0x36/0x40 fs/pipe.c:1030
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+0x61/0xcb
RIP: 0033:0x7ffb48f6e169
RSP: 002b:00007ffb474e0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000016
RAX: ffffffffffffffda RBX: 00007ffb4908df80 RCX: 00007ffb48f6e169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200012c0
RBP: 00007ffb48fc9ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcadeda16f R14: 00007ffb474e0300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8c91c4e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:3/932:
#0: ffff888011db5138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004b2fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8c920930 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:3994
2 locks held by getty/3262:
#0: ffff8880249ab098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
1 lock held by syz-executor.5/3547:
#0: ffffffff8c920a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#0: ffffffff8c920a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:840
4 locks held by kworker/1:10/4179:
#0: ffff8880b9b39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4e1/0x810 kernel/sched/psi.c:882
#2: ffff8880b9b28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:946
#3: ffffffff91661ba0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x97/0x690 lib/debugobjects.c:668
2 locks held by kworker/1:17/4371:
#0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000492fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
4 locks held by syz-executor.1/10481:
#0: ffff888020886a28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff888020886a28 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
#0: ffff888020886a28 (&mm->mmap_lock#2){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1485 [inline]
#0: ffff888020886a28 (&mm->mmap_lock#2){++++}-{3:3}, at: exc_page_fault+0x181/0x740 arch/x86/mm/fault.c:1541
#1: ffff88807adfa558 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1742 [inline]
#1: ffff88807adfa558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1841 [inline]
#1: ffff88807adfa558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1b5/0x1290 fs/ext4/inode.c:6098
#2: ffff88802a8e1980 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:842 [inline]
#2: ffff88802a8e1980 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x1df/0x1290 fs/ext4/inode.c:6101
#3: ffff88802a8e14b8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#3: ffff88802a8e14b8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3ab/0x610 fs/ext4/inline.c:2043
4 locks held by syz-executor.4/10577:
#0: ffff888041cc8128 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff888041cc8128 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
#0: ffff888041cc8128 (&mm->mmap_lock#2){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1485 [inline]
#0: ffff888041cc8128 (&mm->mmap_lock#2){++++}-{3:3}, at: exc_page_fault+0x181/0x740 arch/x86/mm/fault.c:1541
#1: ffff88807a9f6558 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1742 [inline]
#1: ffff88807a9f6558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1841 [inline]
#1: ffff88807a9f6558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1b5/0x1290 fs/ext4/inode.c:6098
#2: ffff88802a15e940 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:842 [inline]
#2: ffff88802a15e940 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x1df/0x1290 fs/ext4/inode.c:6101
#3: ffff88802a15e478 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#3: ffff88802a15e478 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3ab/0x610 fs/ext4/inline.c:2043
4 locks held by syz-executor.3/10581:
#0: ffff8880247a4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff8880247a4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
#0: ffff8880247a4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1485 [inline]
#0: ffff8880247a4e28 (&mm->mmap_lock#2){++++}-{3:3}, at: exc_page_fault+0x181/0x740 arch/x86/mm/fault.c:1541
#1: ffff88801f8ea558 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1742 [inline]
#1: ffff88801f8ea558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1841 [inline]
#1: ffff88801f8ea558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1b5/0x1290 fs/ext4/inode.c:6098
#2: ffff88802a12ad70 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:842 [inline]
#2: ffff88802a12ad70 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x1df/0x1290 fs/ext4/inode.c:6101
#3: ffff88802a12a8a8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#3: ffff88802a12a8a8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3ab/0x610 fs/ext4/inline.c:2043
1 lock held by syz-executor.4/10692:
#0: ffffffff8c920a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#0: ffffffff8c920a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:840
1 lock held by syz-executor.1/10991:
#0: ffffffff8c920930 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:3994
1 lock held by dhcpcd/10997:
#0: ffff88802a8a9410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#0: ffff88802a8a9410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline]
#0: ffff88802a8a9410 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1317
1 lock held by dhcpcd/10998:
#0: ffff8880763bfa10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#0: ffff8880763bfa10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline]
#0: ffff8880763bfa10 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1317
1 lock held by syz-executor.0/11004:
#0: ffff8881472c4468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365
1 lock held by dhcpcd/11006:
#0: ffff8880763bb810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline]
#0: ffff8880763bb810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: __sock_release net/socket.c:648 [inline]
#0: ffff8880763bb810 (&sb->s_type->i_mutex_key#11){+.+.}-{3:3}, at: sock_close+0x98/0x230 net/socket.c:1317
1 lock held by syz-executor.3/11007:
#0: ffffffff8c941bd0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x285/0x2480 kernel/exit.c:828
1 lock held by syz-executor.3/11008:
#0: ffffffff8c941bd0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x285/0x2480 kernel/exit.c:828
1 lock held by syz-executor.3/11009:
#0: ffffffff8c941bd0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x285/0x2480 kernel/exit.c:828
1 lock held by syz-executor.3/11012:
#0: ffffffff8c941bd0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: do_exit+0x285/0x2480 kernel/exit.c:828
4 locks held by kvm-nx-lpage-re/11011:
#0: ffffffff8c9419e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x23/0x150 kernel/cgroup/cgroup-v1.c:61
#1: ffffffff8c7b9e10 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_task_all+0x28/0x150 kernel/cgroup/cgroup-v1.c:62
#2: ffffffff8c941bd0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_task_all+0x34/0x150 kernel/cgroup/cgroup-v1.c:63
#3: ffffffff8c94dcb0 (&cpuset_rwsem){++++}-{0:0}, at: cpuset_can_attach+0x1e9/0x490 kernel/cgroup/cpuset.c:2197
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb 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:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 11022 Comm: syz-executor.5 Not tainted 5.15.110-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:___might_sleep+0x71/0x6a0 kernel/sched/core.c:9584
Code: 41 48 c7 44 24 48 f1 9b 13 8c 48 c7 44 24 50 10 d2 58 81 4c 8d 7c 24 40 49 c1 ef 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 04 37 <43> c7 44 37 09 f2 f2 f2 00 66 43 c7 44 37 0d f3 f3 43 c6 44 37 0f
RSP: 0018:ffffc90002dbfb20 EFLAGS: 00000a06
RAX: f2f2f200f1f1f1f1 RBX: ffff888041899d00 RCX: 0000000000040000
RDX: 0000000000000000 RSI: 0000000000000ad5 RDI: ffffffff8b780ee0
RBP: ffffc90002dbfc40 R08: ffffffff81b8c86c R09: fffff520005b7ed9
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 00000000000059c4 R14: dffffc0000000000 R15: 1ffff920005b7f6c
FS: 00007f6d5f6d6700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020167030 CR3: 000000002ec4c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__might_fault+0x6b/0x110 mm/memory.c:5308
do_recvmmsg+0x39d/0x8f0 net/socket.c:2773
__sys_recvmmsg net/socket.c:2846 [inline]
__do_sys_recvmmsg net/socket.c:2869 [inline]
__se_sys_recvmmsg net/socket.c:2862 [inline]
__x64_sys_recvmmsg+0x195/0x240 net/socket.c:2862
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+0x61/0xcb
RIP: 0033:0x7f6d61185169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6d5f6d6168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f6d612a5050 RCX: 00007f6d61185169
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000005
RBP: 00007f6d611e0ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc8fae3a1f R14: 00007f6d5f6d6300 R15: 0000000000022000