INFO: task syz-executor.5:15145 blocked for more than 143 seconds. Not tainted 6.4.0-rc1-syzkaller-00001-gba0ad6ed89fd #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24256 pid:15145 ppid:5030 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 io_schedule+0x8c/0x100 kernel/sched/core.c:8979 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:70 [inline] lock_buffer include/linux/buffer_head.h:406 [inline] __sync_dirty_buffer+0x120/0x380 fs/buffer.c:2807 __ext4_handle_dirty_metadata+0x2a6/0x820 fs/ext4/ext4_jbd2.c:387 ext4_convert_inline_data_nolock+0xaba/0xd80 fs/ext4/inline.c:1252 ext4_convert_inline_data+0x4da/0x620 fs/ext4/inline.c:2063 ext4_page_mkwrite+0x288/0x1290 fs/ext4/inode.c:6044 do_page_mkwrite+0x1a4/0x600 mm/memory.c:2931 wp_page_shared mm/memory.c:3280 [inline] do_wp_page+0x501/0x3690 mm/memory.c:3362 handle_pte_fault mm/memory.c:4964 [inline] __handle_mm_fault mm/memory.c:5089 [inline] handle_mm_fault+0x2371/0x5860 mm/memory.c:5243 do_user_addr_fault arch/x86/mm/fault.c:1440 [inline] handle_page_fault arch/x86/mm/fault.c:1534 [inline] exc_page_fault+0x7d2/0x910 arch/x86/mm/fault.c:1590 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f4ee4286cb6 RSP: 002b:00007fff5a55eed8 EFLAGS: 00010202 RAX: 00000000200007c0 RBX: 0000000000000000 RCX: 006c6c75662f7665 RDX: 000000000000000a RSI: 6c75662f7665642f RDI: 00000000200007c0 RBP: 00007fff5a55ef98 R08: 00007f4ee4200000 R09: 00007f4ee3e00000 R10: 00007f4ee3e02150 R11: 000000000001d7ce R12: 00000000000976d7 R13: 00007fff5a55efc0 R14: 00007fff5a55efe0 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf27670 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf274a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:3/47: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90000b87d20 ((work_completion)(&(&bat_priv->tt.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 3 locks held by kworker/0:2/900: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90004bb7d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #2: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992 3 locks held by kworker/1:2/1762: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90005e1fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #2: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 2 locks held by kworker/u4:6/2792: 2 locks held by getty/4750: #0: ffff88802893e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 2 locks held by kworker/0:12/5416: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000622fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/1:15/5463: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000a887d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 3 locks held by kworker/u4:7/6671: 4 locks held by syz-executor.5/15145: #0: ffff88807a642568 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:161 [inline] #0: ffff88807a642568 (&mm->mmap_lock){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1381 [inline] #0: ffff88807a642568 (&mm->mmap_lock){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1534 [inline] #0: ffff88807a642568 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x1b9/0x910 arch/x86/mm/fault.c:1590 #1: ffff88807e2e0558 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1494 [inline] #1: ffff88807e2e0558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1598 [inline] #1: ffff88807e2e0558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x244/0x1290 fs/ext4/inode.c:6039 #2: ffff888033365fa0 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:830 [inline] #2: ffff888033365fa0 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x27b/0x1290 fs/ext4/inode.c:6042 #3: ffff888033365ac8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #3: ffff888033365ac8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3b6/0x620 fs/ext4/inline.c:2061 2 locks held by udevd/15272: 3 locks held by syz-executor.2/19297: 3 locks held by syz-executor.2/19313: 2 locks held by syz-executor.5/19301: #0: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:996 5 locks held by syz-executor.0/19315: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc1-syzkaller-00001-gba0ad6ed89fd #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+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 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: 15272 Comm: udevd Not tainted 6.4.0-rc1-syzkaller-00001-gba0ad6ed89fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:__hlist_del include/linux/list.h:897 [inline] RIP: 0010:hlist_del include/linux/list.h:913 [inline] RIP: 0010:__alloc_object lib/debugobjects.c:213 [inline] RIP: 0010:alloc_object+0x32d/0x6c0 lib/debugobjects.c:249 Code: ec af 0d 4d 85 ff 0f 84 a2 01 00 00 4d 89 fd 49 c1 ed 03 43 80 7c 35 00 00 74 08 4c 89 ff e8 4a 79 aa fd 89 6c 24 2c 4d 8b 37 <4d> 8d 67 08 4c 89 e1 48 c1 e9 03 48 b8 00 00 00 00 00 fc ff df 48 RSP: 0018:ffffc90005707b10 EFLAGS: 00000046 RAX: ffff8880b9838ca0 RBX: ffff8880b9838c98 RCX: dffffc0000000000 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc90005707a80 RBP: 0000000000000006 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8880763e65f0 R13: 1ffff1100ec7cc54 R14: ffff8880763e62d8 R15: ffff8880763e62a0 FS: 00007fe4d74e2c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f33d0386dd8 CR3: 000000002a9a3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lookup_object_or_alloc lib/debugobjects.c:578 [inline] debug_object_activate+0x244/0x8b0 lib/debugobjects.c:699 debug_rcu_head_queue kernel/rcu/rcu.h:226 [inline] __call_rcu_common kernel/rcu/tree.c:2612 [inline] call_rcu+0x97/0xa70 kernel/rcu/tree.c:2741 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe4d71170a8 Code: 48 8b 05 83 9d 0d 00 64 c7 00 16 00 00 00 83 c8 ff 48 83 c4 20 5b c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 5b 48 8b 15 51 9d 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007fff00b86f88 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007fe4d74e2ae0 RCX: 00007fe4d71170a8 RDX: 000055b9755a74ba RSI: 00007fff00b86788 RDI: 0000000000000008 RBP: 000055bc2e988a70 R08: 0000000000000006 R09: 7ab636633e81d96f R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000002 R13: 000055bc2e96a250 R14: 0000000000000008 R15: 000055bc2e957910