Oops: general protection fault, probably for non-canonical address 0xdffffc000000044c: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x0000000000002260-0x0000000000002267]
CPU: 1 UID: 0 PID: 1098 Comm: kworker/u8:7 Not tainted 6.11.0-rc5-syzkaller-00050-g3ec3f5fc4a91 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: events_unbound flush_to_ldisc
RIP: 0010:n_tty_receive_buf_common+0xf3/0x1980 drivers/tty/n_tty.c:1718
Code: 00 48 89 74 24 60 4a 8d 0c 39 4a 8d 34 3a 48 89 4c 24 70 48 89 74 24 68 48 89 84 24 a0 00 00 00 e8 c2 f8 94 fc 48 8b 44 24 68 <80> 38 00 0f 85 af 15 00 00 48 8b 44 24 18 48 8b a8 60 22 00 00 48
RSP: 0018:ffffc90004307ad0 EFLAGS: 00010293
RAX: dffffc000000044c RBX: 0000000000000001 RCX: dffffc0000000000
RDX: ffff888022771e00 RSI: ffffffff84f6c5de RDI: 000000000000005c
RBP: 0000000000000002 R08: 0000000000000001 R09: ffffed100f57d250
R10: ffff88807abe9287 R11: 0000000000000000 R12: ffffffff84f6de80
R13: 0000000000000000 R14: ffff88807abe9000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5c09912060 CR3: 0000000068176000 CR4: 0000000000350ef0
Call Trace:
<TASK>
tty_ldisc_receive_buf+0xa5/0x190 drivers/tty/tty_buffer.c:387
tty_port_default_receive_buf+0x70/0xb0 drivers/tty/tty_port.c:37
receive_buf drivers/tty/tty_buffer.c:445 [inline]
flush_to_ldisc+0x267/0x780 drivers/tty/tty_buffer.c:495
process_one_work+0x9c8/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xed0 kernel/workqueue.c:3389
kthread+0x2c4/0x3a0 kernel/kthread.c:389
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:n_tty_receive_buf_common+0xf3/0x1980 drivers/tty/n_tty.c:1718
Code: 00 48 89 74 24 60 4a 8d 0c 39 4a 8d 34 3a 48 89 4c 24 70 48 89 74 24 68 48 89 84 24 a0 00 00 00 e8 c2 f8 94 fc 48 8b 44 24 68 <80> 38 00 0f 85 af 15 00 00 48 8b 44 24 18 48 8b a8 60 22 00 00 48
RSP: 0018:ffffc90004307ad0 EFLAGS: 00010293
RAX: dffffc000000044c RBX: 0000000000000001 RCX: dffffc0000000000
RDX: ffff888022771e00 RSI: ffffffff84f6c5de RDI: 000000000000005c
RBP: 0000000000000002 R08: 0000000000000001 R09: ffffed100f57d250
R10: ffff88807abe9287 R11: 0000000000000000 R12: ffffffff84f6de80
R13: 0000000000000000 R14: ffff88807abe9000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020048000 CR3: 000000007d50e000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 48 89 74 24 60 mov %rsi,0x60(%rsp)
5: 4a 8d 0c 39 lea (%rcx,%r15,1),%rcx
9: 4a 8d 34 3a lea (%rdx,%r15,1),%rsi
d: 48 89 4c 24 70 mov %rcx,0x70(%rsp)
12: 48 89 74 24 68 mov %rsi,0x68(%rsp)
17: 48 89 84 24 a0 00 00 mov %rax,0xa0(%rsp)
1e: 00
1f: e8 c2 f8 94 fc call 0xfc94f8e6
24: 48 8b 44 24 68 mov 0x68(%rsp),%rax
* 29: 80 38 00 cmpb $0x0,(%rax) <-- trapping instruction
2c: 0f 85 af 15 00 00 jne 0x15e1
32: 48 8b 44 24 18 mov 0x18(%rsp),%rax
37: 48 8b a8 60 22 00 00 mov 0x2260(%rax),%rbp
3e: 48 rex.W