general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 1 Comm: systemd Not tainted 5.15.0-rc6-next-20211019-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:blk_mq_free_request+0x16d/0x5d0 block/blk-mq.c:589
Code: 48 8b 9d d8 00 00 00 48 85 db 0f 84 7c 02 00 00 e8 48 3d b3 fd 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 34 04 00 00 48 8b 7b 08 e8 90 97 fe ff 4c 89 fa
RSP: 0018:ffffc90000dc0ca0 EFLAGS: 00010003
RAX: dffffc0000000000 RBX: 0000000000000007 RCX: 0000000000000100
RDX: 0000000000000001 RSI: ffffffff83c437a8 RDI: 000000000000000f
RBP: ffff88801d37b800 R08: 0000000000000001 R09: ffff88801d274cbf
R10: ffffffff83ce54c3 R11: 0000000000000000 R12: ffff88801b678dd0
R13: ffff88801d37b81c R14: ffff88801a687800 R15: ffff88801d37b8d8
FS: 00007f751f399500(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c76f73aa80 CR3: 0000000022ed7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__blk_mq_end_request+0x339/0x580 block/blk-mq.c:782
blk_flush_complete_seq+0x561/0x1040 block/blk-flush.c:204
flush_end_io+0x76e/0xbf0 block/blk-flush.c:259
__blk_mq_end_request+0x123/0x580 block/blk-mq.c:780
scsi_end_request+0x485/0x980 drivers/scsi/scsi_lib.c:577
scsi_io_completion+0x24f/0x1650 drivers/scsi/scsi_lib.c:939
scsi_complete+0x129/0x3b0 drivers/scsi/scsi_lib.c:1433
blk_complete_reqs+0xad/0xe0 block/blk-mq.c:852
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
common_interrupt+0xa9/0xc0 arch/x86/kernel/irq.c:240
asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:629
RIP: 0010:debug_check_no_locks_freed+0xf9/0x1b0 kernel/locking/lockdep.c:6425
Code: 73 33 4d 8d 34 34 4c 39 f0 73 2a e8 91 db 78 02 85 c0 75 2c 9c 58 f6 c4 02 75 5e 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 18 <5b> 5d 41 5c 41 5d 41 5e 41 5f c3 48 83 c3 28 48 39 cb 75 a1 eb d4
RSP: 0018:ffffc90000c67798 EFLAGS: 00000282
RAX: 0000000000000046 RBX: ffff888140788af0 RCX: ffff888140788af0
RDX: ffff88807ba0a0c0 RSI: 0000000000000040 RDI: ffff888140788a60
RBP: ffff888140788ab8 R08: 0000000000000001 R09: ffffc90001b1c287
R10: fffff52000363850 R11: 0000000000000001 R12: ffffc90001b1c288
R13: ffff888140788000 R14: ffffc90001b1c2c8 R15: dffffc0000000000
__raw_spin_lock_init+0x1c/0x110 kernel/locking/spinlock_debug.c:23
__mutex_init+0x5d/0x120 kernel/locking/mutex.c:46
n_tty_open+0x8a/0x170 drivers/tty/n_tty.c:1853
tty_ldisc_open+0x9b/0x110 drivers/tty/tty_ldisc.c:449
tty_ldisc_setup+0x43/0x100 drivers/tty/tty_ldisc.c:766
tty_init_dev.part.0+0x1f4/0x610 drivers/tty/tty_io.c:1453
tty_init_dev include/linux/err.h:36 [inline]
tty_open_by_driver drivers/tty/tty_io.c:2098 [inline]
tty_open+0xb16/0x1000 drivers/tty/tty_io.c:2146
chrdev_open+0x266/0x770 fs/char_dev.c:414
do_dentry_open+0x4c8/0x11d0 fs/open.c:822
do_open fs/namei.c:3428 [inline]
path_openat+0x1c9a/0x2740 fs/namei.c:3561
do_filp_open+0x1aa/0x400 fs/namei.c:3588
do_sys_openat2+0x16d/0x4d0 fs/open.c:1200
do_sys_open fs/open.c:1216 [inline]
__do_sys_open fs/open.c:1224 [inline]
__se_sys_open fs/open.c:1220 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1220
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f751dc36840
Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24
RSP: 002b:00007ffc22cdd308 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f751dc36840
RDX: 0000000000000000 RSI: 0000000000080101 RDI: 000055c76f0afbe9
RBP: 0000000000000015 R08: 000055c76f7a44d0 R09: 0000000000000000
R10: 0000000000000073 R11: 0000000000000246 R12: 0000000000080101
R13: 000055c76f0afbe9 R14: 0000000000000000 R15: 0000000000000001
Modules linked in:
---[ end trace 33876901bb1db670 ]---
RIP: 0010:blk_mq_free_request+0x16d/0x5d0 block/blk-mq.c:589
Code: 48 8b 9d d8 00 00 00 48 85 db 0f 84 7c 02 00 00 e8 48 3d b3 fd 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 34 04 00 00 48 8b 7b 08 e8 90 97 fe ff 4c 89 fa
RSP: 0018:ffffc90000dc0ca0 EFLAGS: 00010003
RAX: dffffc0000000000 RBX: 0000000000000007 RCX: 0000000000000100
RDX: 0000000000000001 RSI: ffffffff83c437a8 RDI: 000000000000000f
RBP: ffff88801d37b800 R08: 0000000000000001 R09: ffff88801d274cbf
R10: ffffffff83ce54c3 R11: 0000000000000000 R12: ffff88801b678dd0
R13: ffff88801d37b81c R14: ffff88801a687800 R15: ffff88801d37b8d8
FS: 00007f751f399500(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c76f73aa80 CR3: 0000000022ed7000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 8b 9d d8 00 00 00 mov 0xd8(%rbp),%rbx
7: 48 85 db test %rbx,%rbx
a: 0f 84 7c 02 00 00 je 0x28c
10: e8 48 3d b3 fd callq 0xfdb33d5d
15: 48 8d 7b 08 lea 0x8(%rbx),%rdi
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 34 04 00 00 jne 0x468
34: 48 8b 7b 08 mov 0x8(%rbx),%rdi
38: e8 90 97 fe ff callq 0xfffe97cd
3d: 4c 89 fa mov %r15,%rdx