INFO: task syz.1.94:5923 blocked for more than 145 seconds. Not tainted 6.11.0-syzkaller-07337-g2004cef11ea0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.94 state:D stack:23800 pid:5923 tgid:5921 ppid:5404 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5264 [inline] __schedule+0x1893/0x4b50 kernel/sched/core.c:6607 __schedule_loop kernel/sched/core.c:6684 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6699 __lock_sock+0x1cd/0x330 net/core/sock.c:3048 lock_sock_nested+0x9e/0x100 net/core/sock.c:3616 do_ip_getsockopt+0x14ab/0x2940 net/ipv4/ip_sockglue.c:1703 ip_getsockopt+0xed/0x2e0 net/ipv4/ip_sockglue.c:1765 tcp_getsockopt+0x165/0x1c0 net/ipv4/tcp.c:4670 do_sock_getsockopt+0x3c6/0x7e0 net/socket.c:2392 __sys_getsockopt+0x26b/0x330 net/socket.c:2421 __do_sys_getsockopt net/socket.c:2431 [inline] __se_sys_getsockopt net/socket.c:2428 [inline] __x64_sys_getsockopt+0xb5/0xd0 net/socket.c:2428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3a9ff7def9 RSP: 002b:00007f3a9f9ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00007f3aa0136058 RCX: 00007f3a9ff7def9 RDX: 0000000000000034 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f3a9fff0b76 R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3aa0136058 R15: 00007fffbfb3cb08 Showing all locks held in the system: 2 locks held by kworker/0:1/9: 3 locks held by kworker/u8:0/11: 1 lock held by khungtaskd/30: #0: ffffffff8e9389e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e9389e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e9389e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6701 3 locks held by kworker/u8:2/35: 2 locks held by kworker/0:2/59: 3 locks held by kworker/u8:5/82: 3 locks held by kworker/u8:6/1094: 2 locks held by kworker/u8:7/1119: 2 locks held by getty/4974: #0: ffff88814b55b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5209: 4 locks held by kworker/u9:4/5232: #0: ffff88807f633148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88807f633148 ((wq_completion)hci0){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90003e37d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003e37d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff888024544d80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff888024544078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5567 1 lock held by syz.5.91/5915: 1 lock held by syz.1.94/5923: 1 lock held by dhcpcd/5935: #0: ffff888077881408 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff888077881408 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff888077881408 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1427 2 locks held by dhcpcd/5936: #0: ffff888077880808 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff888077880808 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff888077880808 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1427 #1: ffffffff8e93df78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #1: ffffffff8e93df78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by dhcpcd/5937: #0: ffff888077880208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff888077880208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff888077880208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1427 1 lock held by dhcpcd/5938: #0: ffff888077886208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff888077886208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff888077886208 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1427 1 lock held by dhcpcd/5939: #0: ffff888077883808 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline] #0: ffff888077883808 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff888077883808 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1427 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-07337-g2004cef11ea0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5209 Comm: syz-executor Not tainted 6.11.0-syzkaller-07337-g2004cef11ea0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__might_sleep+0x0/0xe0 kernel/sched/core.c:8463 Code: 20 58 7f 8e e8 f1 ed 8a 03 e9 5f fe ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 41 57 41 56 41 55 41 54 53 41 89 f6 49 89 ff 49 bc RSP: 0018:ffffc900040b7a48 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff88801d3a8000 RCX: ffff88801d3a8000 RDX: ffff88801d3a8000 RSI: 0000000000000062 RDI: ffffffff8c059fe0 RBP: 0000000000000000 R08: ffffffff81e36171 R09: ffffc900040b7b90 R10: dffffc0000000000 R11: fffff52000816f78 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000062 R15: ffffffff8c059fe0 FS: 000055558ebf9500(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056494f76b230 CR3: 0000000078b0c000 CR4: 0000000000350ef0 Call Trace: __might_fault+0x72/0x120 mm/memory.c:6399 __copy_from_user include/linux/uaccess.h:98 [inline] check_xstate_in_sigframe arch/x86/kernel/fpu/signal.c:35 [inline] __fpu_restore_sig arch/x86/kernel/fpu/signal.c:365 [inline] fpu__restore_sig+0x1a1/0x11b0 arch/x86/kernel/fpu/signal.c:510 restore_sigcontext+0x675/0x7d0 arch/x86/kernel/signal_64.c:95 __do_sys_rt_sigreturn+0x1a1/0x270 arch/x86/kernel/signal_64.c:266 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f02cf17c8fd Code: a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b5 e8 78 48 00 00 0f 1f 84 00 00 00 00 00 80 3d 41 fc 18 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec RSP: 002b:00007ffd806c9e88 EFLAGS: 00000246 RAX: 0000000000000004 RBX: 00007ffd806c9f90 RCX: 00007f02cf17c8fd RDX: 0000000000000004 RSI: 00007ffd806c9e9c RDI: 0000000000000003 RBP: 0000000000000000 R08: 00000000393b1fcb R09: 7fffffffffffffff R10: 00007f02cffeb0b8 R11: 0000000000000246 R12: 00007ffd806ca290 R13: 0000000000000004 R14: 00007ffd806c9e9c R15: 00007ffd806c9f30