INFO: task syz-executor:5812 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-00971-g158f238aa69d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:23072 pid:5812 tgid:5812 ppid:5810 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 io_schedule+0xbf/0x130 kernel/sched/core.c:7577 bit_wait_io+0x15/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit+0x62/0x180 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0xda/0x110 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] do_get_write_access+0x933/0x1270 fs/jbd2/transaction.c:1096 jbd2_journal_get_write_access+0x1d6/0x280 fs/jbd2/transaction.c:1245 __ext4_journal_get_write_access+0x6a/0x390 fs/ext4/ext4_jbd2.c:239 ext4_reserve_inode_write+0x13b/0x270 fs/ext4/inode.c:5830 __ext4_mark_inode_dirty+0x1a6/0x890 fs/ext4/inode.c:6004 ext4_dirty_inode+0xd9/0x130 fs/ext4/inode.c:6041 __mark_inode_dirty+0x1f6/0xe60 fs/fs-writeback.c:2515 generic_update_time+0xcf/0xf0 fs/inode.c:2113 inode_update_time fs/inode.c:2126 [inline] __file_update_time fs/inode.c:2354 [inline] file_update_time+0x17d/0x1c0 fs/inode.c:2384 ext4_page_mkwrite+0x368/0x1760 fs/ext4/inode.c:6159 do_page_mkwrite+0x177/0x380 mm/memory.c:3162 wp_page_shared mm/memory.c:3563 [inline] do_wp_page+0xcbf/0x49d0 mm/memory.c:3713 handle_pte_fault mm/memory.c:5782 [inline] __handle_mm_fault+0x1a93/0x2a10 mm/memory.c:5909 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6077 do_user_addr_fault+0x60d/0x13f0 arch/x86/mm/fault.c:1338 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f15dca6784c RSP: 002b:00007ffcb107ccc0 EFLAGS: 00010246 RAX: 00007f15dab34000 RBX: 000055558b04efb0 RCX: 0000000000000000 RDX: 1ffffffff1619368 RSI: 000055558afd7b58 RDI: 0000000000000001 RBP: 00007ffcb107d1c0 R08: 000055558afd7c20 R09: 000000000000326d R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffcb107d010 R13: 0000000000000005 R14: 00007ffcb107cd30 R15: 00007ffcb107ce00 INFO: task kworker/u8:4:24028 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-00971-g158f238aa69d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:4 state:D stack:23344 pid:24028 tgid:24028 ppid:2 flags:0x00004000 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 io_schedule+0xbf/0x130 kernel/sched/core.c:7577 bit_wait_io+0x15/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit+0x62/0x180 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0xda/0x110 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] do_get_write_access+0x933/0x1270 fs/jbd2/transaction.c:1096 jbd2_journal_get_write_access+0x1d6/0x280 fs/jbd2/transaction.c:1245 __ext4_journal_get_write_access+0x6a/0x390 fs/ext4/ext4_jbd2.c:239 ext4_reserve_inode_write+0x13b/0x270 fs/ext4/inode.c:5830 __ext4_mark_inode_dirty+0x1a6/0x890 fs/ext4/inode.c:6004 ext4_dirty_inode+0xd9/0x130 fs/ext4/inode.c:6041 __mark_inode_dirty+0x1f6/0xe60 fs/fs-writeback.c:2515 mark_inode_dirty_sync include/linux/fs.h:2490 [inline] dquot_free_space include/linux/quotaops.h:380 [inline] dquot_free_block include/linux/quotaops.h:390 [inline] ext4_mb_clear_bb fs/ext4/mballoc.c:6533 [inline] ext4_free_blocks+0xcf3/0x1c80 fs/ext4/mballoc.c:6652 ext4_ext_try_to_merge_up fs/ext4/extents.c:1887 [inline] ext4_ext_try_to_merge+0x5bd/0x770 fs/ext4/extents.c:1914 ext4_convert_unwritten_extents_endio fs/ext4/extents.c:3797 [inline] ext4_ext_handle_unwritten_extents fs/ext4/extents.c:3932 [inline] ext4_ext_map_blocks+0x25ae/0x5a30 fs/ext4/extents.c:4271 ext4_map_create_blocks fs/ext4/inode.c:516 [inline] ext4_map_blocks+0x457/0x1370 fs/ext4/inode.c:702 ext4_convert_unwritten_extents+0x2b7/0x4c0 fs/ext4/extents.c:4876 ext4_convert_unwritten_io_end_vec+0x127/0x280 fs/ext4/extents.c:4915 ext4_end_io_end fs/ext4/page-io.c:185 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:258 [inline] ext4_end_io_rsv_work+0x2ca/0x690 fs/ext4/page-io.c:272 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz.2.1188:30911 blocked for more than 144 seconds. Not tainted 6.12.0-syzkaller-00971-g158f238aa69d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.1188 state:D stack:28384 pid:30911 tgid:30911 ppid:27979 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6785 io_schedule+0xbf/0x130 kernel/sched/core.c:7577 bit_wait_io+0x15/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit+0x62/0x180 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0xda/0x110 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] do_get_write_access+0x933/0x1270 fs/jbd2/transaction.c:1096 jbd2_journal_get_write_access+0x1d6/0x280 fs/jbd2/transaction.c:1245 __ext4_journal_get_write_access+0x6a/0x390 fs/ext4/ext4_jbd2.c:239 ext4_reserve_inode_write+0x13b/0x270 fs/ext4/inode.c:5830 __ext4_mark_inode_dirty+0x1a6/0x890 fs/ext4/inode.c:6004 ext4_dirty_inode+0xd9/0x130 fs/ext4/inode.c:6041 __mark_inode_dirty+0x1f6/0xe60 fs/fs-writeback.c:2515 generic_update_time+0xcf/0xf0 fs/inode.c:2113 inode_update_time fs/inode.c:2126 [inline] __file_update_time fs/inode.c:2354 [inline] file_update_time+0x17d/0x1c0 fs/inode.c:2384 ext4_page_mkwrite+0x368/0x1760 fs/ext4/inode.c:6159 do_page_mkwrite+0x177/0x380 mm/memory.c:3162 do_shared_fault mm/memory.c:5373 [inline] do_fault mm/memory.c:5435 [inline] do_pte_missing+0x29e/0x3e70 mm/memory.c:3965 handle_pte_fault mm/memory.c:5766 [inline] __handle_mm_fault+0x100a/0x2a10 mm/memory.c:5909 handle_mm_fault+0x3fa/0xaa0 mm/memory.c:6077 do_user_addr_fault+0x60d/0x13f0 arch/x86/mm/fault.c:1338 handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x5c/0xc0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f3494651ba4 RSP: 002b:00007ffd5c3b9630 EFLAGS: 00010246 RAX: 00000000005ffdf0 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000001b30020000 RSI: 0000000000600000 RDI: 00007f3494872290 RBP: 00007ffd5c3b988c R08: 0000000000000004 R09: 0000000000040000 R10: 0000000000000011 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000013835b R14: 000000000013831e R15: 00007ffd5c3b98e0 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e1b8540 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1b8540 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1b8540 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 2 locks held by klogd/5189: #0: ffff8880b863eed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 #1: ffff8880b8628a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 2 locks held by getty/5588: #0: ffff8880368f20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5812: #0: ffff88802bf55808 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff88802bf55808 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6243 #1: ffff88814e2c2518 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x177/0x380 mm/memory.c:3162 #2: ffff88814e2c6958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 6 locks held by kworker/u8:19/9677: #0: ffff88814428f148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000597fd80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88814e2c20e0 (&type->s_umount_key#52){++++}-{3:3}, at: super_trylock_shared+0x1e/0xf0 fs/super.c:562 #3: ffff88814e2c4b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1b3/0x820 mm/page-writeback.c:2683 #4: ffff88814e2c6958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 #5: ffff888078109658 (&ei->i_data_sem){++++}-{3:3}, at: ext4_map_blocks+0x352/0x1370 fs/ext4/inode.c:701 4 locks held by kworker/u8:4/24028: #0: ffff8880367d0948 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90005147d80 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88814e2c6958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 #3: ffff88807810bdf8 (&ei->i_data_sem){++++}-{3:3}, at: ext4_map_blocks+0x352/0x1370 fs/ext4/inode.c:701 3 locks held by syz.6.1186/30897: #0: ffff888033aed808 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff888033aed808 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6243 #1: ffff88814e2c2518 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x177/0x380 mm/memory.c:3162 #2: ffff88814e2c6958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 3 locks held by syz.2.1188/30911: #0: ffff88802fcd9070 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff88802fcd9070 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6243 #1: ffff88814e2c2518 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x177/0x380 mm/memory.c:3162 #2: ffff88814e2c6958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-syzkaller-00971-g158f238aa69d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 12 Comm: kworker/u8:1 Not tainted 6.12.0-syzkaller-00971-g158f238aa69d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:smp_call_function_many_cond+0xa6c/0x1300 kernel/smp.c:845 Code: ff df 48 8d 7b 10 48 89 f8 48 c1 e8 03 80 3c 08 00 0f 85 04 07 00 00 48 8b 44 24 18 48 8d 7b 18 48 b9 00 00 00 00 00 fc ff df <48> 89 43 10 48 89 f8 48 c1 e8 03 80 3c 08 00 0f 85 89 07 00 00 48 RSP: 0018:ffffc90000117998 EFLAGS: 00000246 RAX: ffffffff813236e0 RBX: ffff8880b8646c20 RCX: dffffc0000000000 RDX: ffff88801cef4880 RSI: ffffffff8181722a RDI: ffff8880b8646c38 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880b8646c28 R15: ffff8880b8740140 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cb74af5680 CR3: 000000000df7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x40/0x90 kernel/smp.c:1051 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2085 [inline] text_poke_bp_batch+0x561/0x760 arch/x86/kernel/alternative.c:2378 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_flush arch/x86/kernel/alternative.c:2483 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_enable_cpuslocked+0x1b7/0x270 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate mm/kfence/core.c:849 [inline] toggle_allocation_gate+0xfc/0x260 mm/kfence/core.c:841 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244