syzbot


kernel BUG in jbd2_journal_get_create_access

Status: auto-obsoleted due to no activity on 2023/11/11 20:43
Reported-by: syzbot+a020f22f2a15493ac30b@syzkaller.appspotmail.com
First crash: 475d, last: 475d
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
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
android-5-15 kernel BUG in jbd2_journal_get_create_access missing-backport origin:upstream syz error error 1 711d 711d 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:1292!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7195 Comm: syz-executor.2 Not tainted 5.15.124-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:jbd2_journal_get_create_access+0x44b/0x450 fs/jbd2/transaction.c:1289
Code: ff ff ff 48 89 ef e8 d4 e7 99 ff e9 24 ff ff ff e8 9a 6e 50 ff 0f 0b e8 93 6e 50 ff 0f 0b e8 8c 6e 50 ff 0f 0b e8 85 6e 50 ff <0f> 0b 0f 1f 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 30 41 89 d7
RSP: 0018:ffffc9000323f830 EFLAGS: 00010293
RAX: ffffffff822f937b RBX: ffff888047bb3800 RCX: ffff888077380000
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000002
RBP: 0000000000000003 R08: ffffffff822f90c6 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8880257d4f20 R14: ffff888025994000 R15: ffff8880254095a0
FS:  0000555557470480(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3f77297000 CR3: 000000001f0f6000 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:323
 ext4_getblk+0x403/0x710 fs/ext4/inode.c:870
 ext4_bread+0x2a/0x170 fs/ext4/inode.c:899
 ext4_append+0x31f/0x5c0 fs/ext4/namei.c:83
 ext4_init_new_dir+0x33a/0xa20 fs/ext4/namei.c:2976
 ext4_mkdir+0x4f2/0xce0 fs/ext4/namei.c:3022
 vfs_mkdir+0x419/0x640 fs/namei.c:3994
 do_mkdirat+0x260/0x520 fs/namei.c:4019
 __do_sys_mkdirat fs/namei.c:4034 [inline]
 __se_sys_mkdirat fs/namei.c:4032 [inline]
 __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4032
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7ff6c5d885e7
Code: 73 01 c3 48 c7 c1 b0 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff71cea0f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fff71cea180 RCX: 00007ff6c5d885e7
RDX: 00000000000001ff RSI: 00007fff71cea180 RDI: 00000000ffffff9c
RBP: 00007fff71cea15c R08: 0000000000000006 R09: 00007fff71ce9e94
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032
R13: 00000000002c2635 R14: 00000000002c24cb R15: 0000000000000017
 </TASK>
Modules linked in:
---[ end trace 6ebc8c2ed7ea4dda ]---
RIP: 0010:jbd2_journal_get_create_access+0x44b/0x450 fs/jbd2/transaction.c:1289
Code: ff ff ff 48 89 ef e8 d4 e7 99 ff e9 24 ff ff ff e8 9a 6e 50 ff 0f 0b e8 93 6e 50 ff 0f 0b e8 8c 6e 50 ff 0f 0b e8 85 6e 50 ff <0f> 0b 0f 1f 00 55 41 57 41 56 41 55 41 54 53 48 83 ec 30 41 89 d7
RSP: 0018:ffffc9000323f830 EFLAGS: 00010293
RAX: ffffffff822f937b RBX: ffff888047bb3800 RCX: ffff888077380000
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000002
RBP: 0000000000000003 R08: ffffffff822f90c6 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8880257d4f20 R14: ffff888025994000 R15: ffff8880254095a0
FS:  0000555557470480(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3f77297000 CR3: 000000001f0f6000 CR4: 00000000003506e0
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
2023/08/03 20:42 linux-5.15.y 38d4ca22a528 74621247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in jbd2_journal_get_create_access
* Struck through repros no longer work on HEAD.