BUG: kernel NULL pointer dereference, address: 0000000000000010 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 11a71e067 P4D 11a71e067 PUD 11a726067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 2795 Comm: syz-executor.0 Not tainted 6.5.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:generic_hwtstamp_ioctl_lower+0x70/0xe0 net/core/dev_ioctl.c:419 Code: 48 c7 44 24 10 00 00 00 00 48 c7 44 24 18 00 00 00 00 48 c7 44 24 20 00 00 00 00 e8 7a 01 7b ff 48 8b 43 10 4c 89 e7 48 89 e6 <48> 8b 50 10 48 89 54 24 10 48 8b 50 18 48 89 54 24 18 48 8b 40 20 RSP: 0018:ffffc9000159bbc0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc9000159bc20 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffc9000159bbc0 RDI: ffff88811a507000 RBP: ffffc9000159bc08 R08: fefefefefeff6d60 R09: 0000000000000003 R10: ffffc9000159bbcb R11: fefefefefefefeff R12: ffff88811a507000 R13: 00000000000089b1 R14: 0000000000000000 R15: ffff88811a524000 FS: 00007f7e04b7e6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000010 CR3: 000000011a6c4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dev_set_hwtstamp_phylib+0x123/0x210 net/core/dev_ioctl.c:338 dev_set_hwtstamp+0x106/0x180 net/core/dev_ioctl.c:395 dev_ifsioc+0x251/0x5d0 net/core/dev_ioctl.c:597 dev_ioctl+0x115/0x500 net/core/dev_ioctl.c:783 sock_do_ioctl+0xcb/0x110 net/socket.c:1204 sock_ioctl+0xe8/0x330 net/socket.c:1307 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x8b/0xc0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7e04ffbae9 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:00007f7e04b7e0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7e0511af80 RCX: 00007f7e04ffbae9 RDX: 0000000020000080 RSI: 00000000000089b0 RDI: 0000000000000003 RBP: 00007f7e0504747a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f7e0511af80 R15: 00007ffd73034b28 Modules linked in: CR2: 0000000000000010 ---[ end trace 0000000000000000 ]--- RIP: 0010:generic_hwtstamp_ioctl_lower+0x70/0xe0 net/core/dev_ioctl.c:419 Code: 48 c7 44 24 10 00 00 00 00 48 c7 44 24 18 00 00 00 00 48 c7 44 24 20 00 00 00 00 e8 7a 01 7b ff 48 8b 43 10 4c 89 e7 48 89 e6 <48> 8b 50 10 48 89 54 24 10 48 8b 50 18 48 89 54 24 18 48 8b 40 20 RSP: 0018:ffffc9000159bbc0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc9000159bc20 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffc9000159bbc0 RDI: ffff88811a507000 RBP: ffffc9000159bc08 R08: fefefefefeff6d60 R09: 0000000000000003 R10: ffffc9000159bbcb R11: fefefefefefefeff R12: ffff88811a507000 R13: 00000000000089b1 R14: 0000000000000000 R15: ffff88811a524000 FS: 00007f7e04b7e6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000010 CR3: 000000011a6c4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c7 44 24 10 00 00 movq $0x0,0x10(%rsp) 7: 00 00 9: 48 c7 44 24 18 00 00 movq $0x0,0x18(%rsp) 10: 00 00 12: 48 c7 44 24 20 00 00 movq $0x0,0x20(%rsp) 19: 00 00 1b: e8 7a 01 7b ff call 0xff7b019a 20: 48 8b 43 10 mov 0x10(%rbx),%rax 24: 4c 89 e7 mov %r12,%rdi 27: 48 89 e6 mov %rsp,%rsi * 2a: 48 8b 50 10 mov 0x10(%rax),%rdx <-- trapping instruction 2e: 48 89 54 24 10 mov %rdx,0x10(%rsp) 33: 48 8b 50 18 mov 0x18(%rax),%rdx 37: 48 89 54 24 18 mov %rdx,0x18(%rsp) 3c: 48 8b 40 20 mov 0x20(%rax),%rax