------------[ cut here ]------------ WARNING: CPU: 1 PID: 24894 at fs/udf/inode.c:2038 __udf_add_aext+0x550/0x6f0 Modules linked in: CPU: 1 PID: 24894 Comm: syz-executor.0 Not tainted 6.2.0-syzkaller-13413-g0a3f9a6b0265 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:__udf_add_aext+0x550/0x6f0 fs/udf/inode.c:2037 Code: 4c 89 e7 e8 62 7b e0 fe 49 8b 3c 24 4c 89 fe e8 a6 44 00 ff 31 c0 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 b0 04 8a fe <0f> 0b e9 ed fb ff ff e8 a4 04 8a fe 0f 0b e9 5c fc ff ff e8 98 04 RSP: 0018:ffffc900159b6cb8 EFLAGS: 00010246 RAX: ffffffff8302b8f0 RBX: 1ffff92002b36de1 RCX: 0000000000040000 RDX: ffffc9001178a000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 0000000000000000 R08: ffffffff8302b4d6 R09: ffffffff8302b406 R10: 0000000000000002 R11: ffff888026449d40 R12: ffffc900159b6f00 R13: 0000000000000004 R14: dffffc0000000000 R15: ffffc900159b6f08 FS: 00007fed8dd9a700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002005f000 CR3: 0000000076dda000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udf_add_aext fs/udf/inode.c:2095 [inline] udf_insert_aext fs/udf/inode.c:2257 [inline] udf_update_extents fs/udf/inode.c:1177 [inline] inode_getblk fs/udf/inode.c:892 [inline] udf_map_block+0x3bae/0x4fd0 fs/udf/inode.c:438 __udf_get_block+0x126/0x410 fs/udf/inode.c:452 __block_write_begin_int+0x548/0x1a50 fs/buffer.c:2034 udf_page_mkwrite+0x5ae/0x960 fs/udf/file.c:69 do_page_mkwrite+0x1a1/0x600 mm/memory.c:2925 wp_page_shared mm/memory.c:3274 [inline] do_wp_page+0x501/0x3620 mm/memory.c:3356 handle_pte_fault mm/memory.c:4927 [inline] __handle_mm_fault mm/memory.c:5051 [inline] handle_mm_fault+0x23a0/0x51c0 mm/memory.c:5197 do_user_addr_fault arch/x86/mm/fault.c:1407 [inline] handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x685/0x8a0 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:clear_user_erms+0xe/0x20 arch/x86/lib/clear_page_64.S:182 Code: c3 48 c1 e1 03 83 e2 07 48 01 d1 eb f1 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 48 83 f9 40 0f 82 62 ff ff ff aa 31 c0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 66 0f 1f 00 RSP: 0018:ffffc900159b7af8 EFLAGS: 00050206 RAX: 0000000000000000 RBX: 00007fffffffe000 RCX: 0000000000000080 RDX: 0000000000000000 RSI: ffffffff8b0a9ce0 RDI: 0000000020025000 RBP: ffffc900159b7c60 R08: dffffc0000000000 R09: fffffbfff1ce8dbe R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92002b36fb3 R13: 0000000000001000 R14: ffffc900159b7d98 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+0x24a/0x1010 lib/iov_iter.c:794 read_iter_zero+0x88/0x290 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+0x7e2/0xbe0 fs/read_write.c:470 ksys_read+0x1a0/0x2c0 fs/read_write.c:613 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fed8d08c0f9 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:00007fed8dd9a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fed8d1ac050 RCX: 00007fed8d08c0f9 RDX: 00000000ffffff1c RSI: 0000000020000080 RDI: 0000000000000006 RBP: 00007fed8d0e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd0415e32f R14: 00007fed8dd9a300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: c3 retq 1: 48 c1 e1 03 shl $0x3,%rcx 5: 83 e2 07 and $0x7,%edx 8: 48 01 d1 add %rdx,%rcx b: eb f1 jmp 0xfffffffe d: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 14: 00 00 00 17: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 1c: f3 0f 1e fa endbr64 20: 48 83 f9 40 cmp $0x40,%rcx 24: 0f 82 62 ff ff ff jb 0xffffff8c * 2a: f3 aa rep stos %al,%es:(%rdi) <-- trapping instruction 2c: 31 c0 xor %eax,%eax 2e: c3 retq 2f: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 36: 00 00 00 39: 0f 1f 00 nopl (%rax) 3c: 66 0f 1f 00 nopw (%rax)