INFO: task syz-executor.0:9764 blocked for more than 156 seconds.
Not tainted 5.15.111-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:24064 pid: 9764 ppid: 3546 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:6101
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:ffffc90004e9fe08 EFLAGS: 00050202
RAX: ffffffff84060e01 RBX: 00000000200012c8 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffc90004e9fea0 RDI: 00000000200012c0
RBP: ffffc90004e9ff10 R08: 0000000700000006 R09: fffff520009d3fd5
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000008
R13: 00007ffffffff000 R14: ffffc90004e9fea0 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:0x7fc93d5c0169
RSP: 002b:00007fc933811168 EFLAGS: 00000246 ORIG_RAX: 0000000000000016
RAX: ffffffffffffffda RBX: 00007fc93d6e0050 RCX: 00007fc93d5c0169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200012c0
RBP: 00007fc93d61bca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc8954ec7f R14: 00007fc933811300 R15: 0000000000022000
Showing all locks held in the system:
2 locks held by kworker/u4:0/9:
#0: ffff8880b9a39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:483
#1: ffffc90000ce7d20 ((work_completion)(&(&cp->cp_conn_w)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
1 lock held by khungtaskd/26:
#0: ffffffff8c91c5a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by udevd/2963:
3 locks held by kworker/0:3/3248:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280
#1: ffffc900026afd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
#2: ffffffff8c920ae8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
#2: ffffffff8c920ae8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:840
2 locks held by getty/3262:
#0: ffff888024c45098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900020a32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
2 locks held by kworker/u4:8/4136:
#0: ffff888011c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280
#1: ffffc9000467fd20 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
2 locks held by kworker/u4:10/4409:
5 locks held by kworker/u4:14/4554:
#0: ffff888011db5138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280
#1: ffffc90004d9fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
#2: ffffffff8d9d0250 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558
#3: ffffffff8d9dbfa8 (rtnl_mutex){+.+.}-{3:3}, at: ip6_tnl_exit_batch_net+0xc0/0x5e0 net/ipv6/ip6_tunnel.c:2309
#4: ffffffff8c920ae8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
#4: ffffffff8c920ae8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:840
2 locks held by kworker/1:16/5995:
#0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280
#1: ffffc90004f7fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282
4 locks held by syz-executor.0/9764:
#0: ffff888073f9c728 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline]
#0: ffff888073f9c728 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1338 [inline]
#0: ffff888073f9c728 (&mm->mmap_lock#2){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1485 [inline]
#0: ffff888073f9c728 (&mm->mmap_lock#2){++++}-{3:3}, at: exc_page_fault+0x181/0x740 arch/x86/mm/fault.c:1541
#1: ffff888031420558 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1742 [inline]
#1: ffff888031420558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1841 [inline]
#1: ffff888031420558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1b5/0x1290 fs/ext4/inode.c:6096
#2: ffff88803261e940 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:842 [inline]
#2: ffff88803261e940 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x1df/0x1290 fs/ext4/inode.c:6099
#3: ffff88803261e478 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#3: ffff88803261e478 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3ab/0x610 fs/ext4/inline.c:2043
1 lock held by syz-executor.0/11204:
#0: ffff8880754c1918 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1a5/0x310 block/bdev.c:1050
1 lock held by syz-executor.1/11189:
#0: ffffffff8d9dbfa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
#0: ffffffff8d9dbfa8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5584
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.15.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/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: 3560 Comm: syz-executor.1 Not tainted 5.15.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
RIP: 0010:__lock_release kernel/locking/lockdep.c:5278 [inline]
RIP: 0010:lock_release+0x704/0x9a0 kernel/locking/lockdep.c:5642
Code: e9 fa f9 ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 2e fa ff ff 48 89 df e8 59 b9 66 00 e9 21 fa ff ff 48 8d 8c 24 80 00 00 00 <80> e1 07 80 c1 03 38 c1 0f 8c 94 fa ff ff 48 8d bc 24 80 00 00 00
RSP: 0018:ffffc900031ef780 EFLAGS: 00000002
RAX: 0000000000000004 RBX: 0000000000000046 RCX: ffffc900031ef800
RDX: 1ffff9200063df00 RSI: ffffffff8a8b0960 RDI: ffffffff8ad85bc0
RBP: ffffc900031ef8b8 R08: dffffc0000000000 R09: fffffbfff1bc74d6
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200063defc
R13: ffff888022df3b80 R14: ffffc900031ef830 R15: dffffc0000000000
FS: 0000555555a36400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3ad8a69000 CR3: 000000002c183000 CR4: 00000000003506f0
DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
do_write_seqcount_end include/linux/seqlock.h:565 [inline]
psi_group_change+0xa93/0x1170 kernel/sched/psi.c:752
psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891
psi_sched_switch kernel/sched/stats.h:162 [inline]
__schedule+0x1dec/0x4590 kernel/sched/core.c:6367
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
freezable_schedule include/linux/freezer.h:172 [inline]
do_nanosleep+0x1bc/0x7b0 kernel/time/hrtimer.c:2044
hrtimer_nanosleep+0x24d/0x490 kernel/time/hrtimer.c:2097
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1281 [inline]
__se_sys_clock_nanosleep+0x323/0x3b0 kernel/time/posix-timers.c:1258
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:0x7f9f218b8e91
Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 aa e7 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 e3 e7 ff ff 48 8b 04 24 eb 97 66 2e 0f 1f
RSP: 002b:00007ffdecb76090 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 000000000000047d RCX: 00007f9f218b8e91
RDX: 00007ffdecb760d0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffdecb7615c R08: 0000000000000000 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 00000000000d8df2 R14: 0000000000000004 R15: 00007ffdecb761c0