syzbot


kernel BUG in ext4_ind_map_blocks

Status: auto-obsoleted due to no activity on 2023/08/20 16:37
Reported-by: syzbot+4bebb165291e5b9cafcd@syzkaller.appspotmail.com
First crash: 378d, last: 378d

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ext4/indirect.c:546!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 17233 Comm: syz-executor.4 Not tainted 6.1.25-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
RIP: 0010:ext4_ind_map_blocks+0x2876/0x2b00 fs/ext4/indirect.c:546
Code: 90 f7 54 ff 48 c7 c7 a0 a1 fe 8a 48 c7 c6 a5 38 79 8c 48 c7 c2 00 a2 fe 8a b9 22 02 00 00 49 c7 c0 20 a2 fe 8a e8 53 65 47 08 <0f> 0b e8 63 f7 54 ff 48 c7 c7 a0 a1 fe 8a 48 c7 c6 a5 38 79 8c 48
RSP: 0018:ffffc9000d26ea20 EFLAGS: 00010246
RAX: 000000000000007a RBX: 0000000000080000 RCX: 29f1ee0e1fe68b00
RDX: ffffc90006fe1000 RSI: 000000000000ec47 RDI: 000000000000ec48
RBP: ffffc9000d26ed30 R08: ffffffff816d5cac R09: fffff52001a4dcfd
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000d26ef28
R13: 1ffff92001a4dde5 R14: 0000001800080000 R15: ffffc9000d26ecc0
FS:  00007fd7a57fb700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa3800d1000 CR3: 0000000021c04000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ext4_map_blocks+0x9e3/0x1ce0 fs/ext4/inode.c:653
 _ext4_get_block+0x23b/0x660 fs/ext4/inode.c:808
 ext4_block_write_begin+0x631/0x1400 fs/ext4/inode.c:1098
 ext4_write_begin+0x638/0xf80
 ext4_da_write_begin+0x30a/0x9c0 fs/ext4/inode.c:2986
 generic_perform_write+0x2fc/0x5e0 mm/filemap.c:3754
 ext4_buffered_write_iter+0x122/0x3a0 fs/ext4/file.c:285
 ext4_file_write_iter+0x1d2/0x18f0
 do_iter_write+0x6e6/0xc50 fs/read_write.c:861
 iter_file_splice_write+0x806/0xfa0 fs/splice.c:686
 do_splice_from fs/splice.c:764 [inline]
 direct_splice_actor+0xe3/0x1c0 fs/splice.c:931
 splice_direct_to_actor+0x4c0/0xbd0 fs/splice.c:886
 do_splice_direct+0x27f/0x3c0 fs/splice.c:974
 do_sendfile+0x61c/0xff0 fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64+0x178/0x1e0 fs/read_write.c:1309
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fd7a4a8c169
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:00007fd7a57fb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fd7a4babf80 RCX: 00007fd7a4a8c169
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000006
RBP: 00007fd7a4ae7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000001ffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe361bec3f R14: 00007fd7a57fb300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ext4_ind_map_blocks+0x2876/0x2b00 fs/ext4/indirect.c:546
Code: 90 f7 54 ff 48 c7 c7 a0 a1 fe 8a 48 c7 c6 a5 38 79 8c 48 c7 c2 00 a2 fe 8a b9 22 02 00 00 49 c7 c0 20 a2 fe 8a e8 53 65 47 08 <0f> 0b e8 63 f7 54 ff 48 c7 c7 a0 a1 fe 8a 48 c7 c6 a5 38 79 8c 48
RSP: 0018:ffffc9000d26ea20 EFLAGS: 00010246
RAX: 000000000000007a RBX: 0000000000080000 RCX: 29f1ee0e1fe68b00
RDX: ffffc90006fe1000 RSI: 000000000000ec47 RDI: 000000000000ec48
RBP: ffffc9000d26ed30 R08: ffffffff816d5cac R09: fffff52001a4dcfd
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc9000d26ef28
R13: 1ffff92001a4dde5 R14: 0000001800080000 R15: ffffc9000d26ecc0
FS:  00007fd7a57fb700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9016385998 CR3: 0000000021c04000 CR4: 00000000003506f0
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
2023/04/22 16:36 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ext4_ind_map_blocks
* Struck through repros no longer work on HEAD.