INFO: task syz-executor.1:5110 blocked for more than 143 seconds. Not tainted 6.7.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:19544 pid:5110 tgid:5110 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 __super_lock fs/super.c:56 [inline] __super_lock_excl fs/super.c:71 [inline] deactivate_super+0xad/0xf0 fs/super.c:516 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1256 task_work_run+0x24a/0x300 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x150 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x69/0x2a0 kernel/entry/common.c:296 do_syscall_64+0x52/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f4e5d47de17 RSP: 002b:00007ffe47f656c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f4e5d47de17 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe47f65780 RBP: 00007ffe47f65780 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe47f66840 R13: 00007f4e5d4c73b9 R14: 00000000000a79cb R15: 0000000000000004 INFO: task syz-executor.4:17866 blocked for more than 143 seconds. Not tainted 6.7.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:25616 pid:17866 tgid:17835 ppid:5105 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x703/0xa40 kernel/locking/rwsem.c:1528 __super_lock fs/super.c:58 [inline] super_lock+0x176/0x3a0 fs/super.c:117 super_lock_shared fs/super.c:146 [inline] iterate_supers+0x8c/0x180 fs/super.c:969 quota_sync_all fs/quota/quota.c:69 [inline] __do_sys_quotactl fs/quota/quota.c:938 [inline] __se_sys_quotactl+0x391/0xa30 fs/quota/quota.c:917 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f549a27cae9 RSP: 002b:00007f549af260c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000b3 RAX: ffffffffffffffda RBX: 00007f549a39c120 RCX: 00007f549a27cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff80000100 RBP: 00007f549a2c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f549a39c120 R15: 00007ffe3ddce308 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d92d060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 3 locks held by kworker/u4:3/48: 4 locks held by kworker/0:3/4529: #0: ffff8880b983c358 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffff8880b9829718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:999 #3: ffffffff927986d8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x163/0x530 lib/debugobjects.c:717 2 locks held by getty/4823: #0: ffff88802a5320a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.1/5110: #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:516 4 locks held by syz-executor.4/17841: 1 lock held by syz-executor.4/17866: #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 1 lock held by syz-executor.4/17945: #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 1 lock held by syz-executor.4/17946: #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880187860e0 (&type->s_umount_key#25){++++}-{3:3}, at: super_lock+0x176/0x3a0 fs/super.c:117 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2435 Comm: kworker/u4:8 Not tainted 6.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 Workqueue: loop1 loop_workfn RIP: 0010:match_held_lock+0x0/0xb0 kernel/locking/lockdep.c:5198 Code: 90 31 db 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 75 0d 48 89 d8 48 83 c4 10 5b 41 5e 41 5f c3 e8 a5 f9 ff ff 0f 1f 44 00 00 <55> 53 bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 20 RSP: 0018:ffffc900094f7238 EFLAGS: 00000087 RAX: 0000000000000005 RBX: ffff888025340b38 RCX: ffff888025340000 RDX: ffff888025340000 RSI: ffff88803c4a5918 RDI: ffff888025340b38 RBP: 0000000000000003 R08: ffffffff81c16984 R09: 1ffffd40001f1b2e R10: dffffc0000000000 R11: fffff940001f1b2f R12: 0000000000000246 R13: ffff888025340000 R14: 00000000ffffffff R15: ffff88803c4a5918 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00e426000 CR3: 000000006f76e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5494 [inline] lock_is_held_type+0xa8/0x190 kernel/locking/lockdep.c:5824 lock_is_held include/linux/lockdep.h:288 [inline] xa_entry include/linux/xarray.h:1216 [inline] xas_reload+0xfd/0x470 include/linux/xarray.h:1595 filemap_get_entry+0x32c/0x4d0 mm/filemap.c:1819 shmem_get_folio_gfp+0x241/0x1ee0 mm/shmem.c:1964 shmem_get_folio mm/shmem.c:2119 [inline] shmem_write_begin+0x170/0x4c0 mm/shmem.c:2702 generic_perform_write+0x31b/0x630 mm/filemap.c:3918 shmem_file_write_iter+0xfc/0x120 mm/shmem.c:2878 do_iter_readv_writev+0x330/0x4a0 do_iter_write+0x1f6/0x8d0 fs/read_write.c:860 lo_write_bvec drivers/block/loop.c:249 [inline] lo_write_simple drivers/block/loop.c:271 [inline] do_req_filebacked drivers/block/loop.c:495 [inline] loop_handle_cmd drivers/block/loop.c:1915 [inline] loop_process_work+0x14c5/0x22a0 drivers/block/loop.c:1950 process_one_work kernel/workqueue.c:2630 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2703 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2784 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242