[v6.1] WARNING in journal_end

1 view
Skip to first unread message

syzbot

unread,
Apr 5, 2023, 3:47:57 AM4/5/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3b29299e5f60 Linux 6.1.22
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17aa9a31c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=bbb9a1f6f7f5a1d9
dashboard link: https://syzkaller.appspot.com/bug?extid=1d8ec86f8e3e5ae297f8
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2affbd06cbfd/disk-3b29299e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/8b22d1baf827/vmlinux-3b29299e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/d5e3891c88bf/Image-3b29299e.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+1d8ec8...@syzkaller.appspotmail.com

REISERFS error (device loop2): vs-4080 _reiserfs_free_block: block 2: bit already cleared
REISERFS error (device loop2): vs-4080 _reiserfs_free_block: block 1: bit already cleared
------------[ cut here ]------------
WARNING: CPU: 0 PID: 16965 at fs/reiserfs/journal.c:3395 journal_end+0x1a4/0x260
Modules linked in:
CPU: 0 PID: 16965 Comm: syz-executor.2 Not tainted 6.1.22-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : journal_end+0x1a4/0x260
lr : journal_end+0x1a0/0x260
sp : ffff800024e175c0
x29: ffff800024e175c0 x28: dfff800000000000 x27: 1ffff000049c2ed2
x26: 1fffe0001991f8fe x25: 1ffff000049c2ed0 x24: dfff800000000000
x23: ffff800024e17680 x22: 0000000000000000 x21: ffff800024e17694
x20: ffff0000cc8fc7f0 x19: ffff800024e17680 x18: ffff800024e16d7e
x17: 6f6c62203a6b636f x16: ffff800012028740 x15: 0000000000000000
x14: 1ffff00002ab00b0 x13: dfff800000000000 x12: 0000000000040000
x11: 0000000000013fd4 x10: ffff800025d9c000 x9 : ffff800008da3cc0
x8 : 0000000000013fd5 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000008 x3 : 0000000000000020
x2 : 0000000000000008 x1 : 0000000000000000 x0 : 00000000fffffffb
Call trace:
journal_end+0x1a4/0x260
reiserfs_truncate_file+0x51c/0xb1c fs/reiserfs/inode.c:2311
reiserfs_truncate_failed_write fs/reiserfs/inode.c:2743 [inline]
reiserfs_write_end+0x640/0x800 fs/reiserfs/inode.c:2958
generic_perform_write+0x384/0x55c mm/filemap.c:3765
__generic_file_write_iter+0x168/0x388 mm/filemap.c:3882
generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:3914
call_write_iter include/linux/fs.h:2205 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x610/0x914 fs/read_write.c:584
ksys_write+0x15c/0x26c fs/read_write.c:637
__do_sys_write fs/read_write.c:649 [inline]
__se_sys_write fs/read_write.c:646 [inline]
__arm64_sys_write+0x7c/0x90 fs/read_write.c:646
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581
irq event stamp: 44760
hardirqs last enabled at (44759): [<ffff800008b21718>] lookup_bh_lru fs/buffer.c:1291 [inline]
hardirqs last enabled at (44759): [<ffff800008b21718>] __find_get_block+0x1d0/0xeec fs/buffer.c:1303
hardirqs last disabled at (44760): [<ffff8000120d55ec>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (44708): [<ffff800008020d74>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last enabled at (44708): [<ffff800008020d74>] __do_softirq+0xc14/0xea0 kernel/softirq.c:600
softirqs last disabled at (44697): [<ffff80000802a948>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79
---[ end trace 0000000000000000 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Apr 14, 2023, 5:59:36 AM4/14/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4fdad925aa1a Linux 5.15.107
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=124fe133c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=d9bc1b227ee6c412
dashboard link: https://syzkaller.appspot.com/bug?extid=d5db997d64a0c9bd7ec1
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/6a7f3b0f6a27/disk-4fdad925.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/db34418039b7/vmlinux-4fdad925.xz
kernel image: https://storage.googleapis.com/syzbot-assets/4e96525a950a/bzImage-4fdad925.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d5db99...@syzkaller.appspotmail.com

REISERFS error (device loop2): vs-5150 search_by_key: invalid format found in block 565. Fsck?
REISERFS (device loop2): Remounting filesystem read-only
REISERFS error (device loop2): vs-2100 add_save_link: search_by_key ([-1 2 0x1 IND]) returned -2
------------[ cut here ]------------
WARNING: CPU: 0 PID: 17409 at fs/reiserfs/journal.c:3391 journal_end+0x1f7/0x2b0
Modules linked in:
CPU: 0 PID: 17409 Comm: syz-executor.2 Not tainted 5.15.107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
RIP: 0010:journal_end+0x1f7/0x2b0 fs/reiserfs/journal.c:3391
Code: 2f c7 b8 ff 48 b8 00 00 00 00 00 fc ff df 41 0f b6 44 05 00 84 c0 0f 85 a1 00 00 00 c7 45 00 00 00 00 00 eb 30 e8 c9 6d 6f ff <0f> 0b b8 fb ff ff ff eb 24 e8 bb 6d 6f ff 4c 89 f7 31 f6 48 83 c4
RSP: 0000:ffffc90010627478 EFLAGS: 00010293
RAX: ffffffff82104ce7 RBX: 0000000000000000 RCX: ffff88802a9b3a00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90010627554 R08: ffffffff82104bfa R09: ffffc90010627548
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802a9b4ba8
R13: 1ffff920020c4eaa R14: ffffc90010627540 R15: 1ffff11005536975
FS: 00007f5a9fa33700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0367b1000 CR3: 000000001e5c7000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
reiserfs_truncate_file+0x643/0xda0 fs/reiserfs/inode.c:2319
reiserfs_setattr+0xa4d/0xf90 fs/reiserfs/inode.c:3409
notify_change+0xd4d/0x1000 fs/attr.c:488
do_truncate+0x21c/0x300 fs/open.c:65
handle_truncate fs/namei.c:3195 [inline]
do_open fs/namei.c:3542 [inline]
path_openat+0x28a0/0x2f20 fs/namei.c:3672
do_filp_open+0x21c/0x460 fs/namei.c:3699
do_sys_openat2+0x13b/0x500 fs/open.c:1211
do_sys_open fs/open.c:1227 [inline]
__do_sys_creat fs/open.c:1301 [inline]
__se_sys_creat fs/open.c:1295 [inline]
__x64_sys_creat+0x11f/0x160 fs/open.c:1295
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:0x7f5aa9566169
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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:00007f5a9fa33168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f5aa9686390 RCX: 00007f5aa9566169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007f5aa95c1ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffede6439bf R14: 00007f5a9fa33300 R15: 0000000000022000
</TASK>

syzbot

unread,
May 29, 2023, 12:31:03 PM5/29/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 1fe619a7d252 Linux 5.15.113
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17dd17e1280000
kernel config: https://syzkaller.appspot.com/x/.config?x=ab36330fd14820aa
dashboard link: https://syzkaller.appspot.com/bug?extid=d5db997d64a0c9bd7ec1
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=167b3bb9280000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=135c7b85280000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2d1716ac5a07/disk-1fe619a7.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/9e9e3ef13603/vmlinux-1fe619a7.xz
kernel image: https://storage.googleapis.com/syzbot-assets/810a025eede3/bzImage-1fe619a7.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/2217239fdb6d/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d5db99...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 15025 at fs/reiserfs/journal.c:3391 journal_end+0x1f7/0x2b0
Modules linked in:
CPU: 0 PID: 15025 Comm: syz-executor169 Not tainted 5.15.113-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:journal_end+0x1f7/0x2b0 fs/reiserfs/journal.c:3391
Code: ff c5 b8 ff 48 b8 00 00 00 00 00 fc ff df 41 0f b6 44 05 00 84 c0 0f 85 a1 00 00 00 c7 45 00 00 00 00 00 eb 30 e8 09 68 6f ff <0f> 0b b8 fb ff ff ff eb 24 e8 fb 67 6f ff 4c 89 f7 31 f6 48 83 c4
RSP: 0000:ffffc90006f8f478 EFLAGS: 00010293
RAX: ffffffff82108147 RBX: 0000000000000000 RCX: ffff88801df69dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90006f8f554 R08: ffffffff8210805a R09: ffffc90006f8f548
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801df6b038
R13: 1ffff92000df1eaa R14: ffffc90006f8f540 R15: 1ffff11003bed607
FS: 00007f7779de1700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7779de2000 CR3: 000000007899c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
reiserfs_truncate_file+0x643/0xda0 fs/reiserfs/inode.c:2319
reiserfs_setattr+0xa4d/0xf90 fs/reiserfs/inode.c:3409
notify_change+0xd4d/0x1000 fs/attr.c:488
do_truncate+0x21c/0x300 fs/open.c:65
handle_truncate fs/namei.c:3195 [inline]
do_open fs/namei.c:3542 [inline]
path_openat+0x28a0/0x2f20 fs/namei.c:3672
do_filp_open+0x21c/0x460 fs/namei.c:3699
do_sys_openat2+0x13b/0x500 fs/open.c:1211
do_sys_open fs/open.c:1227 [inline]
__do_sys_creat fs/open.c:1301 [inline]
__se_sys_creat fs/open.c:1295 [inline]
__x64_sys_creat+0x11f/0x160 fs/open.c:1295
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:0x7f7779e35ee9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 15 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:00007f7779de1208 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f7779ebb7a8 RCX: 00007f7779e35ee9
RDX: 00007f7779e35ee9 RSI: 0000000000000000 RDI: 00000000200000c0
RBP: 00007f7779ebb7a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7779ebb7ac
R13: 00007ffcb70ee56f R14: 00007f7779de1300 R15: 0000000000022000
</TASK>


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Jun 4, 2023, 1:18:14 PM6/4/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: d2869ace6eeb Linux 6.1.31
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14b49eb6280000
kernel config: https://syzkaller.appspot.com/x/.config?x=623aacf949348d7d
dashboard link: https://syzkaller.appspot.com/bug?extid=1d8ec86f8e3e5ae297f8
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12051969280000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=121b75a5280000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2ed651ed0d8f/disk-d2869ace.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/b8d3199c542c/vmlinux-d2869ace.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a44812549bf7/bzImage-d2869ace.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/a140058999ad/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+1d8ec8...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 3659 at fs/reiserfs/journal.c:3395 journal_end+0x1f7/0x2b0
Modules linked in:
CPU: 0 PID: 3659 Comm: syz-executor161 Not tainted 6.1.31-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:journal_end+0x1f7/0x2b0 fs/reiserfs/journal.c:3395
Code: 9f 63 b3 ff 48 b8 00 00 00 00 00 fc ff df 41 0f b6 44 05 00 84 c0 0f 85 a1 00 00 00 c7 45 00 00 00 00 00 eb 30 e8 f9 19 5d ff <0f> 0b b8 fb ff ff ff eb 24 e8 eb 19 5d ff 4c 89 f7 31 f6 48 83 c4
RSP: 0018:ffffc90003cff498 EFLAGS: 00010293
RAX: ffffffff822cbb77 RBX: 0000000000000000 RCX: ffff88807ea1bb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003cff554 R08: ffffffff822cba8a R09: ffffc90003cff548
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807ea1cde8
R13: 1ffff9200079feaa R14: ffffc90003cff540 R15: 1ffff1100fd439bd
FS: 00007f0019206700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffef4bc8fc8 CR3: 0000000023e66000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
reiserfs_truncate_file+0x4e1/0x810 fs/reiserfs/inode.c:2311
reiserfs_setattr+0xc57/0x11c0 fs/reiserfs/inode.c:3395
notify_change+0xdcd/0x1080 fs/attr.c:482
do_truncate+0x21c/0x300 fs/open.c:65
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x27e2/0x2e60 fs/namei.c:3714
do_filp_open+0x230/0x480 fs/namei.c:3741
do_sys_openat2+0x13b/0x500 fs/open.c:1318
do_sys_open fs/open.c:1334 [inline]
__do_sys_creat fs/open.c:1410 [inline]
__se_sys_creat fs/open.c:1404 [inline]
__x64_sys_creat+0x11f/0x160 fs/open.c:1404
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:0x7f002127b689
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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:00007f00192062f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f00213017b0 RCX: 00007f002127b689
RDX: 0000000000000073 RSI: 0000000000000000 RDI: 00000000200000c0
RBP: 00007f00212ce1f8 R08: 00007f0019206700 R09: 0000000000000000
R10: 00007f0019206700 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 7366726573696572 R14: 6f72746e6f632f2e R15: 00007f00213017b8
Reply all
Reply to author
Forward
0 new messages