INFO: task kworker/u8:0:11 blocked for more than 143 seconds. Not tainted 6.12.0-next-20241120-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:0 state:D stack:19960 pid:11 tgid:11 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-8:0) Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:247 __wait_on_bit+0xb0/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:105 [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+0x35f/0x880 mm/page-writeback.c:2702 __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+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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:5165 blocked for more than 143 seconds. Not tainted 6.12.0-next-20241120-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jbd2/sda1-8 state:D stack:24144 pid:5165 tgid:5165 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:247 __wait_on_bit+0xb0/0x2f0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d5/0x260 kernel/sched/wait_bit.c:64 wait_on_buffer include/linux/buffer_head.h:414 [inline] jbd2_journal_commit_transaction+0x34cb/0x66d0 fs/jbd2/commit.c:810 kjournald2+0x41c/0x7b0 fs/jbd2/journal.c:201 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz-executor:5815 blocked for more than 144 seconds. Not tainted 6.12.0-next-20241120-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20984 pid:5815 tgid:5815 ppid:5812 flags:0x00000002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:247 __wait_on_bit+0xb0/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:105 [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+0x2ee/0xe90 fs/fs-writeback.c:2515 generic_update_time fs/inode.c:2112 [inline] inode_update_time fs/inode.c:2125 [inline] __file_update_time fs/inode.c:2353 [inline] file_update_time+0x3d2/0x450 fs/inode.c:2383 ext4_page_mkwrite+0x206/0xdf0 fs/ext4/inode.c:6159 do_page_mkwrite+0x198/0x480 mm/memory.c:3176 wp_page_shared mm/memory.c:3577 [inline] do_wp_page+0x2352/0x5160 mm/memory.c:3727 handle_pte_fault+0x1117/0x66b0 mm/memory.c:5817 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6112 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:0x7fab21e563f5 RSP: 002b:00007fff8bae1230 EFLAGS: 00010202 RAX: 00007fab1cbfdbac RBX: 00007fff8bae1340 RCX: 0000000000000000 RDX: 00007fab1cbfdba8 RSI: 0000000000000008 RDI: 00007fff8bae1340 RBP: 00000000000003e6 R08: 0000000000000000 R09: 0000000000000000 R10: 00007fff8bae1320 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000002454 R14: ffffffffffffdbac R15: 0000000000002454 INFO: task syz.9.730:11627 blocked for more than 144 seconds. Not tainted 6.12.0-next-20241120-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.9.730 state:D stack:25920 pid:11627 tgid:11627 ppid:9543 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:247 __wait_on_bit+0xb0/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:105 [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+0x2ee/0xe90 fs/fs-writeback.c:2515 generic_update_time fs/inode.c:2112 [inline] inode_update_time fs/inode.c:2125 [inline] __file_update_time fs/inode.c:2353 [inline] file_update_time+0x3d2/0x450 fs/inode.c:2383 ext4_page_mkwrite+0x206/0xdf0 fs/ext4/inode.c:6159 do_page_mkwrite+0x198/0x480 mm/memory.c:3176 do_shared_fault mm/memory.c:5398 [inline] do_fault mm/memory.c:5460 [inline] do_pte_missing mm/memory.c:3979 [inline] handle_pte_fault+0x122e/0x66b0 mm/memory.c:5801 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6112 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:0x7fd42ae5cc66 RSP: 002b:00007ffc71b65610 EFLAGS: 00010202 RAX: 0000001b2fb20000 RBX: 00007fd42bc65720 RCX: 0000001b2f720210 RDX: 0000001b2fb1fffc RSI: 00000000003ffdf0 RDI: 00007fd42bc65700 RBP: 0000000000000000 R08: 00007fd42b120000 R09: 00007fd42b122000 R10: 00007fd42bc65700 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000001b0be INFO: task syz.0.731:11638 blocked for more than 144 seconds. Not tainted 6.12.0-next-20241120-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.731 state:D stack:25904 pid:11638 tgid:11638 ppid:9541 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:247 __wait_on_bit+0xb0/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:105 [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+0x2ee/0xe90 fs/fs-writeback.c:2515 generic_update_time fs/inode.c:2112 [inline] inode_update_time fs/inode.c:2125 [inline] __file_update_time fs/inode.c:2353 [inline] file_update_time+0x3d2/0x450 fs/inode.c:2383 ext4_page_mkwrite+0x206/0xdf0 fs/ext4/inode.c:6159 do_page_mkwrite+0x198/0x480 mm/memory.c:3176 do_shared_fault mm/memory.c:5398 [inline] do_fault mm/memory.c:5460 [inline] do_pte_missing mm/memory.c:3979 [inline] handle_pte_fault+0x122e/0x66b0 mm/memory.c:5801 __handle_mm_fault mm/memory.c:5944 [inline] handle_mm_fault+0x1106/0x1bb0 mm/memory.c:6112 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:0x7f6d54a51ba4 RSP: 002b:00007ffd692fc4d0 EFLAGS: 00010246 RAX: 00000000003ffdf0 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000001b2fc20000 RSI: 0000000000400000 RDI: 00007f6d54c72290 RBP: 00007ffd692fc72c R08: 0000000000000004 R09: 0000000000040000 R10: 0000000000000011 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000007902a R14: 0000000000078b6d R15: 00007ffd692fc780 Showing all locks held in the system: 6 locks held by kworker/u8:0/11: #0: ffff8880206ff948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff8880206ff948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90000107d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90000107d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff8880356fc0e0 (&type->s_umount_key#31){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff8880356feb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1776 [inline] #3: ffff8880356feb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x1bf/0x3c0 fs/ext4/inode.c:2823 #4: ffff88814e300958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 #5: ffff88807d3f5bb0 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x7a6/0x1990 fs/ext4/inode.c:701 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by getty/5589: #0: ffff888035b020a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000330b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5815: #0: ffff8880797d7070 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff8880797d7070 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6278 #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff88814e300958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 3 locks held by syz.9.730/11627: #0: ffff88806d2e4b68 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff88806d2e4b68 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6278 #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff88814e300958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 3 locks held by syz.0.731/11638: #0: ffff88806162ed18 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff88806162ed18 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6278 #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff8880356fc518 (sb_pagefaults){++++}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff88814e300958 (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-next-20241120-syzkaller #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:234 [inline] watchdog+0xffb/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/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: 6371 Comm: kworker/u8:11 Not tainted 6.12.0-next-20241120-syzkaller #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:check_kcov_mode kernel/kcov.c:194 [inline] RIP: 0010:write_comp_data kernel/kcov.c:246 [inline] RIP: 0010:__sanitizer_cov_trace_cmp8+0x35/0x90 kernel/kcov.c:294 Code: 0c 25 00 d6 03 00 65 8b 05 d0 58 64 7e 25 00 01 ff 00 74 10 3d 00 01 00 00 75 57 83 b9 1c 16 00 00 00 74 4e 8b 81 f8 15 00 00 <83> f8 03 75 43 48 8b 91 00 16 00 00 44 8b 89 fc 15 00 00 49 c1 e1 RSP: 0018:ffffc90003f2f7b8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff8880b8600000 RCX: ffff8880796bbc00 RDX: 0000000000000000 RSI: 0000000000000015 RDI: 0000000000000015 RBP: ffffc90003f2f970 R08: ffffffff8553a9fe R09: 1ffffffff2851510 R10: dffffc0000000000 R11: fffffbfff2851511 R12: 0000000000000015 R13: 1ffff110170c759e R14: 0000000000000015 R15: ffff8880b863acf0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff9d0480d8 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: crng_make_state+0x2ae/0xa80 drivers/char/random.c:377 _get_random_bytes+0xd7/0x2c0 drivers/char/random.c:406 eth_random_addr include/linux/etherdevice.h:238 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:756 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x358/0xb50 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244