INFO: task kworker/u5:8:3656 blocked for more than 143 seconds.
Not tainted 5.19.0-rc3-syzkaller-00336-g0840a7914caa #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u5:8 state:D stack:25424 pid: 3656 ppid: 2 flags:0x00004000
Workqueue: hci6 hci_power_on
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6458
schedule+0xeb/0x1b0 kernel/sched/core.c:6530
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589
__mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
hci_dev_do_open net/bluetooth/hci_core.c:480 [inline]
hci_power_on+0x178/0x650 net/bluetooth/hci_core.c:963
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
INFO: task syz-executor.5:14577 blocked for more than 143 seconds.
Not tainted 5.19.0-rc3-syzkaller-00336-g0840a7914caa #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:26776 pid:14577 ppid: 3639 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6458
schedule+0xeb/0x1b0 kernel/sched/core.c:6530
schedule_timeout+0xac/0x300 kernel/time/timer.c:1911
do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
__flush_work kernel/workqueue.c:3075 [inline]
__cancel_work_timer+0x585/0x740 kernel/workqueue.c:3162
hci_dev_close_sync+0x31/0xcc0 net/bluetooth/hci_sync.c:4091
hci_dev_do_close net/bluetooth/hci_core.c:553 [inline]
hci_unregister_dev+0x1b1/0x460 net/bluetooth/hci_core.c:2685
hci_uart_tty_close+0x1a7/0x280 drivers/bluetooth/hci_ldisc.c:548
tty_set_ldisc+0x22e/0x670 drivers/tty/tty_ldisc.c:552
tty_ioctl+0xada/0xc60 drivers/tty/tty_io.c:2714
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f54f3a89109
RSP: 002b:00007f54f4c7b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f54f3b9bf60 RCX: 00007f54f3a89109
RDX: 0000000020000000 RSI: 0000000000005423 RDI: 0000000000000003
RBP: 00007f54f3ae305d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe51e7d0ff R14: 00007f54f4c7b300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8cb1e820 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3292:
#0: ffff88814a6c1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124
3 locks held by kworker/u5:8/3656:
#0: ffff88807977d138 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc9000390fd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffff88801b8f5048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open net/bluetooth/hci_core.c:480 [inline]
#2: ffff88801b8f5048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x178/0x650 net/bluetooth/hci_core.c:963
3 locks held by syz-executor.5/14577:
#0: ffff88807d6991c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_set_ldisc+0x4e/0x670 drivers/tty/tty_ldisc.c:529
#1: ffff88807d699098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline]
#1: ffff88807d699098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x6a/0xb0 drivers/tty/tty_ldisc.c:314
#2: ffff88801b8f5048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline]
#2: ffff88801b8f5048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1a9/0x460 net/bluetooth/hci_core.c:2685
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc3-syzkaller-00336-g0840a7914caa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xcf9/0xd40 kernel/hung_task.c:369
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4612 Comm: kworker/u4:20 Not tainted 5.19.0-rc3-syzkaller-00336-g0840a7914caa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:101 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x5e/0x2e0 mm/kasan/generic.c:189
Code: c1 eb 03 49 b8 00 00 00 00 00 fc ff df 4f 8d 0c 03 4c 8d 54 37 ff 49 c1 ea 03 48 bb 01 00 00 00 00 fc ff df 49 01 da 4d 89 d6 <4d> 29 ce 49 83 fe 10 7f 30 4d 85 f6 0f 84 8e 01 00 00 4c 89 cb 4c
RSP: 0018:ffffc90002e5f990 EFLAGS: 00000282
RAX: 0000000000000001 RBX: dffffc0000000001 RCX: ffffffff8167c077
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e0386a8
RBP: 000000000001ffff R08: dffffc0000000000 R09: fffffbfff1c070d5
R10: fffffbfff1c070d6 R11: 1ffffffff1c070d5 R12: dffffc0000000000
R13: 1ffff920005cbf48 R14: fffffbfff1c070d6 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c01592f000 CR3: 000000002764c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
cpumask_test_cpu include/linux/cpumask.h:379 [inline]
cpu_online include/linux/cpumask.h:921 [inline]
trace_lock_acquire+0x37/0x1d0 include/trace/events/lock.h:24
lock_acquire+0xa5/0x400 kernel/locking/lockdep.c:5636
rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:269
rcu_read_lock include/linux/rcupdate.h:695 [inline]
batadv_nc_process_nc_paths+0xc1/0x370 net/batman-adv/network-coding.c:687
batadv_nc_worker+0x3de/0x5b0 net/batman-adv/network-coding.c:728
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess):
0: c1 eb 03 shr $0x3,%ebx
3: 49 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%r8
a: fc ff df
d: 4f 8d 0c 03 lea (%r11,%r8,1),%r9
11: 4c 8d 54 37 ff lea -0x1(%rdi,%rsi,1),%r10
16: 49 c1 ea 03 shr $0x3,%r10
1a: 48 bb 01 00 00 00 00 movabs $0xdffffc0000000001,%rbx
21: fc ff df
24: 49 01 da add %rbx,%r10
27: 4d 89 d6 mov %r10,%r14
* 2a: 4d 29 ce sub %r9,%r14 <-- trapping instruction
2d: 49 83 fe 10 cmp $0x10,%r14
31: 7f 30 jg 0x63
33: 4d 85 f6 test %r14,%r14
36: 0f 84 8e 01 00 00 je 0x1ca
3c: 4c 89 cb mov %r9,%rbx
3f: 4c rex.WR