general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 27169 Comm: kworker/1:17 Not tainted 6.4.0-rc6-next-20230615-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: pm pm_runtime_work RIP: 0010:serial8250_tx_chars+0x3b5/0xf10 drivers/tty/serial/8250/8250_port.c:1813 Code: 05 00 00 e8 5d 34 f9 fc 48 8b 44 24 30 80 38 00 0f 85 ab 09 00 00 4d 03 a5 a0 03 00 00 4c 89 e0 4c 89 e2 48 c1 e8 03 83 e2 07 <0f> b6 04 18 38 d0 7f 08 84 c0 0f 85 96 09 00 00 48 8b 44 24 18 41 RSP: 0018:ffffc900035ffa58 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff848b2dc3 RDI: ffffffff923ff990 RBP: ffffffff923ff6e0 R08: 0000000000000004 R09: 0000000000000fff R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88801f630c30 R14: 0000000000000010 R15: 0000000000000fff FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f96a5145d38 CR3: 000000007d2fa000 CR4: 00000000003506e0 Call Trace: __start_tx drivers/tty/serial/8250/8250_port.c:1547 [inline] serial8250_start_tx+0x7b9/0x990 drivers/tty/serial/8250/8250_port.c:1656 serial_port_runtime_resume+0x29e/0x330 drivers/tty/serial/serial_port.c:40 __rpm_callback+0xc9/0x330 drivers/base/power/runtime.c:392 rpm_callback+0x1e3/0x230 drivers/base/power/runtime.c:446 rpm_resume+0xf3f/0x1aa0 drivers/base/power/runtime.c:912 pm_runtime_work+0x12e/0x180 drivers/base/power/runtime.c:977 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2594 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2745 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:serial8250_tx_chars+0x3b5/0xf10 drivers/tty/serial/8250/8250_port.c:1813 Code: 05 00 00 e8 5d 34 f9 fc 48 8b 44 24 30 80 38 00 0f 85 ab 09 00 00 4d 03 a5 a0 03 00 00 4c 89 e0 4c 89 e2 48 c1 e8 03 83 e2 07 <0f> b6 04 18 38 d0 7f 08 84 c0 0f 85 96 09 00 00 48 8b 44 24 18 41 RSP: 0018:ffffc900035ffa58 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff848b2dc3 RDI: ffffffff923ff990 RBP: ffffffff923ff6e0 R08: 0000000000000004 R09: 0000000000000fff R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88801f630c30 R14: 0000000000000010 R15: 0000000000000fff FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f96a5145d38 CR3: 000000007d2fa000 CR4: 00000000003506e0 ---------------- Code disassembly (best guess): 0: 05 00 00 e8 5d add $0x5de80000,%eax 5: 34 f9 xor $0xf9,%al 7: fc cld 8: 48 8b 44 24 30 mov 0x30(%rsp),%rax d: 80 38 00 cmpb $0x0,(%rax) 10: 0f 85 ab 09 00 00 jne 0x9c1 16: 4d 03 a5 a0 03 00 00 add 0x3a0(%r13),%r12 1d: 4c 89 e0 mov %r12,%rax 20: 4c 89 e2 mov %r12,%rdx 23: 48 c1 e8 03 shr $0x3,%rax 27: 83 e2 07 and $0x7,%edx * 2a: 0f b6 04 18 movzbl (%rax,%rbx,1),%eax <-- trapping instruction 2e: 38 d0 cmp %dl,%al 30: 7f 08 jg 0x3a 32: 84 c0 test %al,%al 34: 0f 85 96 09 00 00 jne 0x9d0 3a: 48 8b 44 24 18 mov 0x18(%rsp),%rax 3f: 41 rex.B