Oops: general protection fault, probably for non-canonical address 0xdffffc000000018f: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000c78-0x0000000000000c7f] CPU: 1 PID: 11016 Comm: kworker/1:8 Not tainted 6.9.0-rc2-next-20240405-syzkaller #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: 8a 3f be 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:ffffc90004e67830 EFLAGS: 00010002 RAX: 000000000000018f RBX: ffff88801f7b0fd0 RCX: 1ffffffff29532cb RDX: 1ffffffff2953315 RSI: 0000000000000c79 RDI: ffffffff94a998b0 RBP: 0000000000000c79 R08: ffffffff853c5c57 R09: fffff520009ccf00 R10: dffffc0000000000 R11: ffffffff853d0ba0 R12: ffffffff94a99650 R13: ffffffff94a99708 R14: ffffffff94a99600 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f40c30d9b38 CR3: 000000002bba4000 CR4: 00000000003506f0 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:3218 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3299 worker_thread+0x86d/0xd70 kernel/workqueue.c:3380 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:243 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:serial8250_tx_chars+0x28c/0x8a0 drivers/tty/serial/8250/8250_port.c:1799 Code: 8a 3f be 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:ffffc90004e67830 EFLAGS: 00010002 RAX: 000000000000018f RBX: ffff88801f7b0fd0 RCX: 1ffffffff29532cb RDX: 1ffffffff2953315 RSI: 0000000000000c79 RDI: ffffffff94a998b0 RBP: 0000000000000c79 R08: ffffffff853c5c57 R09: fffff520009ccf00 R10: dffffc0000000000 R11: ffffffff853d0ba0 R12: ffffffff94a99650 R13: ffffffff94a99708 R14: ffffffff94a99600 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f40c30d9b38 CR3: 000000002bba4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 8a 3f mov (%rdi),%bh 2: be fc 48 8b 2b mov $0x2b8b48fc,%esi 7: 48 8b 44 24 20 mov 0x20(%rsp),%rax c: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax 11: 84 c0 test %al,%al 13: 0f 85 97 02 00 00 jne 0x2b0 19: 48 8b 04 24 mov (%rsp),%rax 1d: 48 63 00 movslq (%rax),%rax 20: 48 01 c5 add %rax,%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 99 02 00 00 jne 0x2d0 37: 0f b6 6d 00 movzbl 0x0(%rbp),%ebp 3b: 48 8b 44 24 58 mov 0x58(%rsp),%rax