INFO: task syz-executor:5846 blocked for more than 143 seconds. Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:23568 pid:5846 tgid:5846 ppid:5844 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe5a/0x5ae0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 io_schedule+0xbf/0x130 kernel/sched/core.c:7681 bit_wait_io+0x15/0xe0 kernel/sched/wait_bit.c:247 __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:105 [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/0x4930 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:0x7f549ae56465 RSP: 002b:00007ffc75a8a860 EFLAGS: 00010216 RAX: 00007f5494b94504 RBX: 00007ffc75a8a970 RCX: 0000000000000000 RDX: 00007f5494b94500 RSI: 0000000000000008 RDI: 00007ffc75a8a970 RBP: 00000000000003e6 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffc75a8a950 R11: 0000000000000000 R12: 0000000000000000 R13: 000000000006bafc R14: fffffffffff94504 R15: 000000000006bafc INFO: task syz.2.1322:14602 blocked for more than 144 seconds. Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.1322 state:D stack:25808 pid:14602 tgid:14602 ppid:13925 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe5a/0x5ae0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 io_schedule+0xbf/0x130 kernel/sched/core.c:7681 bit_wait_io+0x15/0xe0 kernel/sched/wait_bit.c:247 __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:105 [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:0x7f4fc5c5d536 RSP: 002b:00007ffc05390f10 EFLAGS: 00010202 RAX: 0000000000020008 RBX: 00007f4fc6a65720 RCX: 0000000000000000 RDX: 0000001b31e00000 RSI: 0000000000000008 RDI: 00007f4fc6a65720 RBP: ffffffff81d4c53c R08: 00007f4fc53ff048 R09: 00007f4fc5f22000 R10: 00007f4fc53ff008 R11: 0000000000000006 R12: 000000000000088e R13: 00007f4fc5f36038 R14: 00000000000001a7 R15: fffffffffffe0000 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8ddba840 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddba840 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddba840 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by getty/5619: #0: ffff8880313a40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fc62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5846: #0: ffff888034965ec8 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff888034965ec8 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6243 #1: ffff888034f60518 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x177/0x380 mm/memory.c:3162 #2: ffff888034f64958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 4 locks held by kworker/u8:19/6612: #0: ffff88814e4d4148 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000bbffd80 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffff888034f64958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 #3: ffff88807acf1658 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x352/0x1370 fs/ext4/inode.c:701 3 locks held by syz.1.1255/13766: 6 locks held by kworker/u8:0/14065: #0: ffff8881436d6148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc900105c7d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffff888034f600e0 (&type->s_umount_key#32){++++}-{4:4}, at: super_trylock_shared+0x1e/0xf0 fs/super.c:562 #3: ffff888034f62b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1b3/0x820 mm/page-writeback.c:2683 #4: ffff888034f64958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 #5: ffff88806776bdf8 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x352/0x1370 fs/ext4/inode.c:701 3 locks held by syz-executor/14446: #0: ffff888034f60420 (sb_writers#4){.+.+}-{0:0}, at: filename_create+0x10d/0x530 fs/namei.c:4073 #1: ffff88807af4f0f0 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline] #1: ffff88807af4f0f0 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: filename_create+0x1c2/0x530 fs/namei.c:4080 #2: ffff888034f64958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 3 locks held by syz-executor/14453: #0: ffff888034f60420 (sb_writers#4){.+.+}-{0:0}, at: filename_create+0x10d/0x530 fs/namei.c:4073 #1: ffff8880620983f8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline] #1: ffff8880620983f8 (&type->i_mutex_dir_key#3/1){+.+.}-{4:4}, at: filename_create+0x1c2/0x530 fs/namei.c:4080 #2: ffff888034f64958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 3 locks held by syz.2.1322/14602: #0: ffff8880304dd808 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff8880304dd808 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6243 #1: ffff888034f60518 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x177/0x380 mm/memory.c:3162 #2: ffff888034f64958 (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: 31 Comm: khungtaskd Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #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: 13766 Comm: syz.1.1255 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x36/0xc0 kernel/rcu/tree.c:737 Code: 7e e8 3e 14 a2 09 48 c7 c3 a8 81 03 00 83 f8 07 89 c5 0f 87 82 00 00 00 48 8d 3c ed a0 fb 81 8d 48 b8 00 00 00 00 00 fc ff df <48> 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed a0 fb 81 8d 48 RSP: 0018:ffffc9000f23f6c0 EFLAGS: 00000297 RAX: dffffc0000000000 RBX: 00000000000381a8 RCX: ffffffff816a7bf9 RDX: fffffbfff2039a3b RSI: ffffffff8bb05da0 RDI: ffffffff8d81fba8 RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff2039a3a R10: ffffffff901cd1d7 R11: 0000000000000002 R12: ffffffff8ddba840 R13: 0000000000000201 R14: 000000000003da8c R15: ffff88806d029548 FS: 00007f115249a6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000009 CR3: 000000008bec0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release include/trace/events/lock.h:69 [inline] lock_release+0x4f6/0x6f0 kernel/locking/lockdep.c:5860 rcu_lock_release include/linux/rcupdate.h:347 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] page_ref_add_unless.constprop.0+0xec/0x390 include/linux/page_ref.h:239 folio_ref_add_unless include/linux/page_ref.h:248 [inline] folio_try_get include/linux/page_ref.h:264 [inline] filemap_get_entry+0x152/0x3c0 mm/filemap.c:1852 shmem_get_folio_gfp+0x221/0x1530 mm/shmem.c:2259 shmem_fault+0x200/0xae0 mm/shmem.c:2536 __do_fault+0x10a/0x490 mm/memory.c:4882 do_shared_fault mm/memory.c:5361 [inline] do_fault mm/memory.c:5435 [inline] do_pte_missing+0x1a8/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+0x7a3/0x13f0 arch/x86/mm/fault.c:1389 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: 0010:__put_user_8+0x11/0x20 arch/x86/lib/putuser.S:107 Code: 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 89 cb 48 c1 fb 3f 48 09 d9 0f 01 cb <48> 89 01 31 c9 0f 01 ca c3 cc cc cc cc 66 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000f23feb0 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000009 RDX: 1ffff1100626daa3 RSI: ffffffff813d8970 RDI: ffff88803136d518 RBP: 0000000000000009 R08: 0000000000000000 R09: fffffbfff2039a3a R10: ffffffff901cd1d7 R11: 0000000000000000 R12: ffff88803136bc00 R13: 000000000000009e R14: 0000000000000000 R15: 0000000000000000 shstk_prctl+0x333/0x6a0 arch/x86/kernel/shstk.c:540 do_arch_prctl_64+0x249/0x710 arch/x86/kernel/process_64.c:974 __do_sys_arch_prctl arch/x86/kernel/process_64.c:987 [inline] __se_sys_arch_prctl arch/x86/kernel/process_64.c:983 [inline] __x64_sys_arch_prctl+0x63/0xc0 arch/x86/kernel/process_64.c:983 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f115177e819 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f115249a038 EFLAGS: 00000246 ORIG_RAX: 000000000000009e RAX: ffffffffffffffda RBX: 00007f1151936080 RCX: 00007f115177e819 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 0000000000005005 RBP: 00007f11517f175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f1151936080 R15: 00007fff88481b18