syzbot


divide error in do_journal_end

Status: auto-closed as invalid on 2021/03/19 22:00
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+d0d781aeeb8e16f710f1@syzkaller.appspotmail.com
First crash: 1311d, last: 1281d
Discussions (1)
Title Replies (including bot) Last reply
divide error in do_journal_end 0 (1) 2020/10/23 15:26
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 divide error in do_journal_end (2) C error 1 633d 1122d 0/1 upstream: reported C repro on 2021/04/28 16:52
upstream divide error in do_journal_end (3) reiserfs C error done 83 138d 518d 0/26 auto-obsoleted due to no activity on 2024/04/14 06:39
upstream divide error in do_journal_end (2) reiserfs C inconclusive 2 1108d 1108d 20/26 fixed on 2021/11/10 00:50
linux-5.15 divide error in do_journal_end origin:upstream C 65 4d00h 321d 0/3 upstream: reported C repro on 2023/07/08 18:42
linux-4.19 divide error in do_journal_end (3) reiserfs C error 1 483d 483d 0/1 upstream: reported C repro on 2023/01/27 02:59
linux-4.19 divide error in do_journal_end (2) C done 4 1048d 1159d 1/1 fixed on 2021/08/12 11:53
linux-6.1 divide error in do_journal_end origin:upstream C 36 10d 146d 0/3 upstream: reported C repro on 2023/12/30 01:46
linux-4.14 divide error in do_journal_end C done 1 1232d 1292d 1/1 fixed on 2021/02/21 17:18
linux-4.19 divide error in do_journal_end C done 2 1243d 1304d 1/1 fixed on 2021/01/27 05:38

Sample crash report:
divide error: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8485 Comm: syz-executor.3 Not tainted 5.10.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:do_journal_end+0x15d6/0x4950 fs/reiserfs/journal.c:4075
Code: c6 41 84 f0 0f 85 3b 2c 00 00 83 e2 07 38 d1 40 0f 9e c6 84 c9 0f 95 c2 40 84 d6 0f 85 24 2c 00 00 8b 4b 14 48 8d 7d 18 31 d2 <48> f7 f1 4a 8d 34 2a 48 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1
RSP: 0018:ffffc9000172fb28 EFLAGS: 00010246
RAX: 0000000000000009 RBX: ffff888051523000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888074219018
RBP: ffff888074219000 R08: 0000000000000001 R09: ffff888051523ffb
R10: ffffed100a2a47ff R11: 0000000000000000 R12: 0000000000001000
R13: 0000000000000000 R14: ffffc9000172fd48 R15: ffffc900155c1000
FS:  0000000002125940(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000016a9e60 CR3: 0000000063644000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_journal_release fs/reiserfs/journal.c:1916 [inline]
 journal_release+0x14d/0x4e0 fs/reiserfs/journal.c:1970
 reiserfs_put_super+0xe0/0x5c0 fs/reiserfs/super.c:616
 generic_shutdown_super+0x144/0x370 fs/super.c:464
 kill_block_super+0x97/0xf0 fs/super.c:1446
 deactivate_locked_super+0x94/0x160 fs/super.c:335
 deactivate_super+0xad/0xd0 fs/super.c:366
 cleanup_mnt+0x3a3/0x530 fs/namespace.c:1118
 task_work_run+0xdd/0x190 kernel/task_work.c:151
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:164 [inline]
 exit_to_user_mode_prepare+0x17e/0x1a0 kernel/entry/common.c:191
 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4608e7
Code: 64 89 04 25 d0 02 00 00 58 5f ff d0 48 89 c7 e8 2f be ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffca9bb6e38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000004608e7
RDX: 00000000004031f8 RSI: 0000000000000002 RDI: 00007ffca9bb6ee0
RBP: 0000000000000958 R08: 0000000000000000 R09: 000000000000000b
R10: 0000000000000005 R11: 0000000000000246 R12: 00007ffca9bb7f70
R13: 0000000002126a60 R14: 0000000000000000 R15: 00007ffca9bb7f70
Modules linked in:
---[ end trace 8309bc591ed2610d ]---
RIP: 0010:do_journal_end+0x15d6/0x4950 fs/reiserfs/journal.c:4075
Code: c6 41 84 f0 0f 85 3b 2c 00 00 83 e2 07 38 d1 40 0f 9e c6 84 c9 0f 95 c2 40 84 d6 0f 85 24 2c 00 00 8b 4b 14 48 8d 7d 18 31 d2 <48> f7 f1 4a 8d 34 2a 48 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1
RSP: 0018:ffffc9000172fb28 EFLAGS: 00010246
RAX: 0000000000000009 RBX: ffff888051523000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888074219018
RBP: ffff888074219000 R08: 0000000000000001 R09: ffff888051523ffb
R10: ffffed100a2a47ff R11: 0000000000000000 R12: 0000000000001000
R13: 0000000000000000 R14: ffffc9000172fd48 R15: ffffc900155c1000
FS:  0000000002125940(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000016a9e60 CR3: 0000000063644000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/19 21:59 upstream 131ad0b6f529 0767f13f .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/21 14:29 upstream c4d6fe731176 99c64d5c .config console log report info ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.