INFO: task syz-executor.5:7169 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D26136 7169 8174 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 xlog_grant_head_wait+0x13b/0xcd0 fs/xfs/xfs_log.c:263 xlog_grant_head_check+0x3c8/0x420 fs/xfs/xfs_log.c:325 xfs_log_reserve+0x347/0xa70 fs/xfs/xfs_log.c:454 xfs_trans_reserve+0x63a/0x9c0 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x2f7/0x700 fs/xfs/xfs_trans.c:289 xfs_qm_qino_alloc+0x19a/0x950 fs/xfs/xfs_qm.c:777 xfs_qm_init_quotainos+0x563/0x730 fs/xfs/xfs_qm.c:1548 xfs_qm_init_quotainfo+0x146/0xd70 fs/xfs/xfs_qm.c:659 xfs_qm_mount_quotas+0x55/0x680 fs/xfs/xfs_qm.c:1432 xfs_mountfs+0x17e2/0x1bf0 fs/xfs/xfs_mount.c:1001 xfs_fs_fill_super+0xd0e/0x1540 fs/xfs/xfs_super.c:1720 mount_bdev+0x2fc/0x3b0 fs/super.c:1158 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7ffaf2ac95fa Code: Bad RIP value. RSP: 002b:00007ffaf1039f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000bb1e RCX: 00007ffaf2ac95fa RDX: 000000002000bb00 RSI: 0000000020000040 RDI: 00007ffaf1039fe0 RBP: 00007ffaf103a020 R08: 00007ffaf103a020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000002000bb00 R13: 0000000020000040 R14: 00007ffaf1039fe0 R15: 0000000020000100 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 000000007d357fe1 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7811: #0: 000000004a34d1ba (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by syz-executor.0/8148: 1 lock held by syz-executor.2/8172: #0: 000000005f08fa39 (&type->s_umount_key#57){++++}, at: deactivate_super+0x16c/0x1a0 fs/super.c:359 2 locks held by syz-executor.4/8173: #0: 0000000009720b41 (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xfc/0x870 fs/block_dev.c:1806 #1: 00000000ad72e8ac (loop_ctl_mutex){+.+.}, at: lo_release+0x1a/0x1f0 drivers/block/loop.c:1790 2 locks held by kworker/u4:12/12612: 2 locks held by kworker/u4:1/4881: #0: 00000000b941fd3a (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000b941fd3a (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 00000000986f0651 ((work_completion)(&sdata->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 2 locks held by syz-executor.5/7169: #0: 00000000f190880a (&type->s_umount_key#51/1){+.+.}, at: alloc_super fs/super.c:226 [inline] #0: 00000000f190880a (&type->s_umount_key#51/1){+.+.}, at: sget_userns+0x20b/0xcd0 fs/super.c:519 UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) #1: 000000000dd41e34 (sb_internal#2){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #1: 000000000dd41e34 (sb_internal#2){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 1 lock held by syz-executor.0/9466: #0: 00000000311c4ee4 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000311c4ee4 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 1 lock held by syz-executor.4/9482: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9473 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:match_held_lock kernel/locking/lockdep.c:3477 [inline] RIP: 0010:__lock_is_held+0xcc/0x160 kernel/locking/lockdep.c:3728 Code: c0 75 2f 83 c5 01 41 39 af 80 08 00 00 7e 70 48 63 c5 48 8d 04 80 49 8d 1c c4 48 8d 7b 10 48 89 f8 48 c1 e8 03 42 80 3c 28 00 <75> 6e 4c 3b 73 10 75 95 83 7c 24 04 ff b8 01 00 00 00 74 32 48 8d RSP: 0018:ffff8880ba107d98 EFLAGS: 00000046 RAX: 1ffff1101233fd85 RBX: ffff8880919fec18 RCX: ffffffff81543149 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8880919fec28 RBP: 0000000000000002 R08: ffffffff8c665058 R09: 0000000000000000 R10: 0000000000000005 R11: ffffffff8c66505b R12: ffff8880919febc8 R13: dffffc0000000000 R14: ffff8880ba124cd8 R15: ffff8880919fe340 FS: 00007f6e8ab03700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6e827e2e00 CR3: 000000008b07f000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held_type+0x10d/0x210 kernel/locking/lockdep.c:3946 lock_is_held include/linux/lockdep.h:344 [inline] __run_hrtimer kernel/time/hrtimer.c:1433 [inline] __hrtimer_run_queues+0x5c8/0xe60 kernel/time/hrtimer.c:1527 hrtimer_interrupt+0x326/0x9e0 kernel/time/hrtimer.c:1585 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline] smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x50 kernel/kcov.c:101 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 00 01 1f 00 75 2b <8b> 90 60 13 00 00 83 fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 RSP: 0018:ffff8880b5a47a88 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: ffff8880919fe340 RBX: ffffea00017c58c0 RCX: ffffffff817fd72c RDX: 0000000000000000 RSI: ffffffff817fd73a RDI: 0000000000000007 RBP: ffffea00017c58c0 R08: 0000000000001000 R09: 0000000000000000 R10: 0000000000000007 R11: 0000000000000000 R12: ffffffff81809780 R13: 0000000000000000 R14: dead000000000100 R15: ffff8880b5a47d90 constant_test_bit arch/x86/include/asm/bitops.h:317 [inline] PageReclaim include/linux/page-flags.h:319 [inline] set_page_dirty+0x15a/0x640 mm/page-writeback.c:2563 shmem_write_end+0x11d/0x740 mm/shmem.c:2478 generic_perform_write+0x2ae/0x4d0 mm/filemap.c:3181 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f6e8c542e4f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007f6e8ab02f10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f6e8c542e4f RDX: 0000000000100000 RSI: 00007f6e826e3000 RDI: 0000000000000004 RBP: 00007f6e826e3000 R08: 0000000000000000 R09: 0000000000000bea R10: 0000000000100000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f6e8ab02fdc R14: 00007f6e8ab02fe0 R15: 0000000020000cc2