kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 18100 Comm: syz-executor.5 Tainted: G W 5.4.233-syzkaller-00011-g0108362f3305 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:__wake_up_common kernel/sched/wait.c:81 [inline] RIP: 0010:__wake_up_locked+0x5d/0x110 kernel/sched/wait.c:151 Code: e8 b8 62 47 00 48 ba 00 00 00 00 00 fc ff df 4d 8b 34 24 4d 39 e6 0f 84 b1 00 00 00 4c 89 f3 49 8d 6e e8 4c 89 f0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 85 62 47 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8881e583f5a0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881babd1098 RBP: ffffffffffffffe8 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881babd10a0 R13: ffff8881babd10b0 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f40121d5700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200c1038 CR3: 00000001e1278000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_sync_func+0xaa/0x210 kernel/rcu/sync.c:87 rcu_sync_enter+0x1ec/0x330 kernel/rcu/sync.c:150 percpu_down_write+0x72/0x330 kernel/locking/percpu-rwsem.c:146 hci_uart_tty_close+0x11e/0x220 drivers/bluetooth/hci_ldisc.c:536 tty_ldisc_close drivers/tty/tty_ldisc.c:494 [inline] tty_ldisc_kill+0x100/0x220 drivers/tty/tty_ldisc.c:642 tty_ldisc_release+0x18f/0x1f0 drivers/tty/tty_ldisc.c:814 tty_release_struct+0x27/0xd0 drivers/tty/tty_io.c:1612 tty_release+0xd8b/0x1020 drivers/tty/tty_io.c:1785 __fput+0x262/0x680 fs/file_table.c:281 task_work_run+0x140/0x170 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xcaf/0x2bc0 kernel/exit.c:859 do_group_exit+0x138/0x300 kernel/exit.c:982 get_signal+0xd94/0x13f0 kernel/signal.c:2735 do_signal+0xb0/0x11f0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0xc0/0x1a0 arch/x86/entry/common.c:159 prepare_exit_to_usermode+0x199/0x200 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Modules linked in: ---[ end trace ce25921e30da52fc ]--- RIP: 0010:__wake_up_common kernel/sched/wait.c:81 [inline] RIP: 0010:__wake_up_locked+0x5d/0x110 kernel/sched/wait.c:151 Code: e8 b8 62 47 00 48 ba 00 00 00 00 00 fc ff df 4d 8b 34 24 4d 39 e6 0f 84 b1 00 00 00 4c 89 f3 49 8d 6e e8 4c 89 f0 48 c1 e8 03 <80> 3c 10 00 74 12 48 89 df e8 85 62 47 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8881e583f5a0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff8881babd1098 RBP: ffffffffffffffe8 R08: dffffc0000000000 R09: 0000000000000003 R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff8881babd10a0 R13: ffff8881babd10b0 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f40121d5700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200c1038 CR3: 00000001e1278000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: e8 b8 62 47 00 callq 0x4762bd 5: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx c: fc ff df f: 4d 8b 34 24 mov (%r12),%r14 13: 4d 39 e6 cmp %r12,%r14 16: 0f 84 b1 00 00 00 je 0xcd 1c: 4c 89 f3 mov %r14,%rbx 1f: 49 8d 6e e8 lea -0x18(%r14),%rbp 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction 2e: 74 12 je 0x42 30: 48 89 df mov %rbx,%rdi 33: e8 85 62 47 00 callq 0x4762bd 38: 48 rex.W 39: ba 00 00 00 00 mov $0x0,%edx 3e: 00 fc add %bh,%ah