------------[ cut here ]------------ WARNING: CPU: 1 PID: 7480 at fs/udf/udfdecl.h:123 udf_add_free_space fs/udf/balloc.c:121 [inline] WARNING: CPU: 1 PID: 7480 at fs/udf/udfdecl.h:123 udf_bitmap_new_block fs/udf/balloc.c:365 [inline] WARNING: CPU: 1 PID: 7480 at fs/udf/udfdecl.h:123 udf_new_block+0x1dea/0x2130 fs/udf/balloc.c:725 Modules linked in: CPU: 1 PID: 7480 Comm: syz-executor.0 Not tainted 6.6.0-rc5-syzkaller-00192-g10a6e5feccb8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:121 [inline] RIP: 0010:udf_add_free_space fs/udf/balloc.c:121 [inline] RIP: 0010:udf_bitmap_new_block fs/udf/balloc.c:365 [inline] RIP: 0010:udf_new_block+0x1dea/0x2130 fs/udf/balloc.c:725 Code: 87 fe 0f 0b e9 64 fc ff ff 89 d9 80 e1 07 fe c1 38 c1 0f 8c 7d e3 ff ff 48 89 df e8 60 53 e2 fe e9 70 e3 ff ff e8 56 d4 87 fe <0f> 0b e9 10 ff ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c fa e3 ff RSP: 0018:ffffc90016c3e920 EFLAGS: 00010246 RAX: ffffffff8306378a RBX: 0000000070d0c345 RCX: 0000000000040000 RDX: ffffc9000ab11000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffc90016c3eb70 R08: ffffffff83063694 R09: 1ffff11007bf395c R10: dffffc0000000000 R11: ffffed1007bf395d R12: 000000000000010e R13: dffffc0000000000 R14: ffff88803f01101c R15: 00000000000001ce FS: 00007fdfed32b6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020018000 CR3: 0000000029210000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: inode_getblk fs/udf/inode.c:874 [inline] udf_map_block+0x1c3b/0x5560 fs/udf/inode.c:444 __udf_get_block+0x126/0x410 fs/udf/inode.c:458 __block_write_begin_int+0x54d/0x1ac0 fs/buffer.c:2120 udf_page_mkwrite+0x5b3/0x950 fs/udf/file.c:65 do_page_mkwrite+0x197/0x470 mm/memory.c:2931 wp_page_shared mm/memory.c:3291 [inline] do_wp_page+0xf87/0x4190 mm/memory.c:3376 handle_pte_fault mm/memory.c:4994 [inline] __handle_mm_fault mm/memory.c:5119 [inline] handle_mm_fault+0x1b45/0x62b0 mm/memory.c:5284 do_user_addr_fault arch/x86/mm/fault.c:1413 [inline] handle_page_fault arch/x86/mm/fault.c:1505 [inline] exc_page_fault+0x2ac/0x860 arch/x86/mm/fault.c:1561 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0010:rep_stos_alternative+0x40/0x80 arch/x86/lib/clear_page_64.S:96 Code: ff c7 48 ff c9 75 f6 c3 48 89 07 48 83 c7 08 83 e9 08 74 f3 83 f9 08 73 ef eb e2 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 <48> 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 89 47 RSP: 0018:ffffc90016c3faf8 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 000000002000f080 RCX: 0000000000000080 RDX: 0000000000000000 RSI: ffffffff8b0ab620 RDI: 000000002000f000 RBP: ffffc90016c3fc60 R08: ffffffff8e9a316f R09: 1ffffffff1d3462d R10: dffffc0000000000 R11: fffffbfff1d3462e R12: 000000002000e080 R13: 0000000000001000 R14: ffffc90016c3fd98 R15: 1ffff92002d87fb3 __clear_user arch/x86/include/asm/uaccess_64.h:174 [inline] clear_user arch/x86/include/asm/uaccess_64.h:191 [inline] iov_iter_zero+0x1b0/0xf60 lib/iov_iter.c:560 read_iter_zero+0x88/0x290 drivers/char/mem.c:490 call_read_iter include/linux/fs.h:1950 [inline] new_sync_read fs/read_write.c:389 [inline] vfs_read+0x795/0xb00 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:0x7fdfec67cae9 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:00007fdfed32b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007fdfec79c120 RCX: 00007fdfec67cae9 RDX: 00000000ffffff1c RSI: 0000000020000080 RDI: 0000000000000008 RBP: 00007fdfec6c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fdfec79c120 R15: 00007ffe4c4843b8 ---------------- Code disassembly (best guess): 0: ff c7 inc %edi 2: 48 ff c9 dec %rcx 5: 75 f6 jne 0xfffffffd 7: c3 ret 8: 48 89 07 mov %rax,(%rdi) b: 48 83 c7 08 add $0x8,%rdi f: 83 e9 08 sub $0x8,%ecx 12: 74 f3 je 0x7 14: 83 f9 08 cmp $0x8,%ecx 17: 73 ef jae 0x8 19: eb e2 jmp 0xfffffffd 1b: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 22: 00 00 00 25: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) * 2a: 48 89 07 mov %rax,(%rdi) <-- trapping instruction 2d: 48 89 47 08 mov %rax,0x8(%rdi) 31: 48 89 47 10 mov %rax,0x10(%rdi) 35: 48 89 47 18 mov %rax,0x18(%rdi) 39: 48 89 47 20 mov %rax,0x20(%rdi) 3d: 48 rex.W 3e: 89 .byte 0x89 3f: 47 rex.RXB