INFO: task syz-executor.1:10129 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.1 D24208 10129 8133 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor.0 (16397) BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 8 scanned by syz-executor.2 (16392) BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 8 scanned by systemd-udevd (16415) BTRFS warning (device ): duplicate device /dev/loop2 devid 1 generation 8 scanned by systemd-udevd (16422) f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 f2fs_setattr+0x5b6/0x12b0 fs/f2fs/file.c:852 BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 8 scanned by systemd-udevd (16425) BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor.4 (16407) notify_change+0x70b/0xfc0 fs/attr.c:334 do_truncate+0x134/0x1f0 fs/open.c:63 handle_truncate fs/namei.c:3009 [inline] do_last fs/namei.c:3427 [inline] path_openat+0x2308/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 BTRFS warning (device ): duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor.3 (16421) do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f08bd5bd0f9 Code: Bad RIP value. RSP: 002b:00007f08b770e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f08bd6dd050 RCX: 00007f08bd5bd0f9 BTRFS warning (device ): duplicate device /dev/loop3 devid 1 generation 8 scanned by systemd-udevd (16444) RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00007f08bd618ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffcf52016f R14: 00007f08b770e300 R15: 0000000000022000 BTRFS warning (device ): duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor.0 (16429) Showing all locks held in the system: 4 locks held by kworker/u4:2/37: #0: 00000000d4130b54 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 BTRFS info (device loop2): enabling inode map caching #1: 000000001af0b884 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 BTRFS warning (device loop2): excessive commit interval 622039222 #2: 0000000074f3c2c4 (&type->s_umount_key#50){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 BTRFS info (device loop2): force zlib compression, level 3 BTRFS info (device loop2): using free space tree #3: 00000000a20613d0 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 BTRFS info (device loop2): has skinny extents 1 lock held by khungtaskd/1570: #0: 000000005bdd8522 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7798: #0: 000000006870f173 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor.4 (16446) 2 locks held by kworker/0:3/8146: #0: 000000000d449982 ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000a570c8e9 ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 BTRFS warning (device ): duplicate device /dev/loop4 devid 1 generation 8 scanned by systemd-udevd (16475) 1 lock held by syz-executor.5/8169: #0: 0000000016149c91 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #0: 0000000016149c91 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 4 locks held by syz-executor.1/10070: 3 locks held by syz-executor.1/10129: #0: 00000000fff9a0ab (sb_writers#15){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000fff9a0ab (sb_writers#15){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000ba3263ec (&sb->s_type->i_mutex_key#22){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000ba3263ec (&sb->s_type->i_mutex_key#22){+.+.}, at: do_truncate+0x125/0x1f0 fs/open.c:61 #2: 00000000a20613d0 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 BTRFS warning (device ): duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor.3 (16454) 1 lock held by syz-executor.2/16435: #0: 0000000016149c91 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: 0000000016149c91 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x256/0x6f0 kernel/rcu/tree_exp.h:667 BTRFS warning (device ): duplicate device /dev/loop3 devid 1 generation 8 scanned by systemd-udevd (16492) 3 locks held by syz-executor.3/16454: f2fs_msg: 1070 callbacks suppressed F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 2 locks held by syz-executor.0/16490: 2 locks held by systemd-udevd/16492: #0: 000000005bb1e288 (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xfc/0x870 fs/block_dev.c:1806 F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 #1: 00000000cd04d724 (&obj_hash[i].lock){-.-.}, at: debug_object_active_state lib/debugobjects.c:725 [inline] #1: 00000000cd04d724 (&obj_hash[i].lock){-.-.}, at: debug_object_active_state+0x104/0x330 lib/debugobjects.c:713 F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 2 locks held by syz-executor.4/16495: F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 ============================================= NMI backtrace for cpu 1 F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/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 F2FS-fs (loop1): sanity_check_inode: inode (ino=8) has corrupted i_extra_isize: 36, max: 24 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: 16490 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:do_syscall_64+0x37e/0x620 arch/x86/entry/common.c:297 Code: fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e d4 01 00 00 83 63 08 f9 0f 1f 44 00 00 e8 d9 0b 62 00 0f 00 2d 02 e4 5f 07 <48> 83 c4 08 5b 5d 41 5c 41 5d e9 c3 0b 62 00 e8 be 0b 62 00 48 b8 RSP: 0018:ffff888056e97f28 EFLAGS: 00000046 RAX: 0000000000040000 RBX: ffff8880b0544200 RCX: ffffc9000632b000 RDX: 0000000000040000 RSI: ffffffff81007997 RDI: ffff8880b0544208 RBP: ffff888056e97f58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f3230f00700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c1ba80000 CR3: 000000009c962000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f323298e1d7 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:00007f3230efff38 EFLAGS: 00000246 ORIG_RAX: 000000000000000b RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f323298e1d7 RDX: 0000000001000000 RSI: 0000000001000000 RDI: 00007f3228ae0000 RBP: 00007f3228ae0000 R08: 0000000000000000 R09: 00000000000050e9 R10: 0000000001000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3230efffdc R14: 00007f3230efffe0 R15: 000000002000a2c2