------------[ cut here ]------------ WARNING: CPU: 1 PID: 23617 at fs/udf/inode.c:2049 __udf_add_aext+0x67a/0x7d0 fs/udf/inode.c:2049 Modules linked in: CPU: 1 PID: 23617 Comm: syz-executor.5 Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:__udf_add_aext+0x67a/0x7d0 fs/udf/inode.c:2049 Code: ef 0f 84 b3 fb ff ff e8 b4 e6 9e fe 0f 0b e9 a7 fb ff ff e8 a8 e6 9e fe 48 8b 44 24 20 48 05 b0 00 00 00 eb b7 e8 96 e6 9e fe <0f> 0b e9 27 fb ff ff e8 8a e6 9e fe 0f 0b e9 7d fb ff ff 41 bc fb RSP: 0018:ffffc90014fbef68 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffffc90014fbf2d0 RCX: ffffc9000eb06000 RDX: 0000000000040000 RSI: ffffffff82e4eefa RDI: 0000000000000006 RBP: ffff88803837e170 R08: 0000000000000006 R09: 0000000000000004 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000010 R15: 0000000000000018 FS: 00007fa8b00fe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020025000 CR3: 0000000021e36000 CR4: 0000000000350ee0 Call Trace: udf_add_aext+0x23f/0x2e0 fs/udf/inode.c:2107 udf_insert_aext fs/udf/inode.c:2269 [inline] udf_update_extents fs/udf/inode.c:1189 [inline] inode_getblk+0x2202/0x3e50 fs/udf/inode.c:904 udf_map_block+0x2e3/0x560 fs/udf/inode.c:450 __udf_get_block+0x9c/0x330 fs/udf/inode.c:464 __block_write_begin_int+0x3bd/0x14b0 fs/buffer.c:2034 udf_page_mkwrite+0x474/0xb00 fs/udf/file.c:69 do_page_mkwrite+0x19b/0x680 mm/memory.c:2925 wp_page_shared mm/memory.c:3274 [inline] do_wp_page+0x356/0x3520 mm/memory.c:3356 handle_pte_fault mm/memory.c:4927 [inline] __handle_mm_fault+0x19a1/0x3e60 mm/memory.c:5051 handle_mm_fault+0x2ba/0x9c0 mm/memory.c:5197 do_user_addr_fault+0x475/0x1230 arch/x86/mm/fault.c:1407 handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:clear_user_rep_good+0x12/0x30 arch/x86/lib/clear_page_64.S:139 Code: 07 48 01 c1 eb f1 89 c1 eb ed 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 48 ab 83 e2 07 74 04 89 d1 f3 aa 31 c0 c3 48 c1 e1 03 83 e2 07 RSP: 0018:ffffc90014fbfbc8 EFLAGS: 00050216 RAX: 0000000000000000 RBX: ffffc90014fbfdb0 RCX: 0000000000000010 RDX: 0000000000001000 RSI: ffffffff8415fbc7 RDI: 0000000020025000 RBP: 000000007ffdb000 R08: 0000000000000001 R09: ffffffff8e7844d7 R10: fffffbfff1cf089a R11: 0000000000000000 R12: ffffc90014fbfdb8 R13: 0000000000024000 R14: 0000000020024080 R15: 0000000000001000 __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+0x2a7/0x13a0 lib/iov_iter.c:794 read_iter_zero+0x96/0x310 drivers/char/mem.c:497 call_read_iter include/linux/fs.h:1845 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x681/0x930 fs/read_write.c:470 ksys_read+0x12b/0x250 fs/read_write.c:613 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:0x7fa8b988c0f9 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:00007fa8b00fe168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fa8b99ac050 RCX: 00007fa8b988c0f9 RDX: 00000000ffffff1c RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007fa8b98e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffd295cedf R14: 00007fa8b00fe300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 01 c1 add %rax,%rcx 3: eb f1 jmp 0xfffffff6 5: 89 c1 mov %eax,%ecx 7: eb ed jmp 0xfffffff6 9: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 10: 00 00 00 00 14: 0f 1f 00 nopl (%rax) 17: f3 0f 1e fa endbr64 1b: 48 83 f9 40 cmp $0x40,%rcx 1f: 72 a6 jb 0xffffffc7 21: 89 ca mov %ecx,%edx 23: 48 c1 e9 03 shr $0x3,%rcx 27: 74 03 je 0x2c * 29: f3 48 ab rep stos %rax,%es:(%rdi) <-- trapping instruction 2c: 83 e2 07 and $0x7,%edx 2f: 74 04 je 0x35 31: 89 d1 mov %edx,%ecx 33: f3 aa rep stos %al,%es:(%rdi) 35: 31 c0 xor %eax,%eax 37: c3 retq 38: 48 c1 e1 03 shl $0x3,%rcx 3c: 83 e2 07 and $0x7,%edx