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: 297 Comm: syz-executor228 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:rtc_dev_ioctl+0x7b9/0x930 drivers/rtc/dev.c:387 Code: 85 f6 0f 84 d5 00 00 00 e8 24 2a 40 fe 48 c7 c0 f2 ff ff ff e9 b7 f9 ff ff e8 13 2a 40 fe 4c 8b 74 24 38 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 48 ac 7a fe 4d 8b 36 4d 85 f6 74 RSP: 0018:ffffc90000b07d60 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810b769000 RCX: ffff88810acb6400 RDX: 0000000000000000 RSI: ffffffff86967290 RDI: 000000008004f50c RBP: ffffc90000b07eb0 R08: ffff88810acb6400 R09: 000000000000000f R10: 0000000080287010 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff92000160fb4 R14: 0000000000000000 R15: dffffc0000000000 FS: 000055556c98c3c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000062b5d8 CR3: 0000000101dfd000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x121/0x1a0 fs/ioctl.c:739 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa271376d39 Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 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 d8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd9bd92498 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffd9bd925c8 RCX: 00007fa271376d39 RDX: 0000000000000000 RSI: 000000008004f50c RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffd9bd925c8 R09: 00007ffd9bd925c8 R10: 00007ffd9bd925c8 R11: 0000000000000246 R12: 00007ffd9bd925b8 R13: 0000000000000002 R14: 00007fa271407ca0 R15: 0000000000000002 Modules linked in: ---[ end trace 31de089922517e6f ]--- RIP: 0010:rtc_dev_ioctl+0x7b9/0x930 drivers/rtc/dev.c:387 Code: 85 f6 0f 84 d5 00 00 00 e8 24 2a 40 fe 48 c7 c0 f2 ff ff ff e9 b7 f9 ff ff e8 13 2a 40 fe 4c 8b 74 24 38 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 48 ac 7a fe 4d 8b 36 4d 85 f6 74 RSP: 0018:ffffc90000b07d60 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810b769000 RCX: ffff88810acb6400 RDX: 0000000000000000 RSI: ffffffff86967290 RDI: 000000008004f50c RBP: ffffc90000b07eb0 R08: ffff88810acb6400 R09: 000000000000000f R10: 0000000080287010 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff92000160fb4 R14: 0000000000000000 R15: dffffc0000000000 FS: 000055556c98c3c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c695fa8a68 CR3: 0000000101dfd000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 85 f6 test %esi,%esi 2: 0f 84 d5 00 00 00 je 0xdd 8: e8 24 2a 40 fe call 0xfe402a31 d: 48 c7 c0 f2 ff ff ff mov $0xfffffffffffffff2,%rax 14: e9 b7 f9 ff ff jmp 0xfffff9d0 19: e8 13 2a 40 fe call 0xfe402a31 1e: 4c 8b 74 24 38 mov 0x38(%rsp),%r14 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 48 ac 7a fe call 0xfe7aac81 39: 4d 8b 36 mov (%r14),%r14 3c: 4d 85 f6 test %r14,%r14 3f: 74 .byte 0x74