INFO: task kworker/u8:6:1307 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:6 state:D stack:23088 pid:1307 tgid:1307 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-8:0) 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_mb_mark_context+0x1dc/0xdb0 fs/ext4/mballoc.c:4016 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 jbd2/sda1-8:5176 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:jbd2/sda1-8 state:D stack:26192 pid:5176 tgid:5176 ppid:2 flags:0x00004000 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] __wait_on_buffer+0x64/0x70 fs/buffer.c:123 wait_on_buffer include/linux/buffer_head.h:414 [inline] jbd2_journal_commit_transaction+0x3bf0/0x6ac0 fs/jbd2/commit.c:810 kjournald2+0x1f8/0x760 fs/jbd2/journal.c:201 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:5826 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-executor state:D stack:23856 pid:5826 tgid:5826 ppid:5824 flags:0x00000002 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/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:0x7f1e8f06784c RSP: 002b:00007ffc201e9200 EFLAGS: 00010202 RAX: 00007f1e8ded8000 RBX: 0000555588078ad0 RCX: 0000000000000004 RDX: 1ffffffff0457334 RSI: 000055558807b828 RDI: 0000000000000010 RBP: 00007ffc201e9700 R08: 000055558807b838 R09: 0000000000002e66 R10: 0000000000000001 R11: 0000000000000246 R12: 00007ffc201e9550 R13: 0000000000000004 R14: 00007ffc201e9270 R15: 00007ffc201e9340 INFO: task syz.4.10203:20582 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.10203 state:D stack:26144 pid:20582 tgid:20578 ppid:19433 flags:0x00004004 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 folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1309 folio_wait_writeback+0x3c/0x90 mm/page-writeback.c:3189 __filemap_fdatawait_range+0x123/0x210 mm/filemap.c:533 file_write_and_wait_range+0x101/0x140 mm/filemap.c:792 ext4_sync_file+0x290/0xf30 fs/ext4/fsync.c:158 vfs_fsync_range+0x136/0x220 fs/sync.c:187 __do_sys_msync+0x3c6/0x5b0 mm/msync.c:96 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:0x7f81e4d7e759 RSP: 002b:00007f81e5aca038 EFLAGS: 00000246 ORIG_RAX: 000000000000001a RAX: ffffffffffffffda RBX: 00007f81e4f36058 RCX: 00007f81e4d7e759 RDX: 0000000400000004 RSI: 0080100000000005 RDI: 000000001ffff000 RBP: 00007f81e4df175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f81e4f36058 R15: 00007ffeb2526df8 INFO: task syz.7.10222:20658 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.7.10222 state:D stack:26528 pid:20658 tgid:20652 ppid:20025 flags:0x00004004 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 folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1309 folio_wait_writeback+0x3c/0x90 mm/page-writeback.c:3189 __filemap_fdatawait_range+0x123/0x210 mm/filemap.c:533 file_write_and_wait_range+0x101/0x140 mm/filemap.c:792 ext4_sync_file+0x290/0xf30 fs/ext4/fsync.c:158 vfs_fsync_range+0x136/0x220 fs/sync.c:187 __do_sys_msync+0x3c6/0x5b0 mm/msync.c:96 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:0x7f5925b7e759 RSP: 002b:00007f5923fd5038 EFLAGS: 00000246 ORIG_RAX: 000000000000001a RAX: ffffffffffffffda RBX: 00007f5925d36058 RCX: 00007f5925b7e759 RDX: 0000000400000004 RSI: 0080100000000005 RDI: 000000001ffff000 RBP: 00007f5925bf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5925d36058 R15: 00007fff435b52a8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8ddb7980 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8ddb7980 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ddb7980 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 6 locks held by kworker/u8:6/1307: #0: ffff88801fec2148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x1212/0x1b30 kernel/workqueue.c:3204 #1: ffffc90004f67d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x8bb/0x1b30 kernel/workqueue.c:3205 #2: ffff88814e61a0e0 (&type->s_umount_key#32){++++}-{3:3}, at: super_trylock_shared+0x1e/0xf0 fs/super.c:562 #3: ffff88814e61cb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: do_writepages+0x1b3/0x820 mm/page-writeback.c:2683 #4: ffff88814e61e958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 fs/jbd2/transaction.c:448 #5: ffff888078a12a28 (&ei->i_data_sem){++++}-{3:3}, at: ext4_map_blocks+0x352/0x1370 fs/ext4/inode.c:701 2 locks held by kworker/u8:7/3437: 2 locks held by getty/5602: #0: ffff8880343c20a0 (&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/5826: #0: ffff888028de8148 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff888028de8148 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x13e/0x980 mm/memory.c:6243 #1: ffff88814e61a518 (sb_pagefaults){.+.+}-{0:0}, at: do_page_mkwrite+0x177/0x380 mm/memory.c:3162 #2: ffff88814e61e958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xf6c/0x1430 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+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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 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: bat_events batadv_nc_worker RIP: 0010:kasan_check_range+0x1a/0x1a0 mm/kasan/generic.c:188 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 48 85 f6 0f 84 50 01 00 00 48 89 f8 41 54 44 0f b6 c2 48 01 f0 55 <53> 0f 82 c6 00 00 00 48 b8 ff ff ff ff ff 7f ff ff 48 39 f8 0f 83 RSP: 0018:ffffc90000117938 EFLAGS: 00000086 RAX: ffffffff969a0c48 RBX: 0000000000000022 RCX: ffffffff81694d6e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff969a0c40 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000000a R11: 0000000000000002 R12: 0000000000000000 R13: ffff88801bef6530 R14: 0000000000000022 R15: ffff88801bef5a00 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cf8d85f680 CR3: 000000000db7c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class+0x4e/0x130 kernel/locking/lockdep.c:228 check_wait_context kernel/locking/lockdep.c:4826 [inline] __lock_acquire+0x415/0x3ce0 kernel/locking/lockdep.c:5152 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x16a/0x1060 net/batman-adv/network-coding.c:719 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