general protection fault, probably for non-canonical address 0xdffffc000000020b: 0000 [#1] PREEMPT SMP KASAN KASAN: probably user-memory-access in range [0x0000000000001058-0x000000000000105f] CPU: 1 PID: 12974 Comm: syz-executor.4 Not tainted 6.6.0-next-20231103-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:ptp_ioctl+0x11f8/0x1d10 drivers/ptp/ptp_chardev.c:488 Code: 81 fb ff 07 00 00 0f 87 0b f6 ff ff e8 b1 9f 1f fa 49 8d bc 24 58 10 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 05 0a 00 00 4d 8b a4 24 58 10 00 00 48 89 d8 be RSP: 0018:ffffc9000337fba0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000b712000 RDX: 000000000000020b RSI: ffffffff87695f2f RDI: 0000000000001058 RBP: ffffc9000337fec0 R08: 0000000000000005 R09: 00000000000007ff R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffc9000337fc80 R14: 0000000040043d14 R15: ffffffff92af7ba8 FS: 00007f9f760b96c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32822000 CR3: 00000000286b4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: posix_clock_ioctl+0xf8/0x160 kernel/time/posix-clock.c:86 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f9f7527cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9f760b90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f9f7539bf80 RCX: 00007f9f7527cae9 RDX: 0000000020000d00 RSI: 0000000040043d14 RDI: 0000000000000003 RBP: 00007f9f752c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9f7539bf80 R15: 00007ffdc18c2128 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ptp_ioctl+0x11f8/0x1d10 drivers/ptp/ptp_chardev.c:488 Code: 81 fb ff 07 00 00 0f 87 0b f6 ff ff e8 b1 9f 1f fa 49 8d bc 24 58 10 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 05 0a 00 00 4d 8b a4 24 58 10 00 00 48 89 d8 be RSP: 0018:ffffc9000337fba0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000b712000 RDX: 000000000000020b RSI: ffffffff87695f2f RDI: 0000000000001058 RBP: ffffc9000337fec0 R08: 0000000000000005 R09: 00000000000007ff R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffc9000337fc80 R14: 0000000040043d14 R15: ffffffff92af7ba8 FS: 00007f9f760b96c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd2e9416d58 CR3: 00000000286b4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 81 fb ff 07 00 00 cmp $0x7ff,%ebx 6: 0f 87 0b f6 ff ff ja 0xfffff617 c: e8 b1 9f 1f fa call 0xfa1f9fc2 11: 49 8d bc 24 58 10 00 lea 0x1058(%r12),%rdi 18: 00 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 05 0a 00 00 jne 0xa39 34: 4d 8b a4 24 58 10 00 mov 0x1058(%r12),%r12 3b: 00 3c: 48 89 d8 mov %rbx,%rax 3f: be .byte 0xbe