INFO: task syz-executor.3:29651 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.3 D26408 29651 8175 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_attr_set+0x40b/0x740 fs/xfs/libxfs/xfs_attr.c:363 xfs_xattr_set+0xb5/0x120 fs/xfs/xfs_xattr.c:81 __vfs_setxattr+0x10e/0x170 fs/xattr.c:149 __vfs_setxattr_noperm+0x11a/0x420 fs/xattr.c:180 __vfs_setxattr_locked+0x176/0x250 fs/xattr.c:238 vfs_setxattr+0xe5/0x270 fs/xattr.c:255 setxattr+0x23d/0x330 fs/xattr.c:520 BTRFS info (device loop0): enabling inode map caching BTRFS warning (device loop0): excessive commit interval 622039222 path_setxattr+0x170/0x190 fs/xattr.c:539 BTRFS info (device loop0): force zlib compression, level 3 BTRFS info (device loop0): using free space tree __do_sys_setxattr fs/xattr.c:554 [inline] __se_sys_setxattr fs/xattr.c:550 [inline] __x64_sys_setxattr+0xc0/0x160 fs/xattr.c:550 BTRFS info (device loop0): has skinny extents do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f82b7b440c9 Code: Bad RIP value. RSP: 002b:00007f82b60b6168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f82b7c63f80 RCX: 00007f82b7b440c9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 0000000020000280 RBP: 00007f82b7b9fae9 R08: 0000000000000000 R09: 0000000000000000 XFS (loop5): unknown mount option [lazytime]. R10: 000000000000ffd9 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3c9847bf R14: 00007f82b60b6300 R15: 0000000000022000 INFO: task syz-executor.3:29657 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.3 D26136 29657 8175 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 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] vfs_setxattr+0xc7/0x270 fs/xattr.c:254 setxattr+0x23d/0x330 fs/xattr.c:520 path_setxattr+0x170/0x190 fs/xattr.c:539 __do_sys_lsetxattr fs/xattr.c:561 [inline] __se_sys_lsetxattr fs/xattr.c:557 [inline] __x64_sys_lsetxattr+0xbd/0x150 fs/xattr.c:557 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f82b7b440c9 Code: Bad RIP value. RSP: 002b:00007f82b6095168 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f82b7c64050 RCX: 00007f82b7b440c9 RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000020000680 RBP: 00007f82b7b9fae9 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3c9847bf R14: 00007f82b6095300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1565: #0: 00000000645583a6 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 2 locks held by kworker/u4:4/2888: #0: 00000000d7ee51aa ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000b4c626d9 ((work_completion)(&sub_info->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 1 lock held by in:imklog/7829: #0: 000000001effb369 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by syz-executor.0/8210: #0: 00000000d1f197d6 (&type->s_umount_key#65){++++}, at: deactivate_super+0x16c/0x1a0 fs/super.c:359 #1: 00000000f8de3a76 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: 00000000f8de3a76 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 3 locks held by kworker/u4:8/9565: 3 locks held by syz-executor.3/29651: #0: 0000000016f13021 (sb_writers#21){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 0000000016f13021 (sb_writers#21){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000035fea690 (&inode->i_sb->s_type->i_mutex_dir_key){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000035fea690 (&inode->i_sb->s_type->i_mutex_dir_key){++++}, at: vfs_setxattr+0xc7/0x270 fs/xattr.c:254 #2: 000000001ed7d98d (sb_internal#3){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #2: 000000001ed7d98d (sb_internal#3){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 2 locks held by syz-executor.3/29657: #0: 0000000016f13021 (sb_writers#21){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 0000000016f13021 (sb_writers#21){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000035fea690 (&inode->i_sb->s_type->i_mutex_dir_key){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000035fea690 (&inode->i_sb->s_type->i_mutex_dir_key){++++}, at: vfs_setxattr+0xc7/0x270 fs/xattr.c:254 2 locks held by kworker/0:0/30200: #0: 00000000fd1a63c6 ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000001be4e2b4 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 3 locks held by syz-executor.1/32308: #0: 000000006ff9b260 (sb_writers#21){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000006ff9b260 (sb_writers#21){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 000000003eab1632 (&sb->s_type->i_mutex_key#26){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000003eab1632 (&sb->s_type->i_mutex_key#26){+.+.}, at: vfs_setxattr+0xc7/0x270 fs/xattr.c:254 #2: 000000006af6bd00 (sb_internal#3){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #2: 000000006af6bd00 (sb_internal#3){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 3 locks held by syz-executor.1/32311: #0: 000000006ff9b260 (sb_writers#21){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000006ff9b260 (sb_writers#21){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 000000009ef844ef (&inode->i_sb->s_type->i_mutex_dir_key){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000009ef844ef (&inode->i_sb->s_type->i_mutex_dir_key){++++}, at: vfs_setxattr+0xc7/0x270 fs/xattr.c:254 #2: 000000006af6bd00 (sb_internal#3){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #2: 000000006af6bd00 (sb_internal#3){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 1 lock held by syz-executor.3/1044: 1 lock held by syz-executor.4/1035: #0: 00000000d1f197d6 (&type->s_umount_key#65){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 1 lock held by syz-executor.4/1036: #0: 00000000d1f197d6 (&type->s_umount_key#65){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 3 locks held by syz-executor.5/1064: 2 locks held by syz-executor.1/1087: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1565 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1102 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: 0033:0x7fccdcc5619c Code: 01 c2 49 3b 55 08 77 56 8d 55 ff 85 ed 74 35 0f 1f 80 00 00 00 00 48 39 c1 77 1c 49 8b 75 00 49 89 c1 49 29 c9 46 0f b6 0c 0e <45> 84 c9 74 08 44 88 0c 06 49 8b 45 10 48 83 c0 01 49 89 45 10 83 RSP: 002b:00007fccdb209600 EFLAGS: 00000202 RAX: 0000000000b30987 RBX: 00007fccdb209660 RCX: 0000000000000001 RDX: 0000000000000006 RSI: 00007fccd2dea000 RDI: 00007fccdb209700 RBP: 0000000000000102 R08: 0000000000000015 R09: 0000000000000000 R10: 0000000000000000 R11: 00007fccdb209670 R12: 00007fccdb209670 R13: 00007fccdb209700 R14: 0000000000000001 R15: 0000000000000000 FS: 00007fccdb20a700 GS: 0000000000000000 XFS (loop5): unknown mount option [lazytime].