INFO: task kworker/u8:1:12 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:kworker/u8:1 state:D stack:24176 pid:12 tgid:12 ppid:2 flags:0x00004000 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work 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_lock+0x112/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xda/0x110 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:221 [inline] __lock_buffer+0x67/0x70 fs/buffer.c:71 lock_buffer include/linux/buffer_head.h:426 [inline] do_get_write_access+0x8c3/0x1270 fs/jbd2/transaction.c:972 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_ext_get_access+0x87/0x120 fs/ext4/extents.c:168 ext4_convert_unwritten_extents_endio fs/ext4/extents.c:3788 [inline] ext4_ext_handle_unwritten_extents fs/ext4/extents.c:3932 [inline] ext4_ext_map_blocks+0x2526/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+0x958/0x1b30 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 kworker/u8:4:81 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:kworker/u8:4 state:D stack:23056 pid:81 tgid:81 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-8:0) 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_lock+0x112/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xda/0x110 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:221 [inline] __lock_buffer+0x67/0x70 fs/buffer.c:71 lock_buffer include/linux/buffer_head.h:426 [inline] do_get_write_access+0x8c3/0x1270 fs/jbd2/transaction.c:972 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_mb_mark_context+0x176/0xdb0 fs/ext4/mballoc.c:4003 ext4_mb_mark_diskspace_used+0x467/0x8c0 fs/ext4/mballoc.c:4133 ext4_mb_new_blocks+0xa33/0x4e80 fs/ext4/mballoc.c:6235 ext4_ext_map_blocks+0x1bca/0x5a30 fs/ext4/extents.c:4379 ext4_map_create_blocks fs/ext4/inode.c:516 [inline] ext4_map_blocks+0x457/0x1370 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+0x198c/0x32f0 fs/ext4/inode.c:2735 ext4_writepages+0x303/0x730 fs/ext4/inode.c:2824 do_writepages+0x1b3/0x820 mm/page-writeback.c:2683 __writeback_single_inode+0x166/0xfa0 fs/fs-writeback.c:1680 writeback_sb_inodes+0x603/0xfa0 fs/fs-writeback.c:1976 __writeback_inodes_wb+0xff/0x2e0 fs/fs-writeback.c:2047 wb_writeback+0x72d/0xb60 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+0x8c3/0xbc0 fs/fs-writeback.c:2343 process_one_work+0x958/0x1b30 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-executor:5842 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-executor state:D stack:23456 pid:5842 tgid:5842 ppid:5840 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 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d8/0x200 kernel/locking/rwsem.c:1578 ext4_da_map_blocks fs/ext4/inode.c:1809 [inline] ext4_da_get_block_prep+0x6a0/0x11e0 fs/ext4/inode.c:1873 __block_write_begin_int+0x4fb/0x16e0 fs/buffer.c:2121 block_page_mkwrite+0x3d9/0x4c0 fs/buffer.c:2634 ext4_page_mkwrite+0x8e2/0x1760 fs/ext4/inode.c:6180 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:0x7fc62da678fc RSP: 002b:00007ffced076500 EFLAGS: 00010202 RAX: 00007fc62bdbc000 RBX: 0000555580aa71d0 RCX: 0000000000000006 RDX: 1ffffffff0909b3e RSI: 0000555580a9c9b8 RDI: 0000000000000040 RBP: 00007ffced076a00 R08: 0000555580a9c9c0 R09: 0000000000001367 R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffced076850 R13: 0000000000000004 R14: 00007ffced076570 R15: 00007ffced076640 Showing all locks held in the system: 4 locks held by kworker/u8:1/12: #0: ffff8880351e4948 ((wq_completion)ext4-rsv-conversion){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc90000117d80 ((work_completion)(&ei->i_rsv_conversion_work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffff88814c258958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 #3: ffff888077c8bdf8 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x352/0x1370 fs/ext4/inode.c:701 1 lock held by khungtaskd/30: #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 6 locks held by kworker/u8:4/81: #0: ffff88802028a948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc9000239fd80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffff88814c2540e0 (&type->s_umount_key#31){++++}-{4:4}, at: super_trylock_shared+0x1e/0xf0 fs/super.c:562 #3: ffff88814c256b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1b3/0x820 mm/page-writeback.c:2683 #4: ffff88814c258958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 #5: ffff888077c8ef80 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x352/0x1370 fs/ext4/inode.c:701 1 lock held by syslogd/5203: #0: ffff8880b873ed58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 4 locks held by klogd/5210: #0: ffff8880b873ed58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 #1: ffff8880b8728a88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: fs_reclaim_acquire mm/page_alloc.c:3868 [inline] #1: ffff8880b8728a88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: fs_reclaim_acquire+0xae/0x150 mm/page_alloc.c:3859 #2: ffffffff9a55d648 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_deactivate+0x13b/0x370 lib/debugobjects.c:873 #3: ffff8880b873ed58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 2 locks held by getty/5604: #0: ffff88814c2380a0 (&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 4 locks held by syz-executor/5842: #0: ffff88807ee184a8 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff88807ee184a8 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6243 #1: ffff88814c254518 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x177/0x380 mm/memory.c:3162 #2: ffff888077c8c108 (mapping.invalidate_lock){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:873 [inline] #2: ffff888077c8c108 (mapping.invalidate_lock){++++}-{4:4}, at: ext4_page_mkwrite+0x37e/0x1760 fs/ext4/inode.c:6161 #3: ffff888077c8bdf8 (&ei->i_data_sem){++++}-{4:4}, at: ext4_da_map_blocks fs/ext4/inode.c:1809 [inline] #3: ffff888077c8bdf8 (&ei->i_data_sem){++++}-{4:4}, at: ext4_da_get_block_prep+0x6a0/0x11e0 fs/ext4/inode.c:1873 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 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: 6809 Comm: kworker/u8:19 Not tainted 6.12.0-syzkaller-07749-g28eb75e178d3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] RIP: 0010:_raw_spin_lock_bh+0x1b/0x40 kernel/locking/spinlock.c:178 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 53 48 89 fb 48 8b 7c 24 08 be 01 02 00 00 e8 59 67 38 f6 48 8d 7b 18 <45> 31 c9 31 c9 ff 74 24 08 41 b8 01 00 00 00 31 d2 31 f6 e8 ed b8 RSP: 0018:ffffc900100a7b10 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff8880785287c0 RCX: 0000000000000001 RDX: 1ffff1100a753dd9 RSI: 0000000000000201 RDI: ffff8880785287d8 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000001 R10: 000000000000001f R11: 0000000000000002 R12: ffffffff8ad8fd30 R13: ffff8880785287c0 R14: ffff888057f998f8 R15: ffff88807e5a3540 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dde803a0b8 CR3: 000000000db7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_lock_bh include/linux/spinlock.h:356 [inline] batadv_nc_purge_paths+0xca/0x390 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x94a/0x1060 net/batman-adv/network-coding.c:722 process_one_work+0x958/0x1b30 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