syzbot


kernel BUG in jbd2_journal_get_create_access

Status: auto-obsoleted due to no activity on 2024/05/16 15:00
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+ce9b766cf8ab6109543e@syzkaller.appspotmail.com
First crash: 711d, last: 711d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Bug presence (5)
Date Name Commit Repro Result
2023/07/06 android13-5.15-lts (ToT) 879959450ec7 C [report] SYZFATAL: executor failed NUM times: failed to create temp dir: mkdir ./syzkaller-testdirNUM: no space left on device
2023/05/20 lts (merge base) d86dfc4d95cd C [report] SYZFATAL: executor failed NUM times: failed to start executor binary: fork/exec /root/syz-executor: exec format error
2024/05/16 lts (merge base) 458ce51d0356 C Didn't crash
2023/05/20 upstream (ToT) 5565ec4ef4f0 C [report] SYZFATAL: executor failed NUM times: failed to create temp dir: mkdir ./syzkaller-testdirNUM: no space left on device
2023/07/06 upstream (ToT) 6843306689af C Didn't crash
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 1041d 1037d 0/28 auto-closed as invalid on 2022/05/14 14:52
android-54 kernel BUG in jbd2_journal_get_create_access 1 1070d 1070d 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
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/04/11 12:20 25m retest repro android13-5.15-lts report log
2024/02/01 10:00 10m retest repro android13-5.15-lts report log
2023/11/23 09:36 17m retest repro android13-5.15-lts report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/jbd2/transaction.c:1284!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 454 Comm: syz-executor.3 Not tainted 5.15.77-syzkaller-00764-g7048384c9872 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:jbd2_journal_get_create_access+0x492/0x4a0 fs/jbd2/transaction.c:1281
Code: ff ff ff 48 89 df e8 7d 23 b1 ff e9 21 ff ff ff e8 c3 be 6e ff 0f 0b e8 bc be 6e ff 0f 0b e8 b5 be 6e ff 0f 0b e8 ae be 6e ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 57 41 56
RSP: 0018:ffffc90000a377f0 EFLAGS: 00010293
RAX: ffffffff8202d0e2 RBX: 0000000000000003 RCX: ffff8881001713c0
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000002
RBP: ffffc90000a37850 R08: ffffffff8202ce04 R09: 0000000000000003
R10: fffff52000146eed R11: 1ffff92000146eec R12: ffff8881097246e0
R13: ffff88810c5e1058 R14: dffffc0000000000 R15: ffff888110793140
FS:  0000555555ccb400(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0000d5000 CR3: 000000011bd3a000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __ext4_journal_get_create_access+0xaf/0x550 fs/ext4/ext4_jbd2.c:324
 ext4_getblk+0x3d9/0x6f0 fs/ext4/inode.c:875
 ext4_bread+0x2f/0x180 fs/ext4/inode.c:904
 ext4_append+0x31b/0x5b0 fs/ext4/namei.c:83
 ext4_init_new_dir+0x337/0xa10 fs/ext4/namei.c:2948
 ext4_mkdir+0x4fa/0xcf0 fs/ext4/namei.c:2994
 vfs_mkdir+0x360/0x580 fs/namei.c:3937
 do_mkdirat+0x1e8/0x420 fs/namei.c:3963
 __do_sys_mkdirat fs/namei.c:3978 [inline]
 __se_sys_mkdirat fs/namei.c:3976 [inline]
 __x64_sys_mkdirat+0x89/0xa0 fs/namei.c:3976
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f325c09f0f7
Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007ffd6bfb9168 EFLAGS: 00000202 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007ffd6bfb91f0 RCX: 00007f325c09f0f7
RDX: 00000000000001ff RSI: 00007ffd6bfb91f0 RDI: 00000000ffffff9c
RBP: 00007ffd6bfb91cc R08: 0000000000000000 R09: 0000000000000003
R10: 00007ffd6bfb8f07 R11: 0000000000000202 R12: 0000000000000032
R13: 000000000000ddd3 R14: 0000000000000008 R15: 00007ffd6bfb9230
 </TASK>
Modules linked in:
---[ end trace f67facfad036c9bd ]---
RIP: 0010:jbd2_journal_get_create_access+0x492/0x4a0 fs/jbd2/transaction.c:1281
Code: ff ff ff 48 89 df e8 7d 23 b1 ff e9 21 ff ff ff e8 c3 be 6e ff 0f 0b e8 bc be 6e ff 0f 0b e8 b5 be 6e ff 0f 0b e8 ae be 6e ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 57 41 56
RSP: 0018:ffffc90000a377f0 EFLAGS: 00010293
RAX: ffffffff8202d0e2 RBX: 0000000000000003 RCX: ffff8881001713c0
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000002
RBP: ffffc90000a37850 R08: ffffffff8202ce04 R09: 0000000000000003
R10: fffff52000146eed R11: 1ffff92000146eec R12: ffff8881097246e0
R13: ffff88810c5e1058 R14: dffffc0000000000 R15: ffff888110793140
FS:  0000555555ccb400(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0000d5000 CR3: 000000011bd3a000 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
2022/12/10 15:48 android13-5.15-lts 7048384c9872 67be1ae7 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-5-15 kernel BUG in jbd2_journal_get_create_access
* Struck through repros no longer work on HEAD.