INFO: task syz-executor.5:19780 blocked for more than 143 seconds. Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:20232 pid:19780 ppid:5102 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 btrfs_commit_transaction_async+0x2c6/0x440 fs/btrfs/transaction.c:1971 btrfs_ioctl_start_sync+0xe2/0x1f0 fs/btrfs/ioctl.c:3123 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff9ab48c0c9 RSP: 002b:00007ff9ac26e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff9ab5abf80 RCX: 00007ff9ab48c0c9 RDX: 00000000200024c0 RSI: 0000000080089418 RDI: 0000000000000006 RBP: 00007ff9ab4e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff3d70315f R14: 00007ff9ac26e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d327010 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327810 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d326e40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:2/33: 2 locks held by getty/4753: #0: ffff888027a25098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.1/22583: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 22583 Comm: syz-executor.1 Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:rcu_read_lock_sched_held+0x31/0x110 kernel/rcu/update.c:120 Code: 56 53 48 83 e4 e0 48 83 ec 60 65 48 8b 04 25 28 00 00 00 48 89 44 24 50 49 be 00 00 00 00 00 fc ff df 48 c7 04 24 b3 8a b5 41 <48> c7 44 24 08 54 c5 c3 8c 48 c7 44 24 10 d0 63 73 81 48 89 e3 48 RSP: 0018:ffffc90004fdf200 EFLAGS: 00000286 RAX: 76b5087ab203a100 RBX: dffffc0000000000 RCX: ffffffff816b373b RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e969868 RBP: ffffc90004fdf280 R08: dffffc0000000000 R09: fffffbfff1d2d30e R10: fffffbfff1d2d30e R11: 1ffffffff1d2d30d R12: dffffc0000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: ffffffff81e99c90 FS: 00007f3182db2700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2181ed86a8 CR3: 000000007d8db000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_release+0x95/0x220 include/trace/events/lock.h:69 lock_release+0x81/0x820 kernel/locking/lockdep.c:5679 page_remove_rmap+0x4b9/0xfc0 mm/rmap.c:1454 zap_pte_range+0xa45/0x1c40 mm/memory.c:1405 zap_pmd_range+0x520/0x760 mm/memory.c:1529 zap_pud_range mm/memory.c:1558 [inline] zap_p4d_range mm/memory.c:1579 [inline] unmap_page_range+0x466/0x7a0 mm/memory.c:1600 unmap_vmas+0x379/0x510 mm/memory.c:1685 unmap_region+0x1db/0x2d0 mm/mmap.c:2188 do_mas_align_munmap+0xd18/0x14e0 mm/mmap.c:2444 do_mas_munmap+0x245/0x2b0 mm/mmap.c:2502 __vm_munmap+0x23c/0x340 mm/mmap.c:2779 __do_sys_munmap mm/mmap.c:2804 [inline] __se_sys_munmap mm/mmap.c:2801 [inline] __x64_sys_munmap+0x5c/0x70 mm/mmap.c:2801 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f318208c1a7 Code: 00 00 00 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb 85 66 2e 0f 1f 84 00 00 00 00 00 90 b8 0b 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3182db1f38 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f318208c1a7 RDX: 0000000002000000 RSI: 0000000002000000 RDI: 00007f31787ff000 RBP: 00007f31787ff000 R08: 0000000000000000 R09: 000000000000bb25 R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3182db1fdc R14: 00007f3182db1fe0 R15: 00000000200176c2