INFO: task syz-executor.5:5125 blocked for more than 143 seconds.
Not tainted 6.3.0-rc3-syzkaller-00826-g163c2c705917 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:23648 pid:5125 ppid:1 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0xc91/0x5770 kernel/sched/core.c:6622
schedule+0xde/0x1a0 kernel/sched/core.c:6698
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
__flush_work+0x595/0xb60 kernel/workqueue.c:3174
__cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3261
hci_cmd_sync_clear+0x26/0x2a0 net/bluetooth/hci_sync.c:643
hci_unregister_dev+0x16b/0x580 net/bluetooth/hci_core.c:2696
vhci_release+0x80/0xf0 drivers/bluetooth/hci_vhci.c:568
__fput+0x27c/0xa90 fs/file_table.c:321
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xad3/0x2960 kernel/exit.c:869
do_group_exit+0xd4/0x2a0 kernel/exit.c:1019
__do_sys_exit_group kernel/exit.c:1030 [inline]
__se_sys_exit_group kernel/exit.c:1028 [inline]
__x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1028
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f852848c0f9
RSP: 002b:00007ffe84abe9a8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007ffe84abeb50 RCX: 00007f852848c0f9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000043
RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffe84abeb50
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f85284e7b0a
R13: 000000000000001c R14: 0000000000000002 R15: 00007ffe84abeb90
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c794b70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8c794870 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8c7956c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495
3 locks held by kworker/u5:1/4400:
#0: ffff888017b6a138 ((wq_completion)hci3){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888017b6a138 ((wq_completion)hci3){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888017b6a138 ((wq_completion)hci3){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888017b6a138 ((wq_completion)hci3){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff888017b6a138 ((wq_completion)hci3){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff888017b6a138 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
#1: ffffc90005e27da8 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
#2: ffff88801c505028 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x194/0x3e0 net/bluetooth/hci_sync.c:303
2 locks held by getty/4765:
#0: ffff88814a0e4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
3 locks held by kworker/1:4/5174:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361
#1: ffffc900048dfda8 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365
#2: ffff88807d830240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x1d5/0x24a0 drivers/net/netdevsim/fib.c:1489
2 locks held by kworker/u4:10/19883:
2 locks held by syz-executor.1/24331:
#0: ffffffff92139a38 (nfnl_subsys_ipset){+.+.}-{3:3}, at: nfnl_lock net/netfilter/nfnetlink.c:98 [inline]
#0: ffffffff92139a38 (nfnl_subsys_ipset){+.+.}-{3:3}, at: nfnetlink_rcv_msg+0x8a5/0x1390 net/netfilter/nfnetlink.c:295
#1: ffffffff8c7a0880 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x6a0 kernel/rcu/tree.c:3945
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc3-syzkaller-00826-g163c2c705917 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/17/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 13583 Comm: syz-executor.1 Not tainted 6.3.0-rc3-syzkaller-00826-g163c2c705917 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/17/2023
RIP: 0010:check_region_inline mm/kasan/generic.c:170 [inline]
RIP: 0010:kasan_check_range+0x130/0x190 mm/kasan/generic.c:187
Code: 00 74 ef 49 8d 04 2c 48 85 d2 75 0b 48 89 da 48 29 c2 e9 55 ff ff ff 49 39 d2 75 17 49 0f be 02 41 83 e1 07 49 39 c1 7d 0a 5b 01 00 00 00 5d 41 5c c3 44 89 c2 e8 9f ee ff ff 5b 83 f0 01 5d
RSP: 0018:ffffc90005867690 EFLAGS: 00000046
RAX: fffffbfff229c788 RBX: 1ffff92000b0cedc RCX: ffffffff81642c4e
RDX: fffffbfff229c788 RSI: 0000000000000008 RDI: ffffffff914e3c38
RBP: fffffbfff229c787 R08: 0000000000000000 R09: ffffffff914e3c3f
R10: fffffbfff229c787 R11: 0000000000000000 R12: ffff88801dfec4e0
R13: 0000000000000008 R14: 00000000000005f0 R15: ffff88801dfec500
FS: 0000555555db5400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555dbe848 CR3: 0000000075711000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:72 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class kernel/locking/lockdep.c:228 [inline]
mark_lock.part.0+0xee/0x1970 kernel/locking/lockdep.c:4613
mark_lock kernel/locking/lockdep.c:4599 [inline]
mark_usage kernel/locking/lockdep.c:4556 [inline]
__lock_acquire+0x8a8/0x5d40 kernel/locking/lockdep.c:5010
lock_acquire kernel/locking/lockdep.c:5669 [inline]
lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:355 [inline]
lock_sock_nested+0x5f/0xf0 net/core/sock.c:3477
lock_sock include/net/sock.h:1697 [inline]
sockopt_lock_sock+0x55/0x70 net/core/sock.c:1057
do_ip_getsockopt+0x345/0x1ee0 net/ipv4/ip_sockglue.c:1564
ip_getsockopt+0xa0/0x1e0 net/ipv4/ip_sockglue.c:1798
tcp_getsockopt+0x99/0x100 net/ipv4/tcp.c:4410
__sys_getsockopt+0x21a/0x6a0 net/socket.c:2315
__do_sys_getsockopt net/socket.c:2330 [inline]
__se_sys_getsockopt net/socket.c:2327 [inline]
__x64_sys_getsockopt+0xbe/0x160 net/socket.c:2327
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff5a148d71a
Code: 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 00 00 00 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:00007ffe4c05c798 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00007ff5a15821c0 RCX: 00007ff5a148d71a
RDX: 0000000000000080 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe4c05c7bc R09: ffffffffff000000
R10: 00007ffe4c05c7c0 R11: 0000000000000246 R12: 0000000000000003
R13: 00007ffe4c05c7c0 R14: 0000000000000002 R15: 00007ffe4c05c7bc