general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 5181 Comm: kworker/0:5 Not tainted 6.5.0-rc4-next-20230804-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: pm pm_runtime_work RIP: 0010:serial8250_tx_chars+0x3bb/0xf60 drivers/tty/serial/8250/8250_port.c:1812 Code: 05 00 00 e8 c7 60 ed fc 48 8b 44 24 30 80 38 00 0f 85 2d 0a 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 28 38 d0 7f 08 84 c0 0f 85 86 09 00 00 48 8b 44 24 18 41 RSP: 0018:ffffc90004c17a20 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffffff92323fe0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff849961d9 RDI: ffffffff92324290 RBP: dffffc0000000000 R08: 0000000000000004 R09: ffffffff92324104 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88801c480c30 R14: 0000000000000010 R15: 0000000000000fff FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002057eff8 CR3: 000000007ced3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __start_tx drivers/tty/serial/8250/8250_port.c:1547 [inline] serial8250_start_tx+0x7a8/0x980 drivers/tty/serial/8250/8250_port.c:1656 serial_port_runtime_resume+0x29e/0x330 drivers/tty/serial/serial_port.c:40 __rpm_callback+0xc5/0x4c0 drivers/base/power/runtime.c:392 rpm_callback+0x1da/0x220 drivers/base/power/runtime.c:446 rpm_resume+0xdb9/0x1980 drivers/base/power/runtime.c:912 pm_runtime_work+0x12e/0x180 drivers/base/power/runtime.c:977 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2603 worker_thread+0x687/0x1110 kernel/workqueue.c:2754 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:serial8250_tx_chars+0x3bb/0xf60 drivers/tty/serial/8250/8250_port.c:1812 Code: 05 00 00 e8 c7 60 ed fc 48 8b 44 24 30 80 38 00 0f 85 2d 0a 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 28 38 d0 7f 08 84 c0 0f 85 86 09 00 00 48 8b 44 24 18 41 RSP: 0018:ffffc90004c17a20 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffffffff92323fe0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff849961d9 RDI: ffffffff92324290 RBP: dffffc0000000000 R08: 0000000000000004 R09: ffffffff92324104 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88801c480c30 R14: 0000000000000010 R15: 0000000000000fff FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002057eff8 CR3: 000000007ced3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 00 add %al,(%rax) 2: e8 c7 60 ed fc call 0xfced60ce 7: 48 8b 44 24 30 mov 0x30(%rsp),%rax c: 80 38 00 cmpb $0x0,(%rax) f: 0f 85 2d 0a 00 00 jne 0xa42 15: 4d 03 a5 a0 03 00 00 add 0x3a0(%r13),%r12 1c: 4c 89 e0 mov %r12,%rax 1f: 4c 89 e2 mov %r12,%rdx 22: 48 c1 e8 03 shr $0x3,%rax 26: 83 e2 07 and $0x7,%edx * 29: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax <-- trapping instruction 2d: 38 d0 cmp %dl,%al 2f: 7f 08 jg 0x39 31: 84 c0 test %al,%al 33: 0f 85 86 09 00 00 jne 0x9bf 39: 48 8b 44 24 18 mov 0x18(%rsp),%rax 3e: 41 rex.B