syzbot


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

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/jbd2/transaction.c:1284!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 3618 Comm: syz-executor.3 Not tainted 5.16.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:jbd2_journal_get_create_access+0x443/0x450 fs/jbd2/transaction.c:1281
Code: ff ff ff 48 89 ef e8 6c cc 91 ff e9 24 ff ff ff e8 42 63 46 ff 0f 0b e8 3b 63 46 ff 0f 0b e8 34 63 46 ff 0f 0b e8 2d 63 46 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54
RSP: 0018:ffffc9000288f890 EFLAGS: 00010293
RAX: ffffffff823e5703 RBX: ffff88805e7d6600 RCX: ffff88807d450000
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000002
RBP: 0000000000000003 R08: ffffffff823e5454 R09: 0000000000000003
R10: fffff52000511f01 R11: 0000000000000004 R12: dffffc0000000000
R13: ffff88805b4e26e0 R14: ffff88805e7d6480 R15: ffff88801d5560f0
FS:  0000555556d51400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200003c0 CR3: 0000000061c29000 CR4: 00000000003506e0
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+0x3d6/0x700 fs/ext4/inode.c:873
 ext4_bread+0x2a/0x170 fs/ext4/inode.c:902
 ext4_append+0x1a6/0x370 fs/ext4/namei.c:67
 ext4_init_new_dir+0x337/0xa10 fs/ext4/namei.c:2893
 ext4_mkdir+0x4b8/0xc00 fs/ext4/namei.c:2939
 vfs_mkdir+0x2f6/0x4d0 fs/namei.c:3883
 do_mkdirat+0x277/0x530 fs/namei.c:3909
 __do_sys_mkdir fs/namei.c:3929 [inline]
 __se_sys_mkdir fs/namei.c:3927 [inline]
 __x64_sys_mkdir+0x6a/0x80 fs/namei.c:3927
 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+0x44/0xae
RIP: 0033:0x7f5d854ff0f7
Code: 73 01 c3 48 c7 c1 bc 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 53 00 00 00 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:00007ffca6f9cc88 EFLAGS: 00000206 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007ffca6f9cd10 RCX: 00007f5d854ff0f7
RDX: 0000000000000000 RSI: 00000000000001ff RDI: 00007ffca6f9cd10
RBP: 00007ffca6f9ccec R08: 0000000000000000 R09: 0000000000000005
R10: 00007ffca6f9ca25 R11: 0000000000000206 R12: 0000000000000032
R13: 000000000005ac17 R14: 0000000000000003 R15: 00007ffca6f9cd50
 </TASK>
Modules linked in:
---[ end trace 24a9214ffe9eda3d ]---
RIP: 0010:jbd2_journal_get_create_access+0x443/0x450 fs/jbd2/transaction.c:1281
Code: ff ff ff 48 89 ef e8 6c cc 91 ff e9 24 ff ff ff e8 42 63 46 ff 0f 0b e8 3b 63 46 ff 0f 0b e8 34 63 46 ff 0f 0b e8 2d 63 46 ff <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 55 41 57 41 56 41 55 41 54
RSP: 0018:ffffc9000288f890 EFLAGS: 00010293
RAX: ffffffff823e5703 RBX: ffff88805e7d6600 RCX: ffff88807d450000
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000002
RBP: 0000000000000003 R08: ffffffff823e5454 R09: 0000000000000003
R10: fffff52000511f01 R11: 0000000000000004 R12: dffffc0000000000
R13: ffff88805b4e26e0 R14: ffff88805e7d6480 R15: ffff88801d5560f0
FS:  0000555556d51400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200003c0 CR3: 0000000061c29000 CR4: 00000000003506e0
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
ci-upstream-kasan-gce-smack-root 2022/01/14 14:51 upstream fb3b0673b7d5 53e00b45 .config log report info kernel BUG in jbd2_journal_get_create_access