F2FS-fs (loop2): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop2): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop2): Inconsistent segment (6) type [1, 0] in SSA and SIT Bluetooth: hci6: command 0x0406 tx timeout INFO: task kworker/u4:6:9385 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. kworker/u4:6 D26152 9385 2 0x80000000 Workqueue: writeback wb_workfn (flush-7:2) 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 f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 f2fs_write_inode+0x500/0x600 fs/f2fs/inode.c:630 write_inode fs/fs-writeback.c:1244 [inline] __writeback_single_inode+0x733/0x11d0 fs/fs-writeback.c:1442 writeback_sb_inodes+0x537/0xef0 fs/fs-writeback.c:1647 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1716 wb_writeback+0x841/0xcc0 fs/fs-writeback.c:1822 wb_check_old_data_flush fs/fs-writeback.c:1924 [inline] wb_do_writeback fs/fs-writeback.c:1977 [inline] wb_workfn+0x8ba/0x1250 fs/fs-writeback.c:2006 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 000000002fa88e18 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7798: #0: 00000000497cefd4 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/u4:6/9385: #0: 000000006da36b28 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000009d799f25 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000143c84ff (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 4 locks held by syz-executor.2/9751: 2 locks held by syz-executor.0/9853: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/9854: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/9855: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/9856: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/10481: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/10482: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/10485: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.0/10486: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.1/10807: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.1/10811: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.1/10815: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.1/10828: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.1/10832: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 2 locks held by syz-executor.1/10893: #0: 00000000a35f38a2 (&type->s_umount_key#67){.+.+}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 00000000d768bac8 (&bdi->wb_switch_rwsem){+.+.}, at: sync_inodes_sb+0x180/0x9a0 fs/fs-writeback.c:2457 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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: 9751 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:down_write+0x18/0x90 kernel/locking/rwsem.c:70 Code: 01 00 00 00 5b c3 e8 17 79 7f f9 eb e5 0f 1f 44 00 00 55 31 d2 be 45 00 00 00 53 48 89 fb 48 c7 c7 c0 0d 6a 88 e8 c8 8b 28 f9 <31> d2 45 31 c9 41 b8 01 00 00 00 ff 74 24 10 48 8d 7b 60 31 c9 31 RSP: 0018:ffff88803bad7738 EFLAGS: 00000246 RAX: 0000000000000007 RBX: ffff8880a199c048 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff88803ac365a4 RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000011 R13: ffff8880a0af4900 R14: ffff8880a199c048 R15: ffff8880a1ab1340 FS: 00007f2492c3f700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f88f5f56000 CR3: 00000000a3604000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __get_victim fs/f2fs/gc.c:1045 [inline] f2fs_gc+0x6ba/0x8c90 fs/f2fs/gc.c:1191 f2fs_balance_fs+0x71a/0xd80 fs/f2fs/segment.c:513 f2fs_mknod+0x3be/0x4f0 fs/f2fs/namei.c:726 vfs_mknod+0x4f6/0x860 fs/namei.c:3721 unix_mknod net/unix/af_unix.c:1019 [inline] unix_bind+0x76a/0xa40 net/unix/af_unix.c:1060 __sys_bind+0x1e9/0x250 net/socket.c:1594 __do_sys_bind net/socket.c:1605 [inline] __se_sys_bind net/socket.c:1603 [inline] __x64_sys_bind+0x6f/0xb0 net/socket.c:1603 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f24946cd0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f2492c3f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 00007f24947ecf80 RCX: 00007f24946cd0a9 RDX: 0000000000000056 RSI: 00000000200001c0 RDI: 0000000000000004 RBP: 00007f2494728ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffccb8b6cff R14: 00007f2492c3f300 R15: 0000000000022000