INFO: task syz-executor.1:3638 blocked for more than 143 seconds.
Not tainted 5.18.0-syzkaller-11338-g2c5ca23f7414 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:21712 pid: 3638 ppid: 1 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5116 [inline]
__schedule+0x957/0xec0 kernel/sched/core.c:6431
schedule+0xeb/0x1b0 kernel/sched/core.c:6503
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_cmd_sync_clear+0x2c/0x210 net/bluetooth/hci_sync.c:337
hci_unregister_dev+0x12a/0x460 net/bluetooth/hci_core.c:2678
vhci_release+0x7f/0xd0 drivers/bluetooth/hci_vhci.c:568
__fput+0x3b9/0x820 fs/file_table.c:317
task_work_run+0x146/0x1c0 kernel/task_work.c:177
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0x547/0x1ed0 kernel/exit.c:795
do_group_exit+0x23b/0x2f0 kernel/exit.c:925
__do_sys_exit_group kernel/exit.c:936 [inline]
__se_sys_exit_group kernel/exit.c:934 [inline]
__x64_sys_exit_group+0x3b/0x40 kernel/exit.c:934
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:0x7f3511089109
RSP: 002b:00007ffd330fd1d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007ffd330fd380 RCX: 00007f3511089109
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000043
RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffd330fd380
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f35110e305e
R13: 000000000000001c R14: 0000000000000004 R15: 00007ffd330fd3c0
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8cb1ec20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:2/42:
2 locks held by getty/3287:
#0: ffff88814ab63098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002cce2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075
3 locks held by kworker/u5:2/3646:
#0: ffff8880775a7938 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc90003ae7d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffff88807ae7d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1f9/0x3a0 net/bluetooth/hci_sync.c:302
2 locks held by kworker/u4:4/17430:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.18.0-syzkaller-11338-g2c5ca23f7414 #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:220 [inline]
watchdog+0xd18/0xd60 kernel/hung_task.c:378
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 23006 Comm: syz-executor.0 Not tainted 5.18.0-syzkaller-11338-g2c5ca23f7414 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [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+0x84/0x2e0 mm/kasan/generic.c:189
Code: 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 29 d3 66 2e 0f 1f 84 00 00 00 00 00 41 80 39 00 <0f> 85 e7 01 00 00 49 ff c1 48 ff c3 75 ee e9 67 01 00 00 44 89 cd
RSP: 0018:ffffc90015157390 EFLAGS: 00000246
RAX: ffffffff81d14b01 RBX: ffffffffffffffff RCX: ffffffff81d14bb8
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffea0001f484c0
RBP: 000000000001ffff R08: dffffc0000000000 R09: fffff940003e9098
R10: fffff940003e9099 R11: 1ffffd40003e9098 R12: 1ffffd40003e9099
R13: 0000000000000200 R14: 0000000000000001 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f478ff9d090 CR3: 000000000c88e000 CR4: 00000000003506e0
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]
folio_test_swapbacked include/linux/page-flags.h:521 [inline]
folio_test_swapcache include/linux/page-flags.h:562 [inline]
PageSwapCache include/linux/page-flags.h:568 [inline]
free_swap_cache+0xc8/0x770 mm/swap_state.c:296
free_pages_and_swap_cache+0x60/0x90 mm/swap_state.c:324
tlb_batch_pages_flush mm/mmu_gather.c:58 [inline]
tlb_flush_mmu_free mm/mmu_gather.c:255 [inline]
tlb_flush_mmu+0x850/0xa70 mm/mmu_gather.c:262
zap_pte_range+0x1ccf/0x1e10 mm/memory.c:1518
zap_pmd_range+0x587/0x690 mm/memory.c:1567
zap_pud_range mm/memory.c:1596 [inline]
zap_p4d_range mm/memory.c:1617 [inline]
unmap_page_range+0x310/0x600 mm/memory.c:1638
unmap_vmas+0x227/0x3b0 mm/memory.c:1723
exit_mmap+0x1c5/0x530 mm/mmap.c:3162
__mmput+0x111/0x3a0 kernel/fork.c:1187
exit_mm+0x211/0x2f0 kernel/exit.c:510
do_exit+0x4ca/0x1ed0 kernel/exit.c:782
do_group_exit+0x23b/0x2f0 kernel/exit.c:925
get_signal+0x172f/0x1780 kernel/signal.c:2875
arch_do_signal_or_restart+0x8d/0x750 arch/x86/kernel/signal.c:869
exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:166
exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:294
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f478fe88ec7
Code: Unable to access opcode bytes at RIP 0x7f478fe88e9d.
RSP: 002b:00007f4791072098 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 00007f4791073110 RCX: 00007f478fe88ec7
RDX: 00007f4791073110 RSI: 0000000080085502 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000100 R09: 00007f4791072108
R10: 00007f4791072140 R11: 0000000000000246 R12: 0000000800000000
R13: 0000000000000000 R14: 0000000000000008 R15: 00007f478feeea7f
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 4d 89 d6 mov %r10,%r14
3: 4d 29 ce sub %r9,%r14
6: 49 83 fe 10 cmp $0x10,%r14
a: 7f 30 jg 0x3c
c: 4d 85 f6 test %r14,%r14
f: 0f 84 8e 01 00 00 je 0x1a3
15: 4c 89 cb mov %r9,%rbx
18: 4c 29 d3 sub %r10,%rbx
1b: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1)
22: 00 00 00
25: 41 80 39 00 cmpb $0x0,(%r9)
* 29: 0f 85 e7 01 00 00 jne 0x216 <-- trapping instruction
2f: 49 ff c1 inc %r9
32: 48 ff c3 inc %rbx
35: 75 ee jne 0x25
37: e9 67 01 00 00 jmpq 0x1a3
3c: 44 89 cd mov %r9d,%ebp