syzbot


kernel BUG in jbd2_journal_get_create_access

Status: auto-closed as invalid on 2022/04/15 14:31
Reported-by: syzbot+ea35be09729d3f970251@syzkaller.appspotmail.com
First crash: 198d, last: 198d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in jbd2_journal_get_create_access 1 169d 165d 0/22 auto-closed as invalid on 2022/05/14 14:52
android-54 kernel BUG in jbd2_journal_get_create_access (2) 1 55d 55d 0/2 upstream: reported on 2022/05/08 10:27

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/jbd2/transaction.c:1182!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2195 Comm: syz-executor.2 Not tainted 5.4.147-syzkaller-00015-g5b673be0c6b0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:jbd2_journal_get_create_access+0x484/0x490 fs/jbd2/transaction.c:1179
Code: fe ff ff 48 89 ef e8 5b 19 c2 ff e9 e8 fe ff ff e8 81 fc 94 ff 0f 0b e8 7a fc 94 ff 0f 0b e8 73 fc 94 ff 0f 0b e8 6c fc 94 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 41 57 41 56 53 48 89 fd e8
RSP: 0018:ffff8881e486f7b0 EFLAGS: 00010283
RAX: ffffffff81cbd454 RBX: ffff8881b1ce6780 RCX: 0000000000040000
RDX: ffffc90002355000 RSI: 00000000000072f7 RDI: 00000000000072f8
RBP: 0000000000000003 R08: ffffffff81cbd164 R09: ffffed103647fe16
R10: ffffed103647fe16 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8881ed833a50 R14: ffff8881b23ff0a8 R15: ffff8881b1ee3140
FS:  00007f116c9a2700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f226000 CR3: 00000001ed7c2000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __ext4_journal_get_create_access+0x55/0x2b0 fs/ext4/ext4_jbd2.c:250
 ext4_ext_grow_indepth fs/ext4/extents.c:1317 [inline]
 ext4_ext_create_new_leaf fs/ext4/extents.c:1411 [inline]
 ext4_ext_insert_extent+0xdf6/0x51f0 fs/ext4/extents.c:2095
 ext4_ext_map_blocks+0x22e6/0x4200 fs/ext4/extents.c:4499
 ext4_map_blocks+0x933/0x1cf0 fs/ext4/inode.c:659
 ext4_alloc_file_blocks+0x352/0xbf0 fs/ext4/extents.c:4662
 ext4_zero_range+0x65f/0x1690 fs/ext4/extents.c:4777
 vfs_fallocate+0x564/0x840 fs/open.c:309
 ksys_fallocate fs/open.c:332 [inline]
 __do_sys_fallocate fs/open.c:340 [inline]
 __se_sys_fallocate fs/open.c:338 [inline]
 __x64_sys_fallocate+0xb9/0x100 fs/open.c:338
 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f116d82be99
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f116c9a2168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f116d93ef60 RCX: 00007f116d82be99
RDX: 0000000000008003 RSI: 0000000000000010 RDI: 0000000000000005
RBP: 00007f116d885ff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008020001 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffdd4f481cf R14: 00007f116c9a2300 R15: 0000000000022000
Modules linked in:
---[ end trace 371dded4965cb07b ]---
RIP: 0010:jbd2_journal_get_create_access+0x484/0x490 fs/jbd2/transaction.c:1179
Code: fe ff ff 48 89 ef e8 5b 19 c2 ff e9 e8 fe ff ff e8 81 fc 94 ff 0f 0b e8 7a fc 94 ff 0f 0b e8 73 fc 94 ff 0f 0b e8 6c fc 94 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 55 41 57 41 56 53 48 89 fd e8
RSP: 0018:ffff8881e486f7b0 EFLAGS: 00010283
RAX: ffffffff81cbd454 RBX: ffff8881b1ce6780 RCX: 0000000000040000
RDX: ffffc90002355000 RSI: 00000000000072f7 RDI: 00000000000072f8
RBP: 0000000000000003 R08: ffffffff81cbd164 R09: ffffed103647fe16
R10: ffffed103647fe16 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8881ed833a50 R14: ffff8881b23ff0a8 R15: ffff8881b1ee3140
FS:  00007f116c9a2700(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f226000 CR3: 00000001ed7c2000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2021/12/16 14:30 android12-5.4 5b673be0c6b0 8dd6a5e3 .config log report info kernel BUG in jbd2_journal_get_create_access