EXT4-fs error (device loop8): ext4_validate_block_bitmap:418: comm syz.8.2124: bg 0: block 234: padding at end of block bitmap is not set
------------[ cut here ]------------
kernel BUG at fs/ext4/indirect.c:532!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 9407 Comm: syz.8.2124 Not tainted 5.4.290-syzkaller-00001-g986c38813dff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:ext4_ind_map_blocks+0x2c6c/0x2e90 fs/ext4/indirect.c:532
Code: 00 74 08 4c 89 ff e8 a3 ad ce ff 49 83 7c 24 18 00 0f 84 57 01 00 00 e8 22 0d 9e ff 49 83 c4 18 e9 69 ff ff ff e8 14 0d 9e ff <0f> 0b e8 0d 0d 9e ff 0f 0b e8 16 19 74 ff 65 44 8b 35 66 a3 3a 7e
RSP: 0000:ffff8881d6d67220 EFLAGS: 00010293
RAX: ffffffff81c78dbc RBX: 0000000000080000 RCX: ffff8881e1ab4ec0
RDX: 0000000000000000 RSI: 0000000000080000 RDI: 0000000000000000
RBP: ffff8881d6d67510 R08: ffffffff81c76318 R09: ffffed103ba5948e
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103adace68
R13: ffff8881d6d67708 R14: 0000000c00080000 R15: dffffc0000000000
FS: 00005555858ac500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000500 CR3: 00000001e454c000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ext4_map_blocks+0x9d6/0x1ba0 fs/ext4/inode.c:663
_ext4_get_block+0x21b/0x610 fs/ext4/inode.c:802
ext4_get_block+0x39/0x50 fs/ext4/inode.c:819
__block_write_begin_int+0x5e0/0x1680 fs/buffer.c:1980
__block_write_begin fs/buffer.c:2030 [inline]
block_page_mkwrite+0x1fc/0x260 fs/buffer.c:2492
ext4_page_mkwrite+0xbda/0x1350 fs/ext4/inode.c:6485
do_page_mkwrite mm/memory.c:2364 [inline]
wp_page_shared+0x471/0x740 mm/memory.c:2691
do_wp_page+0xa3c/0xb10 mm/memory.c:2787
handle_pte_fault mm/memory.c:4075 [inline]
__handle_mm_fault mm/memory.c:4183 [inline]
handle_mm_fault+0x1888/0x4920 mm/memory.c:4220
do_user_addr_fault arch/x86/mm/fault.c:1444 [inline]
__do_page_fault+0x515/0xb90 arch/x86/mm/fault.c:1505
do_page_fault+0x37/0x360 arch/x86/mm/fault.c:1529
page_fault+0x2f/0x40 arch/x86/entry/entry_64.S:1206
RIP: 0033:0x7f387b540fe1
Code: 48 8b 54 24 08 48 85 d2 74 17 8b 44 24 18 0f c8 89 c0 48 89 44 24 18 48 83 fa 01 0f 85 b3 01 00 00 48 8b 44 24 10 8b 54 24 18 <89> 10 e9 15 fd ff ff 48 8b 44 24 10 8b 10 48 8b 44 24 08 48 85 c0
RSP: 002b:00007ffe8d8cc4e0 EFLAGS: 00010246
RAX: 0000200000000110 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 00005555858ac3c8
RBP: 00007ffe8d8cc5e8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00007f387b8a1fac
R13: 00007f387b8a1fa0 R14: fffffffffffffffe R15: 00007ffe8d8cc630
Modules linked in:
---[ end trace 9265ae791848e16c ]---
RIP: 0010:ext4_ind_map_blocks+0x2c6c/0x2e90 fs/ext4/indirect.c:532
Code: 00 74 08 4c 89 ff e8 a3 ad ce ff 49 83 7c 24 18 00 0f 84 57 01 00 00 e8 22 0d 9e ff 49 83 c4 18 e9 69 ff ff ff e8 14 0d 9e ff <0f> 0b e8 0d 0d 9e ff 0f 0b e8 16 19 74 ff 65 44 8b 35 66 a3 3a 7e
RSP: 0000:ffff8881d6d67220 EFLAGS: 00010293
RAX: ffffffff81c78dbc RBX: 0000000000080000 RCX: ffff8881e1ab4ec0
RDX: 0000000000000000 RSI: 0000000000080000 RDI: 0000000000000000
RBP: ffff8881d6d67510 R08: ffffffff81c76318 R09: ffffed103ba5948e
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1103adace68
R13: ffff8881d6d67708 R14: 0000000c00080000 R15: dffffc0000000000
FS: 00005555858ac500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000500 CR3: 00000001e454c000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400