BUG: unable to handle page fault for address: 0000000020081000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 8132d067 P4D 8132d067 PUD 22172067 PMD 7d54e067 PTE 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 28056 Comm: syz-executor.0 Not tainted 6.2.0-rc5-syzkaller-00221-gab072681eabe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:clear_user_rep_good+0x1c/0x30 arch/x86/lib/clear_page_64.S:147 Code: 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 48 83 f9 40 72 a6 89 ca 48 c1 e9 03 74 03 f3 48 ab 83 e2 07 74 04 89 d1 aa 31 c0 c3 48 c1 e1 03 83 e2 07 48 01 d1 eb f1 0f 1f 00 f3 0f RSP: 0018:ffffc90015cc76d8 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 0000000000081002 RCX: 0000000000000002 RDX: 0000000000000002 RSI: ffffffff84098c49 RDI: 0000000020081000 RBP: 0000000000081002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90015cc7d70 R13: 0000000020000000 R14: 000000007ffff000 R15: 0000000000000000 FS: 00007f12749be700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020081000 CR3: 0000000029867000 CR4: 0000000000350ee0 Call Trace: __clear_user arch/x86/include/asm/uaccess_64.h:103 [inline] clear_user arch/x86/include/asm/uaccess_64.h:124 [inline] iov_iter_zero+0x709/0x1290 lib/iov_iter.c:800 iomap_dio_hole_iter fs/iomap/direct-io.c:389 [inline] iomap_dio_iter fs/iomap/direct-io.c:440 [inline] __iomap_dio_rw+0xe3d/0x1cd0 fs/iomap/direct-io.c:601 iomap_dio_rw+0x40/0xa0 fs/iomap/direct-io.c:689 ext4_dio_read_iter fs/ext4/file.c:94 [inline] ext4_file_read_iter+0x4be/0x690 fs/ext4/file.c:145 call_read_iter include/linux/fs.h:2183 [inline] do_iter_readv_writev+0x2e0/0x3b0 fs/read_write.c:733 do_iter_read+0x2f2/0x750 fs/read_write.c:796 vfs_readv+0xe5/0x150 fs/read_write.c:916 do_preadv+0x1b6/0x270 fs/read_write.c:1008 __do_sys_preadv2 fs/read_write.c:1070 [inline] __se_sys_preadv2 fs/read_write.c:1061 [inline] __x64_sys_preadv2+0xef/0x150 fs/read_write.c:1061 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1273c8c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f12749be168 EFLAGS: 00000246 ORIG_RAX: 0000000000000147 RAX: ffffffffffffffda RBX: 00007f1273dabf80 RCX: 00007f1273c8c0c9 RDX: 0000000000000001 RSI: 0000000020000100 RDI: 0000000000000003 RBP: 00007f1273ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000007fffe R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe50a364bf R14: 00007f12749be300 R15: 0000000000022000 Modules linked in: CR2: 0000000020081000 ---[ end trace 0000000000000000 ]--- RIP: 0010:clear_user_rep_good+0x1c/0x30 arch/x86/lib/clear_page_64.S:147 Code: 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 48 83 f9 40 72 a6 89 ca 48 c1 e9 03 74 03 f3 48 ab 83 e2 07 74 04 89 d1 aa 31 c0 c3 48 c1 e1 03 83 e2 07 48 01 d1 eb f1 0f 1f 00 f3 0f RSP: 0018:ffffc90015cc76d8 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 0000000000081002 RCX: 0000000000000002 RDX: 0000000000000002 RSI: ffffffff84098c49 RDI: 0000000020081000 RBP: 0000000000081002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90015cc7d70 R13: 0000000020000000 R14: 000000007ffff000 R15: 0000000000000000 FS: 00007f12749be700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc585016000 CR3: 0000000029867000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 7: 00 00 00 00 b: 0f 1f 00 nopl (%rax) e: f3 0f 1e fa endbr64 12: 48 83 f9 40 cmp $0x40,%rcx 16: 72 a6 jb 0xffffffbe 18: 89 ca mov %ecx,%edx 1a: 48 c1 e9 03 shr $0x3,%rcx 1e: 74 03 je 0x23 20: f3 48 ab rep stos %rax,%es:(%rdi) 23: 83 e2 07 and $0x7,%edx 26: 74 04 je 0x2c 28: 89 d1 mov %edx,%ecx * 2a: f3 aa rep stos %al,%es:(%rdi) <-- trapping instruction 2c: 31 c0 xor %eax,%eax 2e: c3 retq 2f: 48 c1 e1 03 shl $0x3,%rcx 33: 83 e2 07 and $0x7,%edx 36: 48 01 d1 add %rdx,%rcx 39: eb f1 jmp 0x2c 3b: 0f 1f 00 nopl (%rax) 3e: f3 repz 3f: 0f .byte 0xf