INFO: task syz-executor.5:17937 blocked for more than 143 seconds.
Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:23528 pid:17937 ppid:5110 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5293 [inline]
__schedule+0x1409/0x43f0 kernel/sched/core.c:6606
schedule+0xc3/0x190 kernel/sched/core.c:6682
rwsem_down_write_slowpath+0xfcf/0x14a0 kernel/locking/rwsem.c:1190
inode_lock include/linux/fs.h:756 [inline]
ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
ext4_file_write_iter+0x1d6/0x1910
do_iter_write+0x6ea/0xc50 fs/read_write.c:861
iter_file_splice_write+0x80a/0xfa0 fs/splice.c:686
do_splice_from fs/splice.c:764 [inline]
direct_splice_actor+0xe7/0x1c0 fs/splice.c:931
splice_direct_to_actor+0x4c4/0xbd0 fs/splice.c:886
do_splice_direct+0x283/0x3d0 fs/splice.c:974
do_sendfile+0x620/0xff0 fs/read_write.c:1255
__do_sys_sendfile64 fs/read_write.c:1323 [inline]
__se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1309
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6f6b48c0f9
RSP: 002b:00007f6f6c130168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f6f6b5abf80 RCX: 00007f6f6b48c0f9
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000009
RBP: 00007f6f6b4e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000001ffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff9c8f303f R14: 00007f6f6c130300 R15: 0000000000022000
INFO: task syz-executor.5:17943 blocked for more than 144 seconds.
Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:26120 pid:17943 ppid:5110 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5293 [inline]
__schedule+0x1409/0x43f0 kernel/sched/core.c:6606
schedule+0xc3/0x190 kernel/sched/core.c:6682
io_schedule+0x8c/0x100 kernel/sched/core.c:8868
bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d4/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:397 [inline]
__sync_dirty_buffer+0x120/0x380 fs/buffer.c:2732
__ext4_handle_dirty_metadata+0x2a6/0x820 fs/ext4/ext4_jbd2.c:387
ext4_convert_inline_data_nolock+0xaba/0xd80 fs/ext4/inline.c:1255
ext4_convert_inline_data+0x4da/0x620 fs/ext4/inline.c:2066
ext4_fallocate+0x14d/0x2300 fs/ext4/extents.c:4701
vfs_fallocate+0x54b/0x6b0 fs/open.c:323
ksys_fallocate fs/open.c:346 [inline]
__do_sys_fallocate fs/open.c:354 [inline]
__se_sys_fallocate fs/open.c:352 [inline]
__x64_sys_fallocate+0xbd/0x100 fs/open.c:352
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6f6b48c0f9
RSP: 002b:00007f6f6c10f168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f6f6b5ac050 RCX: 00007f6f6b48c0f9
RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000007
RBP: 00007f6f6b4e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff9c8f303f R14: 00007f6f6c10f300 R15: 0000000000022000
INFO: task syz-executor.5:17947 blocked for more than 144 seconds.
Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:28744 pid:17947 ppid:5110 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5293 [inline]
__schedule+0x1409/0x43f0 kernel/sched/core.c:6606
schedule+0xc3/0x190 kernel/sched/core.c:6682
rwsem_down_write_slowpath+0xfcf/0x14a0 kernel/locking/rwsem.c:1190
inode_lock include/linux/fs.h:756 [inline]
vfs_unlink+0xe4/0x5f0 fs/namei.c:4241
do_unlinkat+0x48c/0x930 fs/namei.c:4320
__do_sys_unlink fs/namei.c:4368 [inline]
__se_sys_unlink fs/namei.c:4366 [inline]
__x64_sys_unlink+0x49/0x50 fs/namei.c:4366
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f6f6b48c0f9
RSP: 002b:00007f6f61c3e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f6f6b5ac120 RCX: 00007f6f6b48c0f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000840
RBP: 00007f6f6b4e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff9c8f303f R14: 00007f6f61c3e300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0:
ffffffff8cf25950 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cf26150 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/28:
#0: ffffffff8cf25780 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by udevd/4425:
2 locks held by getty/4742:
#0: ffff88814b049098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor.3/5095:
1 lock held by syz-executor.2/5100:
#0: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#0: ffffffff8cf2ad78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3ab/0x890 kernel/rcu/tree_exp.h:946
2 locks held by kworker/1:18/5281:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370
#1: ffffc900055b7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264
2 locks held by syz-executor.5/17937:
#0: ffff8880327aa460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1254
#1: ffff888012b65440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888012b65440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
3 locks held by syz-executor.5/17943:
#0: ffff8880327aa460 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2938 [inline]
#0: ffff8880327aa460 (sb_writers#4){.+.+}-{0:0}, at: vfs_fallocate+0x4be/0x6b0 fs/open.c:322
#1: ffff888012b65440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888012b65440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_fallocate+0x145/0x2300 fs/ext4/extents.c:4700
#2: ffff888012b65108 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff888012b65108 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3b6/0x620 fs/ext4/inline.c:2064
3 locks held by syz-executor.5/17947:
#0: ffff8880327aa460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508
#1: ffff888012b66850 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff888012b66850 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x264/0x930 fs/namei.c:4303
#2: ffff888012b65440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#2: ffff888012b65440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_unlink+0xe4/0x5f0 fs/namei.c:4241
2 locks held by syz-executor.4/18032:
#0: ffff88803c0b4460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1254
#1: ffff88807bd5ac20 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88807bd5ac20 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_buffered_write_iter+0xaf/0x3a0 fs/ext4/file.c:279
3 locks held by syz-executor.4/18041:
#0: ffff88803c0b4460 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2938 [inline]
#0: ffff88803c0b4460 (sb_writers#4){.+.+}-{0:0}, at: vfs_fallocate+0x4be/0x6b0 fs/open.c:322
#1: ffff88807bd5ac20 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff88807bd5ac20 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_fallocate+0x145/0x2300 fs/ext4/extents.c:4700
#2: ffff88807bd5a8e8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff88807bd5a8e8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3b6/0x620 fs/ext4/inline.c:2064
3 locks held by syz-executor.4/18046:
#0: ffff88803c0b4460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:508
#1: ffff8880412f3628 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline]
#1: ffff8880412f3628 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x264/0x930 fs/namei.c:4303
#2: ffff88807bd5ac20 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#2: ffff88807bd5ac20 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_unlink+0xe4/0x5f0 fs/namei.c:4241
2 locks held by kworker/u4:11/19856:
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77f/0x1370
#1: ffffc90018bc7d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x1370 kernel/workqueue.c:2264
1 lock held by syz-executor.5/20011:
#0: ffff88802a99c460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x5fb/0xff0 fs/read_write.c:1254
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e5/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b4/0x3f0 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+0xf70/0xfb0 kernel/hung_task.c:377
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4414 Comm: klogd Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
RIP: 0010:update_rq_clock_pelt kernel/sched/pelt.h:97 [inline]
RIP: 0010:update_rq_clock_task kernel/sched/core.c:725 [inline]
RIP: 0010:update_rq_clock+0x280/0x870 kernel/sched/core.c:747
Code: 11 82 00 48 8b 7c 24 10 4c 01 27 48 85 db 74 0b 4c 89 ef 48 89 de e8 df 2d 07 00 48 b8 00 00 00 00 00 fc ff df 80 7c 05 00 00 <74> 08 4c 89 f7 e8 e6 10 82 00 49 8b 1e 48 83 c3 2c 48 89 d8 48 c1
RSP: 0018:ffffc90000007b98 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: 000000000000f556 RCX: dffffc0000000000
RDX: 1ffff110173077b3 RSI: 00000000000002f6 RDI: ffff8880b983bd90
RBP: 1ffff1101730777b R08: dffffc0000000000 R09: 000003fffffffc00
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000037480
R13: ffff8880b983b1c0 R14: ffff8880b983bbd8 R15: 1ffff1101730779d
FS: 00007f1831b40800(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f622dcd56be CR3: 000000002c61d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ttwu_queue kernel/sched/core.c:3941 [inline]
try_to_wake_up+0x78a/0x12b0 kernel/sched/core.c:4265
autoremove_wake_function+0x16/0x110 kernel/sched/wait.c:419
__wake_up_common+0x2a0/0x4e0 kernel/sched/wait.c:107
__wake_up_common_lock kernel/sched/wait.c:138 [inline]
__wake_up+0x11e/0x1d0 kernel/sched/wait.c:160
irq_work_single+0xd9/0x230 kernel/irq_work.c:211
irq_work_run_list kernel/irq_work.c:242 [inline]
irq_work_run+0x18b/0x350 kernel/irq_work.c:251
__sysvec_irq_work+0xfc/0x470 arch/x86/kernel/irq_work.c:22
sysvec_irq_work+0x8d/0xb0 arch/x86/kernel/irq_work.c:17
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:675
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:205
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 f3 0f 1e fa 89 f6 31 d2 e9 d7 04 37 03 0f 1f 80 00 00 00
RSP: 0018:ffffc9000316f4c8 EFLAGS: 00000246
RAX: 00000000000000f6 RBX: ffffffff8ca3da28 RCX: 000000000000083f
RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f
RBP: 0000000000000000 R08: ffffffff8438a0ba R09: fffff5200062de89
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8d014e08
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000020
arch_irq_work_raise+0x86/0xd0 arch/x86/kernel/irq_work.c:31
irq_work_queue+0xa7/0x150 kernel/irq_work.c:114
__kfence_alloc+0x22a/0x370 mm/kfence/core.c:1004
kfence_alloc include/linux/kfence.h:128 [inline]
slab_alloc_node mm/slub.c:3438 [inline]
kmem_cache_alloc_node+0x237/0x2c0 mm/slub.c:3497
__alloc_skb+0xd6/0x2d0 net/core/skbuff.c:552
alloc_skb include/linux/skbuff.h:1270 [inline]
alloc_skb_with_frags+0xa8/0x750 net/core/skbuff.c:6194
sock_alloc_send_pskb+0x919/0xa50 net/core/sock.c:2743
unix_dgram_sendmsg+0x5b5/0x2050 net/unix/af_unix.c:1943
sock_sendmsg_nosec net/socket.c:714 [inline]
sock_sendmsg net/socket.c:734 [inline]
__sys_sendto+0x475/0x5f0 net/socket.c:2117
__do_sys_sendto net/socket.c:2129 [inline]
__se_sys_sendto net/socket.c:2125 [inline]
__x64_sys_sendto+0xde/0xf0 net/socket.c:2125
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f1831cdc0ac
Code: 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 19 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 64 c3 0f 1f 00 55 48 83 ec 20 48 89 54 24 10
RSP: 002b:00007fff4f593b18 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1831cdc0ac
RDX: 000000000000004a RSI: 0000559951fb2530 RDI: 0000000000000003
RBP: 0000559951faa910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014
R13: 0000000000000001 R14: 00007f1831e5777d R15: 00007fff4f593c28