syzbot


kernel BUG in ext4_ind_map_blocks

Status: premoderation: reported on 2025/04/13 22:28
Reported-by: syzbot+3e3fa1231e07ec3af9e6@syzkaller.appspotmail.com
First crash: 15d, last: 15d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in ext4_ind_map_blocks 1 737d 737d 0/3 auto-obsoleted due to no activity on 2023/08/20 16:37
android-5-10 kernel BUG in ext4_ind_map_blocks 1 17d 17d 0/2 premoderation: reported on 2025/04/11 22:18

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/indirect.c:546!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 344 Comm: syz.0.7 Not tainted 6.1.129-syzkaller-00005-g19a0fb1d3513 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:ext4_ind_map_blocks+0x25af/0x2770 fs/ext4/indirect.c:546
Code: 67 2c 83 ff 48 c7 c7 40 87 d3 85 48 c7 c6 31 ff 68 86 48 c7 c2 a0 87 d3 85 b9 22 02 00 00 49 c7 c0 c0 87 d3 85 e8 2c cb 28 03 <0f> 0b e8 3a 2c 83 ff 48 c7 c7 40 87 d3 85 48 c7 c6 31 ff 68 86 48
RSP: 0018:ffffc9000dd7f2c0 EFLAGS: 00010246
RAX: 000000000000007a RBX: 0000000000080000 RCX: 81a753e4b41caa00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000dd7f5d0 R08: ffffffff815b5dd5 R09: fffff52001bafdf5
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000dd7f7c8
R13: 1ffff92001bafef9 R14: 0000008c10080000 R15: ffffc9000dd7f560
FS:  000055555ffda500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2e208ff8 CR3: 0000000114913000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_map_blocks+0x9bd/0x1ca0 fs/ext4/inode.c:680
 _ext4_get_block+0x23b/0x660 fs/ext4/inode.c:821
 ext4_get_block+0x39/0x50 fs/ext4/inode.c:838
 __block_write_begin_int+0x49c/0x1440 fs/buffer.c:2034
 __block_write_begin fs/buffer.c:2084 [inline]
 block_page_mkwrite+0x258/0x2d0 fs/buffer.c:2558
 ext4_page_mkwrite+0x515/0x13b0 fs/ext4/inode.c:6286
 do_page_mkwrite mm/memory.c:3034 [inline]
 wp_page_shared+0x536/0x930 mm/memory.c:3427
 do_wp_page+0xd3c/0xf30 mm/memory.c:3578
 handle_pte_fault mm/memory.c:5175 [inline]
 __handle_mm_fault mm/memory.c:5299 [inline]
 handle_mm_fault+0x15e0/0x30e0 mm/memory.c:5439
 do_user_addr_fault arch/x86/mm/fault.c:1323 [inline]
 handle_page_fault arch/x86/mm/fault.c:1466 [inline]
 exc_page_fault+0x3b3/0x6d0 arch/x86/mm/fault.c:1522
 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x7efcb3a53ca1
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:00007fff0f752f30 EFLAGS: 00010246
RAX: 0000200000000418 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055555ffda3c8
RBP: 00007fff0f753038 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 00007efcb3da5fac
R13: 00007efcb3da5fa0 R14: fffffffffffffffe R15: 00007fff0f753080
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_ind_map_blocks+0x25af/0x2770 fs/ext4/indirect.c:546
Code: 67 2c 83 ff 48 c7 c7 40 87 d3 85 48 c7 c6 31 ff 68 86 48 c7 c2 a0 87 d3 85 b9 22 02 00 00 49 c7 c0 c0 87 d3 85 e8 2c cb 28 03 <0f> 0b e8 3a 2c 83 ff 48 c7 c7 40 87 d3 85 48 c7 c6 31 ff 68 86 48
RSP: 0018:ffffc9000dd7f2c0 EFLAGS: 00010246
RAX: 000000000000007a RBX: 0000000000080000 RCX: 81a753e4b41caa00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc9000dd7f5d0 R08: ffffffff815b5dd5 R09: fffff52001bafdf5
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000dd7f7c8
R13: 1ffff92001bafef9 R14: 0000008c10080000 R15: ffffc9000dd7f560
FS:  000055555ffda500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3bcad7a178 CR3: 0000000114913000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/13 22:28 android14-6.1 19a0fb1d3513 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 kernel BUG in ext4_ind_map_blocks
* Struck through repros no longer work on HEAD.