F2FS-fs (loop2): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop0): Inconsistent segment (6) type [1, 0] in SSA and SIT F2FS-fs (loop0): Inconsistent segment (6) type [1, 0] in SSA and SIT Bluetooth: hci1: command 0x0409 tx timeout INFO: task syz-executor.0:10838 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.0 D29120 10838 8122 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] do_last fs/namei.c:3324 [inline] path_openat+0x1071/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f6d5a95d0a9 Code: Bad RIP value. RSP: 002b:00007f6d54aae168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f6d5aa7d050 RCX: 00007f6d5a95d0a9 RDX: 0000000000000000 RSI: 0000000000000022 RDI: 0000000020000100 RBP: 00007f6d5a9b8ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffef5b95eef R14: 00007f6d54aae300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/1:0/19: #0: 000000005cdfc920 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000f68bdfca ((linkwatch_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000000e7c66a6 (rtnl_mutex){+.+.}, at: linkwatch_event+0xb/0x60 net/core/link_watch.c:236 1 lock held by khungtaskd/1570: #0: 000000004db7ec9c (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7798: #0: 000000001d0bde05 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by kworker/1:1/8143: #0: 000000005cdfc920 ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000058097e6a (deferred_process_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000000e7c66a6 (rtnl_mutex){+.+.}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:150 4 locks held by kworker/u4:4/8814: 4 locks held by kworker/u4:5/9372: #0: 000000004f631629 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000008683d6d ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000ab85adc5 (&type->s_umount_key#65){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 00000000e9217f51 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 4 locks held by kworker/u4:6/9387: #0: 000000004f631629 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000295dfd6d ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000c385fcb3 (&type->s_umount_key#65){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 000000000c7df2fb (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 5 locks held by syz-executor.0/10737: 2 locks held by syz-executor.0/10838: #0: 00000000e1f30ce9 (sb_writers#16){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000e1f30ce9 (sb_writers#16){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 000000006bc5de12 (&type->i_mutex_dir_key#9){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 000000006bc5de12 (&type->i_mutex_dir_key#9){++++}, at: do_last fs/namei.c:3324 [inline] #1: 000000006bc5de12 (&type->i_mutex_dir_key#9){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 4 locks held by syz-executor.2/10914: 2 locks held by syz-executor.2/10985: #0: 00000000f7c717b1 (sb_writers#16){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000f7c717b1 (sb_writers#16){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 0000000061d4a379 (&type->i_mutex_dir_key#9){++++}, at: inode_lock include/linux/fs.h:748 [inline] #1: 0000000061d4a379 (&type->i_mutex_dir_key#9){++++}, at: do_last fs/namei.c:3324 [inline] #1: 0000000061d4a379 (&type->i_mutex_dir_key#9){++++}, at: path_openat+0x1071/0x2df0 fs/namei.c:3537 1 lock held by syz-executor.1/13273: #0: 000000000e7c66a6 (rtnl_mutex){+.+.}, at: rtnl_lock net/core/rtnetlink.c:77 [inline] #0: 000000000e7c66a6 (rtnl_mutex){+.+.}, at: rtnetlink_rcv_msg+0x3fe/0xb80 net/core/rtnetlink.c:4779 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 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: 8814 Comm: kworker/u4:4 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: netns cleanup_net 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:ffff88809ca8f670 EFLAGS: 00000046 RAX: 1ffff110139505bb RBX: ffff88809ca82dc8 RCX: 0000000000000001 RDX: 1ffff110139505b8 RSI: 00000000ffffffff RDI: ffff88809ca82dd8 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809ca82dc8 R13: dffffc0000000000 R14: ffffffff89f85f60 R15: ffff88809ca82540 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00246b000 CR3: 0000000097a2b000 CR4: 00000000003406f0 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] ___might_sleep+0x1ea/0x2b0 kernel/sched/core.c:6157 get_next_corpse net/netfilter/nf_conntrack_core.c:1908 [inline] nf_ct_iterate_cleanup+0x24c/0x520 net/netfilter/nf_conntrack_core.c:1930 nf_ct_iterate_cleanup_net net/netfilter/nf_conntrack_core.c:2015 [inline] nf_ct_iterate_cleanup_net+0x113/0x170 net/netfilter/nf_conntrack_core.c:2000 masq_device_event+0xd6/0x110 net/ipv4/netfilter/nf_nat_masquerade_ipv4.c:100 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93 call_netdevice_notifiers net/core/dev.c:1762 [inline] dev_close_many+0x323/0x670 net/core/dev.c:1514 rollback_registered_many+0x2f7/0xe70 net/core/dev.c:8173 unregister_netdevice_many.part.0+0x1a/0x300 net/core/dev.c:9324 unregister_netdevice_many net/core/dev.c:9323 [inline] default_device_exit_batch+0x2fa/0x3c0 net/core/dev.c:9795 ops_exit_list+0xf9/0x150 net/core/net_namespace.c:156 cleanup_net+0x3b4/0x8b0 net/core/net_namespace.c:554 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