Bluetooth: hci13 command 0x041b tx timeout Bluetooth: hci12 command 0x040f tx timeout Bluetooth: hci13 command 0x040f tx timeout Bluetooth: hci12 command 0x0419 tx timeout Bluetooth: hci13 command 0x0419 tx timeout BUG: workqueue lockup - pool cpus=1 node=0 flags=0x0 nice=0 stuck for 279s! Showing busy workqueues and worker pools: workqueue events: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=22/256 refcnt=23 in-flight: 4636:rtc_timer_do_work pending: wait_rcu_exp_gp, defense_work_handler, defense_work_handler, cache_reap, defense_work_handler, defense_work_handler, nfc_urelease_event_work, macvlan_process_broadcast, hci_cmd_timeout, macvlan_process_broadcast, macvlan_process_broadcast, free_obj_work, rfkill_sync_work, rfkill_any_led_trigger_worker, netstamp_clear, defense_work_handler, hci_cmd_timeout, l2cap_info_timeout, switchdev_deferred_process_work, hci_cmd_timeout, bpf_prog_free_deferred pwq 0: cpus=0 node=0 flags=0x0 nice=0 active=2/256 refcnt=3 pending: defense_work_handler, defense_work_handler workqueue events_long: flags=0x0 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=2/256 refcnt=3 pending: br_fdb_cleanup, br_fdb_cleanup workqueue events_unbound: flags=0x2 pwq 4: cpus=0-1 flags=0x4 nice=0 active=4/512 refcnt=7 in-flight: 22:fsnotify_mark_destroy_workfn fsnotify_mark_destroy_workfn, 11802:fsnotify_connector_destroy_workfn fsnotify_connector_destroy_workfn workqueue events_freezable: flags=0x4 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: update_balloon_stats_func workqueue events_power_efficient: flags=0x80 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=3/256 refcnt=4 pending: process_srcu, fb_flashcursor, do_cache_clean workqueue mm_percpu_wq: flags=0x8 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/256 refcnt=2 pending: vmstat_update workqueue ipv6_addrconf: flags=0x40008 pwq 2: cpus=1 node=0 flags=0x0 nice=0 active=1/1 refcnt=2 pending: addrconf_verify_work workqueue bat_events: flags=0xe000a pwq 4: cpus=0-1 flags=0x4 nice=0 active=1/1 refcnt=11 pending: batadv_iv_send_outstanding_bat_ogm_packet delayed: batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_iv_send_outstanding_bat_ogm_packet, batadv_purge_orig, batadv_purge_orig, batadv_purge_orig, batadv_purge_orig pool 2: cpus=1 node=0 flags=0x0 nice=0 hung=279s workers=3 idle: 9154 18 pool 4: cpus=0-1 flags=0x4 nice=0 hung=0s workers=9 idle: 215 12509 9720 561 34 5 15749 INFO: task kworker/u4:1:22 blocked for more than 140 seconds. Not tainted 4.14.299-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:1 D28912 22 2 0x80000000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:2811 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3387 schedule+0x8d/0x1b0 kernel/sched/core.c:3431 schedule_timeout+0x80a/0xe90 kernel/time/timer.c:1724 do_wait_for_common kernel/sched/completion.c:91 [inline] __wait_for_common kernel/sched/completion.c:112 [inline] wait_for_common+0x272/0x430 kernel/sched/completion.c:123 __synchronize_srcu+0x10a/0x1d0 kernel/rcu/srcutree.c:898 fsnotify_mark_destroy_workfn+0xed/0x2e0 fs/notify/mark.c:757 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 INFO: task kworker/u4:8:11802 blocked for more than 140 seconds. Not tainted 4.14.299-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:8 D27240 11802 2 0x80000000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:2811 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3387 schedule+0x8d/0x1b0 kernel/sched/core.c:3431 schedule_timeout+0x80a/0xe90 kernel/time/timer.c:1724 do_wait_for_common kernel/sched/completion.c:91 [inline] __wait_for_common kernel/sched/completion.c:112 [inline] wait_for_common+0x272/0x430 kernel/sched/completion.c:123 __synchronize_srcu+0x10a/0x1d0 kernel/rcu/srcutree.c:898 fsnotify_connector_destroy_workfn+0x49/0xa0 fs/notify/mark.c:156 process_one_work+0x793/0x14a0 kernel/workqueue.c:2117 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 INFO: task syz-executor.2:3608 blocked for more than 140 seconds. Not tainted 4.14.299-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29144 3608 8023 0x00000004 Call Trace: context_switch kernel/sched/core.c:2811 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3387 schedule+0x8d/0x1b0 kernel/sched/core.c:3431 _synchronize_rcu_expedited+0x522/0x770 kernel/rcu/tree_exp.h:615 synchronize_rcu+0x98/0x130 kernel/rcu/tree_plugin.h:762 caif_disconnect_client+0xb8/0x1d0 net/caif/cfcnfg.c:197 caif_release+0x174/0x340 net/caif/caif_socket.c:926 __sock_release+0xcd/0x2b0 net/socket.c:602 sock_close+0x15/0x20 net/socket.c:1139 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 INFO: task syz-executor.4:3611 blocked for more than 140 seconds. Not tainted 4.14.299-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D29144 3611 8022 0x00000004 Call Trace: context_switch kernel/sched/core.c:2811 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3387 schedule+0x8d/0x1b0 kernel/sched/core.c:3431 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3489 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 exp_funnel_lock kernel/rcu/tree_exp.h:305 [inline] _synchronize_rcu_expedited+0x32d/0x770 kernel/rcu/tree_exp.h:596 synchronize_rcu+0x98/0x130 kernel/rcu/tree_plugin.h:762 pep_sock_unhash+0x261/0x2e0 net/phonet/pep.c:1331 sk_common_release+0xba/0x2c0 net/core/sock.c:3042 pep_sock_close+0x29/0x530 net/phonet/pep.c:753 pn_socket_release+0x78/0xa0 net/phonet/socket.c:47 __sock_release+0xcd/0x2b0 net/socket.c:602 sock_close+0x15/0x20 net/socket.c:1139 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 INFO: task syz-executor.2:3785 blocked for more than 140 seconds. Not tainted 4.14.299-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27760 3785 1 0x00000004 Call Trace: context_switch kernel/sched/core.c:2811 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3387 schedule+0x8d/0x1b0 kernel/sched/core.c:3431 exp_funnel_lock kernel/rcu/tree_exp.h:295 [inline] _synchronize_rcu_expedited+0x5f6/0x770 kernel/rcu/tree_exp.h:596 synchronize_rcu+0x98/0x130 kernel/rcu/tree_plugin.h:762 synchronize_net+0x3a/0x40 net/core/dev.c:8250 nf_register_net_hook+0x6a5/0xa40 net/netfilter/core.c:295 nf_register_net_hooks+0x47/0xa0 net/netfilter/core.c:383 ebt_register_table+0x912/0xbb0 net/bridge/netfilter/ebtables.c:1227 ops_init+0xaa/0x3e0 net/core/net_namespace.c:118 setup_net+0x22f/0x530 net/core/net_namespace.c:298 copy_net_ns+0x19b/0x440 net/core/net_namespace.c:422 create_new_namespaces+0x375/0x720 kernel/nsproxy.c:107 unshare_nsproxy_namespaces+0xa1/0x1d0 kernel/nsproxy.c:206 SYSC_unshare kernel/fork.c:2413 [inline] SyS_unshare+0x308/0x7f0 kernel/fork.c:2363 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 INFO: task syz-executor.4:3795 blocked for more than 140 seconds. Not tainted 4.14.299-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D27760 3795 1 0x80000006 Call Trace: context_switch kernel/sched/core.c:2811 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3387 schedule+0x8d/0x1b0 kernel/sched/core.c:3431 exp_funnel_lock kernel/rcu/tree_exp.h:295 [inline] _synchronize_rcu_expedited+0x5f6/0x770 kernel/rcu/tree_exp.h:596 synchronize_rcu+0x98/0x130 kernel/rcu/tree_plugin.h:762 namespace_unlock fs/namespace.c:1448 [inline] drop_collected_mounts+0x147/0x160 fs/namespace.c:1888 put_mnt_ns fs/namespace.c:3348 [inline] put_mnt_ns+0x42/0x60 fs/namespace.c:3344 free_nsproxy+0x40/0x1f0 kernel/nsproxy.c:176 switch_task_namespaces+0x8f/0xb0 kernel/nsproxy.c:229 do_exit+0xa3f/0x2850 kernel/exit.c:867 do_group_exit+0x100/0x2e0 kernel/exit.c:965 get_signal+0x38d/0x1ca0 kernel/signal.c:2412 do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:792 exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Showing all locks held in the system: 2 locks held by kworker/u4:1/22: #0: ("events_unbound"){+.+.}, at: [] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2088 #1: ((reaper_work).work){+.+.}, at: [] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2092 1 lock held by khungtaskd/1534: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548 2 locks held by kworker/u4:8/11802: #0: ("events_unbound"){+.+.}, at: [] process_one_work+0x6b0/0x14a0 kernel/workqueue.c:2088 #1: (connector_reaper_work){+.+.}, at: [] process_one_work+0x6e6/0x14a0 kernel/workqueue.c:2092 3 locks held by syz-executor.2/3608: #0: (&sb->s_type->i_mutex_key#13){+.+.}, at: [] inode_lock include/linux/fs.h:719 [inline] #0: (&sb->s_type->i_mutex_key#13){+.+.}, at: [] __sock_release+0x86/0x2b0 net/socket.c:601 #1: (sk_lock-AF_CAIF){+.+.}, at: [] lock_sock include/net/sock.h:1473 [inline] #1: (sk_lock-AF_CAIF){+.+.}, at: [] caif_release+0xda/0x340 net/caif/caif_socket.c:922 #2: (rcu_preempt_state.exp_mutex){+.+.}, at: [] exp_funnel_lock kernel/rcu/tree_exp.h:272 [inline] #2: (rcu_preempt_state.exp_mutex){+.+.}, at: [] _synchronize_rcu_expedited+0x2c2/0x770 kernel/rcu/tree_exp.h:596 3 locks held by syz-executor.4/3611: #0: (&sb->s_type->i_mutex_key#13){+.+.}, at: [] inode_lock include/linux/fs.h:719 [inline] #0: (&sb->s_type->i_mutex_key#13){+.+.}, at: [] __sock_release+0x86/0x2b0 net/socket.c:601 #1: (sk_lock-AF_PHONET){+.+.}, at: [] lock_sock include/net/sock.h:1473 [inline] #1: (sk_lock-AF_PHONET){+.+.}, at: [] pep_sock_unhash+0x18/0x2e0 net/phonet/pep.c:1315 #2: (rcu_preempt_state.exp_mutex){+.+.}, at: [] exp_funnel_lock kernel/rcu/tree_exp.h:305 [inline] #2: (rcu_preempt_state.exp_mutex){+.+.}, at: [] _synchronize_rcu_expedited+0x32d/0x770 kernel/rcu/tree_exp.h:596 1 lock held by syz-executor.2/3785: #0: (net_mutex){+.+.}, at: [] copy_net_ns+0x156/0x440 net/core/net_namespace.c:413 1 lock held by syz-executor.2/3868: #0: (net_mutex){+.+.}, at: [] copy_net_ns+0x156/0x440 net/core/net_namespace.c:413 1 lock held by syz-executor.4/3882: #0: (net_mutex){+.+.}, at: [] copy_net_ns+0x156/0x440 net/core/net_namespace.c:413 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1534 Comm: khungtaskd Not tainted 4.14.299-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x13a/0x180 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x5b9/0xb40 kernel/hung_task.c:274 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7673 Comm: rs:main Q:Reg Not tainted 4.14.299-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff8880b04be300 task.stack: ffff8880939f8000 RIP: 0010:lookup_bh_lru fs/buffer.c:1326 [inline] RIP: 0010:__find_get_block+0xde/0xc40 fs/buffer.c:1353 RSP: 0018:ffff8880939ff830 EFLAGS: 00000097 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff87939900 RDI: ffffffff87cd1100 RBP: 0000000000000000 R08: 0000000000000222 R09: ffff888234d42080 R10: 0000000000000000 R11: ffff8880b04be300 R12: ffff8880939ff9f0 R13: dffffc0000000000 R14: 0000000000000383 R15: ffff88809443b738 FS: 00007f71a7fff700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f819f2fd000 CR3: 00000000b35aa000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __getblk_gfp+0x28/0x70 fs/buffer.c:1379 sb_getblk include/linux/buffer_head.h:367 [inline] __ext4_get_inode_loc+0x32b/0xf80 fs/ext4/inode.c:4576 ext4_get_inode_loc fs/ext4/inode.c:4689 [inline] ext4_reserve_inode_write+0xd9/0x230 fs/ext4/inode.c:5849 ext4_mark_inode_dirty+0x12f/0x7a0 fs/ext4/inode.c:6016 ext4_dirty_inode+0x6c/0x90 fs/ext4/inode.c:6055 __mark_inode_dirty+0x11e/0xf40 fs/fs-writeback.c:2134 generic_update_time+0x1b0/0x270 fs/inode.c:1657 update_time fs/inode.c:1673 [inline] file_update_time+0x243/0x360 fs/inode.c:1889 __generic_file_write_iter+0x1b3/0x590 mm/filemap.c:3130 ext4_file_write_iter+0x276/0xd20 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x5e/0xd3 Code: 3e c2 ff 83 c3 01 83 fb 10 0f 84 02 01 00 00 e8 49 3e c2 ff 48 c7 c7 00 99 93 87 89 dd e8 fb 64 87 01 65 4c 8b 3c ed a0 1c 03 00 <4d> 85 ff 4d 89 fc 74 cb e8 25 3e c2 ff 49 8d 7f 18 48 89 fa 48 ---------------- Code disassembly (best guess): 0: 3e c2 ff 83 ds retq $0x83ff 4: c3 retq 5: 01 83 fb 10 0f 84 add %eax,-0x7bf0ef05(%rbx) b: 02 01 add (%rcx),%al d: 00 00 add %al,(%rax) f: e8 49 3e c2 ff callq 0xffc23e5d 14: 48 c7 c7 00 99 93 87 mov $0xffffffff87939900,%rdi 1b: 89 dd mov %ebx,%ebp 1d: e8 fb 64 87 01 callq 0x187651d 22: 65 4c 8b 3c ed a0 1c mov %gs:0x31ca0(,%rbp,8),%r15 29: 03 00 * 2b: 4d 85 ff test %r15,%r15 <-- trapping instruction 2e: 4d 89 fc mov %r15,%r12 31: 74 cb je 0xfffffffe 33: e8 25 3e c2 ff callq 0xffc23e5d 38: 49 8d 7f 18 lea 0x18(%r15),%rdi 3c: 48 89 fa mov %rdi,%rdx 3f: 48 rex.W