syzbot


kernel BUG in do_journal_begin_r

Status: upstream: reported C repro on 2022/11/02 16:45
Reported-by: syzbot+2da5e132dd0268a9c0e4@syzkaller.appspotmail.com
First crash: 29d, last: 1h49m

Cause bisection: failed (bisect log)

Sample crash report:
REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop0): checking transaction log (loop0)
REISERFS (device loop0): Using r5 hash to sort names
REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage.
------------[ cut here ]------------
kernel BUG at fs/reiserfs/journal.c:3039!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 3921 Comm: syz-executor312 Not tainted 6.1.0-rc6-syzkaller-00308-g644e9524388a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:do_journal_begin_r+0x105b/0x1070 fs/reiserfs/journal.c:3039
Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 22 ff ff ff 48 89 df e8 56 eb b2 ff e9 15 ff ff ff e8 7c d2 5e ff 0f 0b e8 75 d2 5e ff <0f> 0b e8 2e 6f 66 08 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55
RSP: 0018:ffffc900056ef5e0 EFLAGS: 00010293
RAX: ffffffff822bc53b RBX: 000000001100e1fd RCX: ffff888028ae3a80
RDX: 0000000000000000 RSI: 000000001100e1fd RDI: 0000000000000100
RBP: ffffc900056ef788 R08: ffffffff822bb612 R09: fffffbfff1cebe1e
R10: fffffbfff1cebe1e R11: 1ffffffff1cebe1d R12: ffff88807a184678
R13: ffffc90005701214 R14: dffffc0000000000 R15: 0000000000000100
FS:  00007f1ccabf8700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1ccabf9000 CR3: 0000000024257000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 journal_begin+0x14b/0x350 fs/reiserfs/journal.c:3255
 reiserfs_create+0x2c3/0x660 fs/reiserfs/namei.c:661
 lookup_open fs/namei.c:3413 [inline]
 open_last_lookups fs/namei.c:3481 [inline]
 path_openat+0x12d0/0x2df0 fs/namei.c:3711
 do_filp_open+0x264/0x4f0 fs/namei.c:3741
 do_sys_openat2+0x124/0x4e0 fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_creat fs/open.c:1402 [inline]
 __se_sys_creat fs/open.c:1396 [inline]
 __x64_sys_creat+0x11f/0x160 fs/open.c:1396
 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+0x63/0xcd
RIP: 0033:0x7f1ccac59a89
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 31 19 00 00 90 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:00007f1ccabf8208 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f1ccacdf548 RCX: 00007f1ccac59a89
RDX: 00007f1ccac59a89 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007f1ccacdf540 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000010fb R11: 0000000000000246 R12: 00007f1ccacdf54c
R13: 00007fffe565075f R14: 00007f1ccabf8300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_journal_begin_r+0x105b/0x1070 fs/reiserfs/journal.c:3039
Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 22 ff ff ff 48 89 df e8 56 eb b2 ff e9 15 ff ff ff e8 7c d2 5e ff 0f 0b e8 75 d2 5e ff <0f> 0b e8 2e 6f 66 08 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 55
RSP: 0018:ffffc900056ef5e0 EFLAGS: 00010293
RAX: ffffffff822bc53b RBX: 000000001100e1fd RCX: ffff888028ae3a80
RDX: 0000000000000000 RSI: 000000001100e1fd RDI: 0000000000000100
RBP: ffffc900056ef788 R08: ffffffff822bb612 R09: fffffbfff1cebe1e
R10: fffffbfff1cebe1e R11: 1ffffffff1cebe1d R12: ffff88807a184678
R13: ffffc90005701214 R14: dffffc0000000000 R15: 0000000000000100
FS:  00007f1ccabf8700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f142218600 CR3: 0000000024257000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (93):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-fs 2022/11/27 00:40 upstream 644e9524388a f4470a7b .config log report syz C kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 04:29 upstream 08ad43d554ba f4470a7b .config log report syz C kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 17:28 upstream c3eb11fbb826 74a66371 .config log report syz C kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 23:38 upstream 4312098baf37 ff68ff8f .config log report syz C kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/21 22:56 upstream eb7081409f94 1c576c23 .config log report syz C kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 23:41 upstream 644e9524388a f4470a7b .config log report syz kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 11:49 upstream c3eb11fbb826 74a66371 .config log report syz kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/21 09:51 upstream eb7081409f94 5bb70014 .config log report syz kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 21:22 upstream 644e9524388a f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 20:20 upstream 644e9524388a f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 19:16 upstream 644e9524388a f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 17:52 upstream 644e9524388a f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci-upstream-kasan-gce-root 2022/11/26 12:02 upstream 0b1dcc2cf55a 74a66371 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 09:19 upstream 08ad43d554ba f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 08:35 upstream 08ad43d554ba f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/26 03:45 upstream 08ad43d554ba f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 23:18 upstream 08ad43d554ba f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 20:14 upstream 08ad43d554ba f4470a7b .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 19:00 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 17:23 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 15:25 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 13:57 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 06:52 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 04:42 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 02:54 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/25 00:56 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 23:36 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 21:21 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 18:57 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 12:59 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 11:56 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 10:53 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 09:46 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 07:20 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 06:29 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 06:28 upstream 4312098baf37 ff68ff8f .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 04:35 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 02:59 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 02:13 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 02:08 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 01:09 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/24 00:24 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/23 23:41 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/23 20:42 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/23 12:44 upstream eb7081409f94 52fdf57a .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/23 06:50 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/23 05:58 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/23 04:42 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/23 04:15 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/11/23 03:40 upstream eb7081409f94 9da37ae8 .config log report info kernel BUG in do_journal_begin_r
ci2-upstream-fs 2022/10/28 23:53 upstream b229b6ca5abb 8168b69e .config log report info kernel BUG in do_journal_begin_r
* Struck through repros no longer work on HEAD.