INFO: task syz-executor:5829 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:20528 pid:5829 tgid:5829 ppid:5827 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6785 io_schedule+0x8d/0x110 kernel/sched/core.c:7577 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xb2/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] do_get_write_access+0x121/0xe60 fs/jbd2/transaction.c:1096 jbd2_journal_get_write_access+0x1ee/0x240 fs/jbd2/transaction.c:1245 __ext4_journal_get_write_access+0x1c8/0x680 fs/ext4/ext4_jbd2.c:239 ext4_reserve_inode_write+0x271/0x360 fs/ext4/inode.c:5830 __ext4_mark_inode_dirty+0x1ec/0x880 fs/ext4/inode.c:6004 ext4_dirty_inode+0xce/0x110 fs/ext4/inode.c:6041 __mark_inode_dirty+0x2f0/0xe90 fs/fs-writeback.c:2515 generic_update_time fs/inode.c:2113 [inline] inode_update_time fs/inode.c:2126 [inline] __file_update_time fs/inode.c:2354 [inline] file_update_time+0x3d2/0x450 fs/inode.c:2384 ext4_page_mkwrite+0x206/0xdf0 fs/ext4/inode.c:6159 do_page_mkwrite+0x19a/0x480 mm/memory.c:3162 wp_page_shared mm/memory.c:3563 [inline] do_wp_page+0x23d3/0x52d0 mm/memory.c:3713 handle_pte_fault+0x10e3/0x6820 mm/memory.c:5782 __handle_mm_fault mm/memory.c:5909 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6077 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7fc3dc26784c RSP: 002b:00007ffc7a004680 EFLAGS: 00010212 RAX: 00007fc3da2ac000 RBX: 0000555565e1ed20 RCX: 0000000000000004 RDX: 1ffffffff1788364 RSI: 0000555565db1268 RDI: 0000000000000010 RBP: 00007ffc7a004b80 R08: 0000555565db1288 R09: 000000000000106c R10: 00007fc3dd1880b8 R11: 0000000000000246 R12: 00007ffc7a0049d0 R13: 0000000000000006 R14: 00007ffc7a0046f0 R15: 00007ffc7a0047c0 INFO: task kworker/u8:12:6224 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:12 state:D stack:20184 pid:6224 tgid:6224 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-8:0) Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6785 io_schedule+0x8d/0x110 kernel/sched/core.c:7577 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xb2/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] do_get_write_access+0x121/0xe60 fs/jbd2/transaction.c:1096 jbd2_journal_get_write_access+0x1ee/0x240 fs/jbd2/transaction.c:1245 __ext4_journal_get_write_access+0x1c8/0x680 fs/ext4/ext4_jbd2.c:239 ext4_mb_mark_context+0x345/0xfb0 fs/ext4/mballoc.c:4016 ext4_mb_mark_diskspace_used+0x3c8/0x960 fs/ext4/mballoc.c:4133 ext4_mb_new_blocks+0x1494/0x4e30 fs/ext4/mballoc.c:6235 ext4_ext_map_blocks+0x1beb/0x7e40 fs/ext4/extents.c:4379 ext4_map_create_blocks fs/ext4/inode.c:516 [inline] ext4_map_blocks+0x8bf/0x1990 fs/ext4/inode.c:702 mpage_map_one_extent fs/ext4/inode.c:2219 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2272 [inline] ext4_do_writepages+0x20ef/0x3d10 fs/ext4/inode.c:2735 ext4_writepages+0x213/0x3c0 fs/ext4/inode.c:2824 do_writepages+0x361/0x880 mm/page-writeback.c:2683 __writeback_single_inode+0x14f/0x10d0 fs/fs-writeback.c:1680 writeback_sb_inodes+0x80c/0x1370 fs/fs-writeback.c:1976 __writeback_inodes_wb+0x11b/0x260 fs/fs-writeback.c:2047 wb_writeback+0x427/0xbc0 fs/fs-writeback.c:2158 wb_check_old_data_flush fs/fs-writeback.c:2262 [inline] wb_do_writeback fs/fs-writeback.c:2315 [inline] wb_workfn+0xba1/0x1090 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz.4.720:13482 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.4.720 state:D stack:25920 pid:13482 tgid:13482 ppid:7517 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6785 io_schedule+0x8d/0x110 kernel/sched/core.c:7577 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xb2/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] do_get_write_access+0x121/0xe60 fs/jbd2/transaction.c:1096 jbd2_journal_get_write_access+0x1ee/0x240 fs/jbd2/transaction.c:1245 __ext4_journal_get_write_access+0x1c8/0x680 fs/ext4/ext4_jbd2.c:239 ext4_reserve_inode_write+0x271/0x360 fs/ext4/inode.c:5830 __ext4_mark_inode_dirty+0x1ec/0x880 fs/ext4/inode.c:6004 ext4_dirty_inode+0xce/0x110 fs/ext4/inode.c:6041 __mark_inode_dirty+0x2f0/0xe90 fs/fs-writeback.c:2515 generic_update_time fs/inode.c:2113 [inline] inode_update_time fs/inode.c:2126 [inline] __file_update_time fs/inode.c:2354 [inline] file_update_time+0x3d2/0x450 fs/inode.c:2384 ext4_page_mkwrite+0x206/0xdf0 fs/ext4/inode.c:6159 do_page_mkwrite+0x19a/0x480 mm/memory.c:3162 do_shared_fault mm/memory.c:5373 [inline] do_fault mm/memory.c:5435 [inline] do_pte_missing mm/memory.c:3965 [inline] handle_pte_fault+0x11fa/0x6820 mm/memory.c:5766 __handle_mm_fault mm/memory.c:5909 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6077 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7fce8a45cd06 RSP: 002b:00007fff5e867810 EFLAGS: 00010202 RAX: 0000001b30a1f000 RBX: 00007fce8b265720 RCX: 0000001b30a1eff8 RDX: ffffffff8100b96d RSI: 0000000000000008 RDI: 00007fce8b265720 RBP: 00000000000001fb R08: 00007fce8a720000 R09: 00007fce8a722000 R10: 000000008100b971 R11: 0000000000000002 R12: ffffffff8100b58e R13: 00007fce8a736018 R14: 0000000000000008 R15: 000000000000062d INFO: task syz.8.721:13484 blocked for more than 145 seconds. Not tainted 6.12.0-syzkaller-00971-g158f238aa69d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.721 state:D stack:23808 pid:13484 tgid:13484 ppid:13016 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x184f/0x4c30 kernel/sched/core.c:6693 __schedule_loop kernel/sched/core.c:6770 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6785 io_schedule+0x8d/0x110 kernel/sched/core.c:7577 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xb2/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] do_get_write_access+0x121/0xe60 fs/jbd2/transaction.c:1096 jbd2_journal_get_write_access+0x1ee/0x240 fs/jbd2/transaction.c:1245 __ext4_journal_get_write_access+0x1c8/0x680 fs/ext4/ext4_jbd2.c:239 ext4_reserve_inode_write+0x271/0x360 fs/ext4/inode.c:5830 __ext4_mark_inode_dirty+0x1ec/0x880 fs/ext4/inode.c:6004 ext4_dirty_inode+0xce/0x110 fs/ext4/inode.c:6041 __mark_inode_dirty+0x2f0/0xe90 fs/fs-writeback.c:2515 generic_update_time fs/inode.c:2113 [inline] inode_update_time fs/inode.c:2126 [inline] __file_update_time fs/inode.c:2354 [inline] file_update_time+0x3d2/0x450 fs/inode.c:2384 ext4_page_mkwrite+0x206/0xdf0 fs/ext4/inode.c:6159 do_page_mkwrite+0x19a/0x480 mm/memory.c:3162 do_shared_fault mm/memory.c:5373 [inline] do_fault mm/memory.c:5435 [inline] do_pte_missing mm/memory.c:3965 [inline] handle_pte_fault+0x11fa/0x6820 mm/memory.c:5766 __handle_mm_fault mm/memory.c:5909 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6077 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f017765cc66 RSP: 002b:00007fff9e449250 EFLAGS: 00010202 RAX: 0000001b32420000 RBX: 00007f0178465720 RCX: 0000001b32020210 RDX: 0000001b3241fffc RSI: 00000000003ffdf0 RDI: 00007f0178465700 RBP: 0000000000000000 R08: 00007f0177920000 R09: 00007f0177922000 R10: 00007f0178465700 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000047 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e939f60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e939f60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e939f60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/5597: #0: ffff8880353a20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5829: #0: ffff888033ea1658 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff888033ea1658 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6243 #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff888032afa958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 6 locks held by kworker/u8:12/6224: #0: ffff888140af3948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888140af3948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90004e07d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004e07d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff888032aee0e0 (&type->s_umount_key#33){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff888032af8b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1776 [inline] #3: ffff888032af8b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x1bf/0x3c0 fs/ext4/inode.c:2823 #4: ffff888032afa958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 #5: ffff8880784c6f80 (&ei->i_data_sem){++++}-{3:3}, at: ext4_map_blocks+0x7a6/0x1990 fs/ext4/inode.c:701 3 locks held by syz.4.720/13482: #0: ffff888060c4c3d0 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff888060c4c3d0 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6243 #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff888032afa958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 3 locks held by syz.8.721/13484: #0: ffff88805e13a148 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff88805e13a148 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6243 #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff888032aee518 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff888032afa958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 ============================================= NMI backtrace for cpu 1 CPU: 1 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+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 36 Comm: kworker/u8:3 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 nsim_dev_trap_report_work RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:122 [inline] RIP: 0010:lockdep_softirqs_off+0xa8/0x440 kernel/locking/lockdep.c:4562 Code: 85 56 02 00 00 83 3d 76 86 ad 0e 00 0f 84 7f 01 00 00 65 8b 05 49 5f 92 7e 85 c0 0f 85 70 01 00 00 65 4c 8b 3c 25 c0 d7 03 00 <49> 8d 9f dc 0a 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 28 84 c0 0f RSP: 0018:ffffc90000ac7920 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffc90000ac7a20 RCX: 0000000000000000 RDX: 0000000000000040 RSI: 0000000000000201 RDI: ffffffff87246ca7 RBP: ffffc90000ac79d0 R08: ffffc90000ac79ff R09: ffffc90000ac79c0 R10: dffffc0000000000 R11: fffff52000158f40 R12: dffffc0000000000 R13: dffffc0000000000 R14: 1ffff92000158f28 R15: ffff88801da9da00 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005633802c5df0 CR3: 000000000e736000 CR4: 0000000000350ef0 Call Trace: __local_bh_disable_ip+0xfb/0x220 kernel/softirq.c:322 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:125 [inline] _raw_spin_lock_bh+0x1c/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:816 [inline] nsim_dev_trap_report_work+0x6a7/0xab0 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244