INFO: task syz-executor.3:29242 blocked for more than 143 seconds. Not tainted 6.2.0-rc4-syzkaller-00350-gedc00350d205 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:19848 pid:29242 ppid:5107 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 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+0x231/0x270 kernel/locking/rwsem.c:1563 inode_lock include/linux/fs.h:756 [inline] ext4_buffered_write_iter+0xae/0x3a0 fs/ext4/file.c:279 ext4_file_write_iter+0x1d0/0x18f0 do_iter_write+0x6c2/0xc20 fs/read_write.c:861 iter_file_splice_write+0x7fc/0xfc0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0xe6/0x1c0 fs/splice.c:931 splice_direct_to_actor+0x4e4/0xc00 fs/splice.c:886 do_splice_direct+0x279/0x3d0 fs/splice.c:974 do_sendfile+0x5fb/0xf80 fs/read_write.c:1255 __do_sys_sendfile64 fs/read_write.c:1323 [inline] __se_sys_sendfile64+0x14f/0x1b0 fs/read_write.c:1309 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:0x7fb4cea8c0c9 RSP: 002b:00007fb4cf8a6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fb4cebabf80 RCX: 00007fb4cea8c0c9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000007 RBP: 00007fb4ceae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000001ffff R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6c41f21f R14: 00007fb4cf8a6300 R15: 0000000000022000 INFO: task syz-executor.3:29249 blocked for more than 144 seconds. Not tainted 6.2.0-rc4-syzkaller-00350-gedc00350d205 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:21992 pid:29249 ppid:5107 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 io_schedule+0x83/0x100 kernel/sched/core.c:8862 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:387 ext4_convert_inline_data_nolock+0x6e5/0x820 fs/ext4/inline.c:1255 ext4_convert_inline_data+0x4c8/0x610 fs/ext4/inline.c:2066 ext4_fallocate+0x149/0x1ca0 fs/ext4/extents.c:4701 vfs_fallocate+0x515/0x670 fs/open.c:323 do_vfs_ioctl+0x2163/0x2980 fs/ioctl.c:849 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl+0x83/0x170 fs/ioctl.c:856 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:0x7fb4cea8c0c9 RSP: 002b:00007fb4cf885168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb4cebac050 RCX: 00007fb4cea8c0c9 RDX: 0000000020000100 RSI: 0000000040305828 RDI: 0000000000000007 RBP: 00007fb4ceae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe6c41f21f R14: 00007fb4cf885300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d326fd0 (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: ffffffff8d3277d0 (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: ffffffff8d326e00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4744: #0: ffff88802896b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.5/5099: #0: ffff88807518c0e0 (&type->s_umount_key#55){++++}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 1 lock held by syz-executor.2/5111: #0: ffff88808a2280e0 (&type->s_umount_key#55){++++}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 2 locks held by kworker/0:4/5157: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900045bfd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/0:6/5160: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900045dfd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8d32c478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 3 locks held by kworker/1:15/6154: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90015f67d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8d32c478 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 2 locks held by syz-executor.3/29242: #0: ffff888078e26460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x5d6/0xf80 fs/read_write.c:1254 #1: ffff88807849a218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88807849a218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xae/0x3a0 fs/ext4/file.c:279 3 locks held by syz-executor.3/29249: #0: ffff888078e26460 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2938 [inline] #0: ffff888078e26460 (sb_writers#4){.+.+}-{0:0}, at: vfs_fallocate+0x489/0x670 fs/open.c:322 #1: ffff88807849a218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff88807849a218 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_fallocate+0x141/0x1ca0 fs/ext4/extents.c:4700 #2: ffff888078499ee0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #2: ffff888078499ee0 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3a4/0x610 fs/ext4/inline.c:2064 2 locks held by kworker/0:0/29422: #0: ffff888012870d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90005e77d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 1 lock held by syz-executor.3/31781: #0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 2 locks held by syz-executor.1/31802: 5 locks held by syz-executor.3/31803: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc4-syzkaller-00350-gedc00350d205 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 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+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/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: 5157 Comm: kworker/0:4 Not tainted 6.2.0-rc4-syzkaller-00350-gedc00350d205 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: events pwq_unbound_release_workfn RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:5959 [inline] RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:5997 [inline] RIP: 0010:zap_class+0x30f/0x810 kernel/locking/lockdep.c:6039 Code: eb 08 66 0f 1f 84 00 00 00 00 00 81 fb 00 00 14 00 73 7c 48 63 c3 48 8d ac 00 80 a0 21 90 48 89 e8 48 c1 e8 03 42 0f b6 04 30 <84> c0 75 35 0f b7 6d 00 81 e5 ff 1f 00 00 43 0f b6 44 35 00 84 c0 RSP: 0018:ffffc900045bfac8 EFLAGS: 00000807 RAX: 0000000000000000 RBX: 000000000001ae4f RCX: ffffffff816c70ae RDX: 0000000000000001 RSI: 0000000000001428 RDI: 0000000000001424 RBP: ffffffff9024fd1e R08: dffffc0000000000 R09: fffffbfff20fc861 R10: fffffbfff20fc861 R11: 1ffffffff20fc860 R12: 0000000000000c2b R13: 1ffffffff2116024 R14: dffffc0000000000 R15: ffffffff908b0120 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f90bf710000 CR3: 0000000043971000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lockdep_free_key_range kernel/locking/lockdep.c:6158 [inline] lockdep_unregister_key+0x440/0x5b0 kernel/locking/lockdep.c:6354 wq_unregister_lockdep kernel/workqueue.c:3497 [inline] pwq_unbound_release_workfn+0x245/0x290 kernel/workqueue.c:3735 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308