INFO: task syz-executor:5820 blocked for more than 143 seconds. Not tainted 6.12.0-next-20241122-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20528 pid:5820 tgid:5820 ppid:5818 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:0x7fa4ef54654a RSP: 002b:00007ffd46043348 EFLAGS: 00010202 RAX: 00007fa4e9a00000 RBX: 000055557a631c70 RCX: 00000000000069a2 RDX: 00000000000069a2 RSI: 000055557a64f2d0 RDI: 00007fa4e9a00000 RBP: 000055557a63f1b0 R08: 00007fa4e9a00000 R09: 000055557a63ce90 R10: 73d1ba39dd8ae65e R11: 0000000000000202 R12: 0000000000000001 R13: 0000000000000000 R14: 00007ffd46043360 R15: 0000000000000000 INFO: task syz.6.274:7461 blocked for more than 143 seconds. Not tainted 6.12.0-next-20241122-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.274 state:D stack:26240 pid:7461 tgid:7461 ppid:6337 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:0x7f8e6905ccd7 RSP: 002b:00007ffe6491c370 EFLAGS: 00010202 RAX: 0000001b2f320000 RBX: 00007f8e69e65720 RCX: 0000001b2ed20210 RDX: 0000001b2f31fffc RSI: 00000000005ffdf0 RDI: 00007f8e69e65700 RBP: 0000000000000000 R08: 00007f8e69336038 R09: 00007f8e69322000 R10: 00007f8e69e65700 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 00000000000086ea INFO: task syz.1.275:7470 blocked for more than 144 seconds. Not tainted 6.12.0-next-20241122-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.275 state:D stack:26704 pid:7470 tgid:7470 ppid:5847 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:0x7fbe34c51c11 RSP: 002b:00007ffc27c1abc0 EFLAGS: 00010246 RAX: 00000000003ffdf0 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000001b2fe20000 RSI: 0000000000400000 RDI: 00007fbe34e72290 RBP: 00007ffc27c1ae1c R08: 0000000000000004 R09: 0000000000040000 R10: 0000000000000011 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000002c671 R14: 000000000002c213 R15: 00007ffc27c1ae70 Showing all locks held in the system: 4 locks held by kworker/u8:0/11: #0: ffff8880b873e8d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 #1: ffff8880b8728948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 #2: ffffffff9a5a2b28 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_deactivate+0x158/0x390 lib/debugobjects.c:873 #3: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #3: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: ieee80211_sta_active_ibss+0xc7/0x330 net/mac80211/ibss.c:642 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 6 locks held by kworker/u8:8/3501: #0: ffff8881436d4948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff8881436d4948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc9000d15fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000d15fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff88803469c0e0 (&type->s_umount_key#31){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff88803469eb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1776 [inline] #3: ffff88803469eb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x1bf/0x3c0 fs/ext4/inode.c:2823 #4: ffff888033c98958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 #5: ffff888068591658 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x7a6/0x1990 fs/ext4/inode.c:701 1 lock held by klogd/5197: #0: ffff8880b873e8d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 2 locks held by getty/5589: #0: ffff88814eba00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032f32f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/5820: #0: ffff88802a9e6c40 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff88802a9e6c40 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6278 #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff888033c98958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 3 locks held by syz.6.274/7461: #0: ffff888061dfeec8 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff888061dfeec8 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6278 #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff888033c98958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 3 locks held by syz.1.275/7470: #0: ffff88802fd8d4a8 (&vma->vm_lock->lock){++++}-{4:4}, at: vma_start_read include/linux/mm.h:716 [inline] #0: ffff88802fd8d4a8 (&vma->vm_lock->lock){++++}-{4:4}, at: lock_vma_under_rcu+0x34b/0x790 mm/memory.c:6278 #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1725 [inline] #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1890 [inline] #1: ffff88803469c518 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1ef/0xdf0 fs/ext4/inode.c:6158 #2: ffff888033c98958 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x1e94/0x2110 fs/jbd2/transaction.c:448 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-next-20241122-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 3564 Comm: kworker/u8:11 Not tainted 6.12.0-next-20241122-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x1397/0x2100 Code: 3c 10 00 74 08 48 89 df e8 d6 a6 8f 00 48 83 3b 00 0f 84 e1 02 00 00 4c 89 ef 48 8b 74 24 38 44 89 fa 48 89 e9 e8 69 9e 00 00 <45> 31 f6 85 c0 0f 84 81 00 00 00 48 ba 00 00 00 00 00 fc ff df 48 RSP: 0018:ffffc9000d50f850 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffffff93c5dc70 RCX: 09a954793343ce00 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9428a968 RBP: 254f3d0c90780d5f R08: ffffffff9428a96f R09: 1ffffffff285152d R10: dffffc0000000000 R11: fffffbfff285152e R12: ffff8880322d9e00 R13: ffff8880322d9e00 R14: 1ffff1100645b52a R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a06bfa3350 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:356 [inline] batadv_nc_purge_paths+0xe8/0x3b0 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x365/0x610 net/batman-adv/network-coding.c:722 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