Oops: general protection fault, probably for non-canonical address 0xdffffc000000044c: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: probably user-memory-access in range [0x0000000000002260-0x0000000000002267] CPU: 0 UID: 0 PID: 9605 Comm: kworker/u8:10 Not tainted 6.11.0-rc6-syzkaller-00019-g67784a74e258 #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+0x13a/0x12e0 drivers/tty/n_tty.c:1718 Code: c0 48 89 84 24 b0 00 00 00 48 89 8c 24 f0 00 00 00 48 c1 e9 03 48 89 8c 24 f8 00 00 00 48 89 5c 24 60 48 8b 84 24 f8 00 00 00 <42> 80 3c 38 00 74 0d 48 8b bc 24 f0 00 00 00 e8 32 98 c5 fc 4c 89 RSP: 0018:ffffc900042279a0 EFLAGS: 00010202 RAX: 000000000000044c RBX: ffff8880349a6438 RCX: 000000000000044c RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000001 RBP: ffff8880349a6000 R08: ffff8880349a6287 R09: 1ffff11006934c50 R10: dffffc0000000000 R11: ffffed1006934c51 R12: ffff88805f55f03c R13: ffff88805f55f03c R14: 0000000000000002 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000c36b004 CR3: 000000005ff5e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tty_port_default_receive_buf+0x6d/0xa0 drivers/tty/tty_port.c:37 receive_buf drivers/tty/tty_buffer.c:445 [inline] flush_to_ldisc+0x328/0x860 drivers/tty/tty_buffer.c:495 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd10 kernel/workqueue.c:3389 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:n_tty_receive_buf_common+0x13a/0x12e0 drivers/tty/n_tty.c:1718 Code: c0 48 89 84 24 b0 00 00 00 48 89 8c 24 f0 00 00 00 48 c1 e9 03 48 89 8c 24 f8 00 00 00 48 89 5c 24 60 48 8b 84 24 f8 00 00 00 <42> 80 3c 38 00 74 0d 48 8b bc 24 f0 00 00 00 e8 32 98 c5 fc 4c 89 RSP: 0018:ffffc900042279a0 EFLAGS: 00010202 RAX: 000000000000044c RBX: ffff8880349a6438 RCX: 000000000000044c RDX: 0000000000000001 RSI: 0000000000000008 RDI: 0000000000000001 RBP: ffff8880349a6000 R08: ffff8880349a6287 R09: 1ffff11006934c50 R10: dffffc0000000000 R11: ffffed1006934c51 R12: ffff88805f55f03c R13: ffff88805f55f03c R14: 0000000000000002 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056392c883208 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c0 48 89 84 rorb $0x84,-0x77(%rax) 4: 24 b0 and $0xb0,%al 6: 00 00 add %al,(%rax) 8: 00 48 89 add %cl,-0x77(%rax) b: 8c 24 f0 mov %fs,(%rax,%rsi,8) e: 00 00 add %al,(%rax) 10: 00 48 c1 add %cl,-0x3f(%rax) 13: e9 03 48 89 8c jmp 0x8c89481b 18: 24 f8 and $0xf8,%al 1a: 00 00 add %al,(%rax) 1c: 00 48 89 add %cl,-0x77(%rax) 1f: 5c pop %rsp 20: 24 60 and $0x60,%al 22: 48 8b 84 24 f8 00 00 mov 0xf8(%rsp),%rax 29: 00 * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 0d je 0x3e 31: 48 8b bc 24 f0 00 00 mov 0xf0(%rsp),%rdi 38: 00 39: e8 32 98 c5 fc call 0xfcc59870 3e: 4c rex.WR 3f: 89 .byte 0x89