INFO: task syz-executor.5:27934 blocked for more than 143 seconds. Not tainted 6.5.0-rc7-syzkaller-00185-g28f20a19294d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26928 pid:27934 ppid:5059 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_timeout+0x27a/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x3e2/0x5f0 kernel/sched/completion.c:106 __flush_work+0x5d9/0xc10 kernel/workqueue.c:3389 __cancel_work_timer+0x3ef/0x580 kernel/workqueue.c:3476 hci_cmd_sync_clear+0x2b/0x2b0 net/bluetooth/hci_sync.c:645 hci_unregister_dev+0x184/0x580 net/bluetooth/hci_core.c:2725 vhci_release+0x7f/0xf0 drivers/bluetooth/hci_vhci.c:669 __fput+0x3f7/0xac0 fs/file_table.c:384 task_work_run+0x14d/0x240 kernel/task_work.c:179 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa99/0x2a20 kernel/exit.c:874 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23ea/0x2770 kernel/signal.c:2881 arch_do_signal_or_restart+0x89/0x5f0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:297 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8488ca7ef5 RSP: 002b:00007f8489a50010 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00007f8488d9bf80 RCX: 00007f8488ca7ef5 RDX: 00007f8489a50050 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f8488cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8488d9bf80 R15: 00007fff0c7472f8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c9a67f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c9a64f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c9a7400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 2 locks held by getty/4773: #0: ffff888028c8b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 3 locks held by kworker/u5:1/8670: #0: ffff88807ec80138 ((wq_completion)hci3){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:20 [inline] #0: ffff88807ec80138 ((wq_completion)hci3){+.+.}-{0:0}, at: raw_atomic64_set include/linux/atomic/atomic-arch-fallback.h:2608 [inline] #0: ffff88807ec80138 ((wq_completion)hci3){+.+.}-{0:0}, at: raw_atomic_long_set include/linux/atomic/atomic-long.h:79 [inline] #0: ffff88807ec80138 ((wq_completion)hci3){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:3196 [inline] #0: ffff88807ec80138 ((wq_completion)hci3){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:678 [inline] #0: ffff88807ec80138 ((wq_completion)hci3){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:705 [inline] #0: ffff88807ec80138 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work+0x96a/0x16f0 kernel/workqueue.c:2570 #1: ffffc900050ffd80 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x99e/0x16f0 kernel/workqueue.c:2574 #2: ffff8880227ed0b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x170/0x3c0 net/bluetooth/hci_sync.c:304 5 locks held by kworker/u4:2/13960: 1 lock held by syz-executor.3/24181: #0: ffff888078751868 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff888078751868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_release+0x4d/0x310 fs/pipe.c:721 1 lock held by syz-executor.3/24182: #0: ffff888078751868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock_nested fs/pipe.c:82 [inline] #0: ffff888078751868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock fs/pipe.c:90 [inline] #0: ffff888078751868 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_lock+0x5e/0x70 fs/pipe.c:85 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc7-syzkaller-00185-g28f20a19294d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2ac/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13960 Comm: kworker/u4:2 Not tainted 6.5.0-rc7-syzkaller-00185-g28f20a19294d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0x2a/0xe0 lib/smp_processor_id.c:19 Code: 41 54 55 53 48 83 ec 08 65 8b 1d 0d 28 d1 75 65 8b 05 02 28 d1 75 a9 ff ff ff 7f 74 0b 48 83 c4 08 89 d8 5b 5d 41 5c c3 9c 58 c4 02 74 ee 65 48 8b 04 25 80 b9 03 00 f6 40 2f 04 48 89 fd 74 RSP: 0018:ffffc9000339faa0 EFLAGS: 00000046 RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 1ffff11007c48c80 RSI: ffffffff8a6c83a0 RDI: ffffffff8ac81440 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff2309fd0 R10: ffffffff9184fe87 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8c9a7400 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa381b0df00 CR3: 000000003322b000 CR4: 0000000000350ef0 Call Trace: lockdep_recursion_finish kernel/locking/lockdep.c:467 [inline] lock_acquire kernel/locking/lockdep.c:5763 [inline] lock_acquire+0x1be/0x510 kernel/locking/lockdep.c:5726 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x175/0x10f0 net/batman-adv/network-coding.c:719 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2600 worker_thread+0x687/0x1110 kernel/workqueue.c:2751 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304