syzbot


kernel BUG in jbd2_journal_get_create_access (2)

Status: auto-obsoleted due to no activity on 2022/09/05 10:27
Reported-by: syzbot+3ed09cea4b8460097f39@syzkaller.appspotmail.com
First crash: 928d, last: 928d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in jbd2_journal_get_create_access (2) ext4 1 740d 736d 0/28 auto-obsoleted due to no activity on 2023/03/12 00:32
android-54 kernel BUG in jbd2_journal_get_create_access (3) 2 484d 597d 0/2 auto-obsoleted due to no activity on 2023/11/02 17:55
linux-5.15 kernel BUG in jbd2_journal_get_create_access 1 475d 475d 0/3 auto-obsoleted due to no activity on 2023/11/11 20:43
upstream kernel BUG in jbd2_journal_get_create_access ext4 1 1042d 1038d 0/28 auto-closed as invalid on 2022/05/14 14:52
android-54 kernel BUG in jbd2_journal_get_create_access 1 1071d 1071d 0/2 auto-closed as invalid on 2022/04/15 14:31
android-5-10 kernel BUG in jbd2_journal_get_create_access syz error error 1 744d 744d 0/2 auto-obsoleted due to no activity on 2023/05/14 07:57
android-5-15 kernel BUG in jbd2_journal_get_create_access missing-backport origin:upstream syz error error 1 712d 712d 0/2 auto-obsoleted due to no activity on 2024/05/16 15:00

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/jbd2/transaction.c:1182!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 13684 Comm: syz-executor.3 Not tainted 5.4.180-syzkaller-00001-g0e9e1752f526 #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 bb 27 c3 ff e9 e8 fe ff ff e8 31 c7 96 ff 0f 0b e8 2a c7 96 ff 0f 0b e8 23 c7 96 ff 0f 0b e8 1c c7 96 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:ffff8881c02cf7f0 EFLAGS: 00010287
RAX: ffffffff81c977c4 RBX: ffff8881b734d8c0 RCX: 0000000000040000
RDX: ffffc9000114c000 RSI: 0000000000004283 RDI: 0000000000004284
RBP: 0000000000000003 R08: ffffffff81c974d4 R09: ffffed1036d08d66
R10: ffffed1036d08d66 R11: 1ffff11036d08d65 R12: dffffc0000000000
R13: ffff8881ed857840 R14: ffff8881b6846b28 R15: ffff8881c65d9b40
FS:  00007f1ea057f700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ef25000 CR3: 00000001e85c9000 CR4: 00000000003406f0
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+0xc4b/0x4dd0 fs/ext4/extents.c:2095
 ext4_ext_map_blocks+0x1905/0x3ba0 fs/ext4/extents.c:4499
 ext4_map_blocks+0x961/0x1a30 fs/ext4/inode.c:659
 ext4_alloc_file_blocks+0x35b/0xc20 fs/ext4/extents.c:4662
 ext4_zero_range+0x60d/0xd60 fs/ext4/extents.c:4777
 vfs_fallocate+0x51f/0x680 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/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f1ea14090e9
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1ea057f168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f1ea151bf60 RCX: 00007f1ea14090e9
RDX: 0000000000008003 RSI: 0000000000000010 RDI: 0000000000000004
RBP: 00007f1ea146308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008020001 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffed355024f R14: 00007f1ea057f300 R15: 0000000000022000
Modules linked in:
---[ end trace f19556821f87dc3f ]---
RIP: 0010:jbd2_journal_get_create_access+0x484/0x490 fs/jbd2/transaction.c:1179
Code: fe ff ff 48 89 ef e8 bb 27 c3 ff e9 e8 fe ff ff e8 31 c7 96 ff 0f 0b e8 2a c7 96 ff 0f 0b e8 23 c7 96 ff 0f 0b e8 1c c7 96 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:ffff8881c02cf7f0 EFLAGS: 00010287
RAX: ffffffff81c977c4 RBX: ffff8881b734d8c0 RCX: 0000000000040000
RDX: ffffc9000114c000 RSI: 0000000000004283 RDI: 0000000000004284
RBP: 0000000000000003 R08: ffffffff81c974d4 R09: ffffed1036d08d66
R10: ffffed1036d08d66 R11: 1ffff11036d08d65 R12: dffffc0000000000
R13: ffff8881ed857840 R14: ffff8881b6846b28 R15: ffff8881c65d9b40
FS:  00007f1ea057f700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ef25000 CR3: 00000001e85c9000 CR4: 00000000003406f0
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
2022/05/08 10:26 android12-5.4 0e9e1752f526 e60b1103 .config console log report info ci2-android-5-4-kasan kernel BUG in jbd2_journal_get_create_access
* Struck through repros no longer work on HEAD.