syzbot


kernel BUG in jbd2_journal_get_create_access (3)

Status: auto-obsoleted due to no activity on 2023/11/02 17:55
Reported-by: syzbot+5d5097fa04455dbd60d9@syzkaller.appspotmail.com
First crash: 597d, last: 484d
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
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-54 kernel BUG in jbd2_journal_get_create_access (2) 1 928d 928d 0/2 auto-obsoleted due to no activity on 2022/09/05 10:27
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: 20183 Comm: syz-executor.3 Not tainted 5.4.249-syzkaller-00007-gba2c000ce64e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:jbd2_journal_get_create_access+0x488/0x490 fs/jbd2/transaction.c:1179
Code: fe ff ff 48 89 ef e8 b7 fa bb ff e9 e8 fe ff ff e8 0d 3a 8c ff 0f 0b e8 06 3a 8c ff 0f 0b e8 ff 39 8c ff 0f 0b e8 f8 39 8c ff <0f> 0b 66 0f 1f 44 00 00 55 41 57 41 56 41 54 53 49 89 fc e8 e0 39
RSP: 0018:ffff8881e34f7470 EFLAGS: 00010287
RAX: ffffffff81d7fc18 RBX: ffff8881a689fb40 RCX: 0000000000040000
RDX: ffffc90001261000 RSI: 0000000000008210 RDI: 0000000000008211
RBP: 0000000000000003 R08: ffffffff81d7f926 R09: ffffed1036f42d51
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881ed8a4a50 R14: ffff8881b7a16a80 R15: ffff8881b7a755c0
FS:  00007f882961c6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c123000 CR3: 0000000180ca6000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __ext4_journal_get_create_access+0x96/0x310 fs/ext4/ext4_jbd2.c:250
 ext4_ext_grow_indepth fs/ext4/extents.c:1359 [inline]
 ext4_ext_create_new_leaf fs/ext4/extents.c:1453 [inline]
 ext4_ext_insert_extent+0xf5c/0x42c0 fs/ext4/extents.c:2133
 ext4_ext_map_blocks+0x2163/0x7450 fs/ext4/extents.c:4537
 ext4_map_blocks+0xa83/0x1c40 fs/ext4/inode.c:661
 ext4_alloc_file_blocks+0x3b1/0xc20 fs/ext4/extents.c:4700
 ext4_zero_range+0x640/0xd80 fs/ext4/extents.c:4815
 vfs_fallocate+0x551/0x6b0 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+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace 669590931fb82a05 ]---
RIP: 0010:jbd2_journal_get_create_access+0x488/0x490 fs/jbd2/transaction.c:1179
Code: fe ff ff 48 89 ef e8 b7 fa bb ff e9 e8 fe ff ff e8 0d 3a 8c ff 0f 0b e8 06 3a 8c ff 0f 0b e8 ff 39 8c ff 0f 0b e8 f8 39 8c ff <0f> 0b 66 0f 1f 44 00 00 55 41 57 41 56 41 54 53 49 89 fc e8 e0 39
RSP: 0018:ffff8881e34f7470 EFLAGS: 00010287
RAX: ffffffff81d7fc18 RBX: ffff8881a689fb40 RCX: 0000000000040000
RDX: ffffc90001261000 RSI: 0000000000008210 RDI: 0000000000008211
RBP: 0000000000000003 R08: ffffffff81d7f926 R09: ffffed1036f42d51
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881ed8a4a50 R14: ffff8881b7a16a80 R15: ffff8881b7a755c0
FS:  00007f882961c6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2c123000 CR3: 0000000180ca6000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/25 17:55 android12-5.4 ba2c000ce64e 6756545c .config console log report info ci2-android-5-4-kasan kernel BUG in jbd2_journal_get_create_access
2023/04/03 22:38 android12-5.4 a6b5274af71b 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan kernel BUG in jbd2_journal_get_create_access
* Struck through repros no longer work on HEAD.