Bluetooth: hci3: command 0x0406 tx timeout Bluetooth: hci4: command 0x0406 tx timeout ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 Bluetooth: hci5: command 0x0406 tx timeout INFO: task syz-executor.5:11116 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.5 D24208 11116 8134 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 f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 __write_data_page+0xab8/0x22d0 fs/f2fs/data.c:1975 f2fs_write_cache_pages+0x96e/0x13e0 fs/f2fs/data.c:2107 __f2fs_write_data_pages fs/f2fs/data.c:2217 [inline] f2fs_write_data_pages+0xcc3/0x1060 fs/f2fs/data.c:2244 do_writepages+0xe5/0x290 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446 file_write_and_wait_range+0x93/0x100 mm/filemap.c:776 f2fs_do_sync_file+0x2eb/0x2550 fs/f2fs/file.c:228 f2fs_sync_file+0x136/0x190 fs/f2fs/file.c:334 vfs_fsync_range+0x13a/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2750 [inline] f2fs_file_write_iter+0x64b/0xbe0 fs/f2fs/file.c:3044 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_iter_write+0x70/0xa0 fs/read_write.c:973 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1508 [inline] __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f2a991bd0f9 Code: Bad RIP value. RSP: 002b:00007f2a9330e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2a992dd050 RCX: 00007f2a991bd0f9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f2a99218ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc449d42af R14: 00007f2a9330e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 000000007b289c5a (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7791: #0: 00000000de81b040 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/u4:8/9560: #0: 0000000047acc944 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000055474dff ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000d01ba20b (&type->s_umount_key#53){++++}, at: trylock_super+0x1d/0x100 fs/super.c:412 #3: 000000006ca1c515 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 2 locks held by syz-executor.5/11109: 2 locks held by syz-executor.5/11116: #0: 000000005ef47bfa (sb_writers#14){.+.+}, at: file_start_write include/linux/fs.h:2779 [inline] #0: 000000005ef47bfa (sb_writers#14){.+.+}, at: do_sendfile+0x97d/0xc30 fs/read_write.c:1446 #1: 000000006ca1c515 (&sbi->gc_mutex){+.+.}, at: f2fs_balance_fs+0x709/0xd80 fs/f2fs/segment.c:512 2 locks held by syz-executor.2/13437: #0: 00000000d01ba20b (&type->s_umount_key#53){++++}, at: iterate_supers+0xdb/0x290 fs/super.c:631 #1: 000000006b5ffccd (&bdi->wb_switch_rwsem){+.+.}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:338 [inline] #1: 000000006b5ffccd (&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 01/21/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: 11109 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:SM_I fs/f2fs/f2fs.h:1476 [inline] RIP: 0010:SIT_I fs/f2fs/f2fs.h:1481 [inline] RIP: 0010:check_valid_map fs/f2fs/gc.c:450 [inline] RIP: 0010:gc_data_segment fs/f2fs/gc.c:929 [inline] RIP: 0010:do_garbage_collect fs/f2fs/gc.c:1109 [inline] RIP: 0010:f2fs_gc+0x2423/0x8c90 fs/f2fs/gc.c:1196 Code: e8 42 76 4b fe 44 39 f3 0f 86 c7 0c 00 00 48 83 44 24 08 07 83 04 24 01 e9 d3 f4 ff ff e8 35 75 4b fe 48 8b 44 24 10 80 38 00 <0f> 85 ed 50 00 00 49 8b 9f 40 01 00 00 48 89 d8 48 c1 e8 03 80 3c RSP: 0018:ffff88809ea469e0 EFLAGS: 00000246 RAX: ffffed1009f003e0 RBX: 0000000000000200 RCX: ffffffff8317057e RDX: 0000000000000000 RSI: ffffffff8317103b RDI: 0000000000000005 RBP: dffffc0000000000 R08: ffff8880b46ec2c8 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000008 R13: 0000000000000080 R14: 0000000000000001 R15: ffff88804f801dc0 FS: 00007f2a9772f700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f63c29ee010 CR3: 00000000b284d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: f2fs_balance_fs+0x71a/0xd80 fs/f2fs/segment.c:513 __write_data_page+0xab8/0x22d0 fs/f2fs/data.c:1975 f2fs_write_cache_pages+0x96e/0x13e0 fs/f2fs/data.c:2107 __f2fs_write_data_pages fs/f2fs/data.c:2217 [inline] f2fs_write_data_pages+0xcc3/0x1060 fs/f2fs/data.c:2244 do_writepages+0xe5/0x290 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446 file_write_and_wait_range+0x93/0x100 mm/filemap.c:776 f2fs_do_sync_file+0x2eb/0x2550 fs/f2fs/file.c:228 f2fs_sync_file+0x136/0x190 fs/f2fs/file.c:334 vfs_fsync_range+0x13a/0x220 fs/sync.c:197 generic_write_sync include/linux/fs.h:2750 [inline] f2fs_file_write_iter+0x64b/0xbe0 fs/f2fs/file.c:3044 call_write_iter include/linux/fs.h:1821 [inline] do_iter_readv_writev+0x668/0x790 fs/read_write.c:681 do_iter_write+0x182/0x5d0 fs/read_write.c:960 vfs_iter_write+0x70/0xa0 fs/read_write.c:973 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750 do_splice_from fs/splice.c:852 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1025 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980 do_splice_direct+0x1a7/0x270 fs/splice.c:1068 do_sendfile+0x550/0xc30 fs/read_write.c:1447 __do_sys_sendfile64 fs/read_write.c:1508 [inline] __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f2a991bd0f9 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:00007f2a9772f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f2a992dcf80 RCX: 00007f2a991bd0f9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f2a99218ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc449d42af R14: 00007f2a9772f300 R15: 0000000000022000