general protection fault, probably for non-canonical address 0xdffffc000000008f: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000478-0x000000000000047f] CPU: 1 PID: 5183 Comm: kworker/1:6 Not tainted 6.9.0-rc4-syzkaller-00266-g977b1ef51866 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: pm pm_runtime_work RIP: 0010:serial8250_tx_chars+0x28c/0x8a0 drivers/tty/serial/8250/8250_port.c:1799 Code: ea bb c4 fc 48 8b 2b 48 8b 44 24 20 42 0f b6 04 38 84 c0 0f 85 97 02 00 00 48 8b 04 24 48 63 00 48 01 c5 48 89 e8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 99 02 00 00 0f b6 6d 00 48 8b 44 24 58 RSP: 0018:ffffc900042d7830 EFLAGS: 00010003 RAX: 000000000000008f RBX: ffff88801fb30fd0 RCX: 1ffffffff2944257 RDX: 1ffffffff29442a1 RSI: 000000000000047f RDI: ffffffff94a21510 RBP: 000000000000047f R08: ffffffff85325527 R09: fffff5200085af00 R10: dffffc0000000000 R11: ffffffff85330470 R12: ffffffff94a212b0 R13: ffffffff94a21368 R14: ffffffff94a21260 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60c37025e1 CR3: 0000000011752000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __start_tx+0x32e/0x470 drivers/tty/serial/8250/8250_port.c:1534 serial_port_runtime_suspend+0x21d/0x2e0 drivers/tty/serial/serial_port.c:65 __rpm_callback+0x2df/0x790 drivers/base/power/runtime.c:394 rpm_callback drivers/base/power/runtime.c:448 [inline] rpm_suspend+0x88c/0x1730 drivers/base/power/runtime.c:672 pm_runtime_work+0x175/0x210 drivers/base/power/runtime.c:976 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3335 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416 kthread+0x2f0/0x390 kernel/kthread.c:388 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:serial8250_tx_chars+0x28c/0x8a0 drivers/tty/serial/8250/8250_port.c:1799 Code: ea bb c4 fc 48 8b 2b 48 8b 44 24 20 42 0f b6 04 38 84 c0 0f 85 97 02 00 00 48 8b 04 24 48 63 00 48 01 c5 48 89 e8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 99 02 00 00 0f b6 6d 00 48 8b 44 24 58 RSP: 0018:ffffc900042d7830 EFLAGS: 00010003 RAX: 000000000000008f RBX: ffff88801fb30fd0 RCX: 1ffffffff2944257 RDX: 1ffffffff29442a1 RSI: 000000000000047f RDI: ffffffff94a21510 RBP: 000000000000047f R08: ffffffff85325527 R09: fffff5200085af00 R10: dffffc0000000000 R11: ffffffff85330470 R12: ffffffff94a212b0 R13: ffffffff94a21368 R14: ffffffff94a21260 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60c37025e1 CR3: 0000000011752000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: bb c4 fc 48 8b mov $0x8b48fcc4,%ebx 5: 2b 48 8b sub -0x75(%rax),%ecx 8: 44 24 20 rex.R and $0x20,%al b: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 10: 84 c0 test %al,%al 12: 0f 85 97 02 00 00 jne 0x2af 18: 48 8b 04 24 mov (%rsp),%rax 1c: 48 63 00 movslq (%rax),%rax 1f: 48 01 c5 add %rax,%rbp 22: 48 89 e8 mov %rbp,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 99 02 00 00 jne 0x2cf 36: 0f b6 6d 00 movzbl 0x0(%rbp),%ebp 3a: 48 8b 44 24 58 mov 0x58(%rsp),%rax