BTRFS warning (device ): duplicate device /dev/loop1 devid 1 generation 8 scanned by systemd-udevd (26754) ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 INFO: task syz-executor.2:8162 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.2 D24392 8162 1 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 btrfs_tree_lock+0x4fe/0x810 fs/btrfs/locking.c:233 btrfs_init_new_buffer fs/btrfs/extent-tree.c:8145 [inline] btrfs_alloc_tree_block+0x9b1/0x15f0 fs/btrfs/extent-tree.c:8284 alloc_tree_block_no_bg_flush+0x1b6/0x250 fs/btrfs/ctree.c:1039 __btrfs_cow_block+0x3c7/0x10a0 fs/btrfs/ctree.c:1094 btrfs_cow_block+0x276/0x840 fs/btrfs/ctree.c:1557 btrfs_search_slot+0x66a/0x1ee0 fs/btrfs/ctree.c:2881 btrfs_update_root+0xc9/0x6b0 fs/btrfs/root-tree.c:134 commit_fs_roots+0x3b5/0x530 fs/btrfs/transaction.c:1286 btrfs_commit_transaction+0x8ca/0x2480 fs/btrfs/transaction.c:2178 btrfs_sync_fs+0x120/0x490 fs/btrfs/super.c:1279 __sync_filesystem fs/sync.c:39 [inline] sync_filesystem+0x1b5/0x250 fs/sync.c:67 generic_shutdown_super+0x70/0x370 fs/super.c:442 kill_anon_super+0x36/0x60 fs/super.c:1032 btrfs_kill_super+0x49/0x550 fs/btrfs/super.c:2221 deactivate_locked_super+0x94/0x160 fs/super.c:329 deactivate_super+0x174/0x1a0 fs/super.c:360 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098 task_work_run+0x148/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7d6f0b8537 Code: Bad RIP value. RSP: 002b:00007ffdb799b098 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f7d6f0b8537 RDX: 00007ffdb799b16b RSI: 000000000000000a RDI: 00007ffdb799b160 RBP: 00007ffdb799b160 R08: 00000000ffffffff R09: 00007ffdb799af30 R10: 0000555556bcc903 R11: 0000000000000246 R12: 00007f7d6f111b24 R13: 00007ffdb799c220 R14: 0000555556bcc810 R15: 00007ffdb799c260 Showing all locks held in the system: 2 locks held by kworker/u4:0/7: #0: 000000006581145e (&rq->lock){-.-.}, at: idle_balance kernel/sched/fair.c:9702 [inline] #0: 000000006581145e (&rq->lock){-.-.}, at: pick_next_task_fair+0x556/0x1570 kernel/sched/fair.c:6841 #1: 0000000015b48394 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 2 locks held by kworker/u4:3/107: #0: 000000006581145e (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 000000006581145e (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 00000000f6b482b6 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 00000000f6b482b6 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 1 lock held by khungtaskd/1570: #0: 00000000f6b482b6 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 3 locks held by syz-executor.2/8162: #0: 00000000b992c3a0 (&type->s_umount_key#51){++++}, at: deactivate_super+0x16c/0x1a0 fs/super.c:359 #1: 000000005c0cc1c6 (&fs_info->reloc_mutex){+.+.}, at: btrfs_commit_transaction+0x80b/0x2480 fs/btrfs/transaction.c:2120 #2: 0000000006807624 (&fs_info->tree_log_mutex){+.+.}, at: btrfs_commit_transaction+0x8c2/0x2480 fs/btrfs/transaction.c:2176 1 lock held by btrfs-transacti/26721: #0: 00000000bb554d70 (&fs_info->transaction_kthread_mutex){+.+.}, at: transaction_kthread+0xfa/0x490 fs/btrfs/disk-io.c:1765 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4694 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:check_kcov_mode kernel/kcov.c:67 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x14/0x50 kernel/kcov.c:101 Code: 35 00 e9 23 fe ff ff 90 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 RSP: 0018:ffff8880a095f7a8 EFLAGS: 00000293 RAX: ffff8880a0954600 RBX: 0000000000000001 RCX: ffffffff83771e23 RDX: 0000000080000001 RSI: ffffffff83771e31 RDI: 0000000000000005 RBP: ffffffff88b3e120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff88b3e0e0 R14: ffff88809a1f9710 R15: ffff8880a095f9e0 FS: 00007fb4989788c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb495f08000 CR3: 00000000a12bd000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_preemption_disabled+0x41/0x280 lib/smp_processor_id.c:51 rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:348 [inline] rcu_is_watching+0x12/0xc0 kernel/rcu/tree.c:1025 rcu_read_lock_held+0xba/0x110 kernel/rcu/update.c:283 hlist_bl_first_rcu include/linux/rculist_bl.h:24 [inline] __d_lookup_rcu+0x3d7/0x6b0 fs/dcache.c:2164 lookup_fast+0x11b/0x1080 fs/namei.c:1572 walk_component+0xde/0xda0 fs/namei.c:1807 link_path_walk.part.0+0x901/0x1230 fs/namei.c:2142 link_path_walk fs/namei.c:2073 [inline] path_openat+0x1db/0x2df0 fs/namei.c:3536 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:0x7fb497f07840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007ffd83c24be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffd83c24ef0 RCX: 00007fb497f07840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000562d0bdd3870 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000562d0bdc6040 R14: 00007ffd83c24eb0 R15: 0000562d0bdd3690