syzbot


divide error in do_journal_end (3)

Status: auto-obsoleted due to no activity on 2024/04/14 06:39
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+74b838cfa47fc9554471@syzkaller.appspotmail.com
First crash: 487d, last: 103d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [reiserfs?] divide error in do_journal_end (3) 0 (3) 2024/02/16 22:48
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream divide error in do_journal_end reiserfs 2 1246d 1273d 0/26 auto-closed as invalid on 2021/03/19 22:00
linux-4.14 divide error in do_journal_end (2) C error 1 598d 1086d 0/1 upstream: reported C repro on 2021/04/28 16:52
upstream divide error in do_journal_end (2) reiserfs C inconclusive 2 1073d 1073d 20/26 fixed on 2021/11/10 00:50
linux-5.15 divide error in do_journal_end origin:upstream C 8 3d23h 285d 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 448d 448d 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 1012d 1123d 1/1 fixed on 2021/08/12 11:53
linux-6.1 divide error in do_journal_end origin:upstream C 3 11d 111d 0/3 upstream: reported C repro on 2023/12/30 01:46
linux-4.14 divide error in do_journal_end C done 1 1196d 1256d 1/1 fixed on 2021/02/21 17:18
linux-4.19 divide error in do_journal_end C done 2 1208d 1268d 1/1 fixed on 2021/01/27 05:38
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/04/14 06:14 24m retest repro linux-next OK log
2024/02/02 07:55 22m retest repro linux-next report log
2024/01/21 13:25 20m retest repro upstream OK log
2024/01/21 14:27 18m retest repro upstream OK log
2024/01/21 14:27 18m retest repro upstream OK log
2024/01/21 13:25 23m retest repro upstream OK log
2024/01/21 14:27 20m retest repro upstream OK log
2024/01/21 13:25 20m retest repro upstream OK log
2024/01/21 13:25 19m retest repro upstream OK log
2024/01/21 13:25 21m retest repro linux-next OK log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/02/16 17:35 5h11m bisect fix upstream job log (1)
2023/07/28 17:01 1h42m bisect fix upstream job log (0) log
2023/04/27 22:41 34m bisect fix upstream job log (0) log
2023/03/04 02:28 42m bisect fix upstream job log (0) log

Sample crash report:
divide error: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5072 Comm: syz-executor247 Not tainted 6.7.0-rc8-syzkaller-00130-g6d0dc8559c84 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:do_journal_end+0x172e/0x4f10 fs/reiserfs/journal.c:4090
Code: c6 41 84 f0 0f 85 83 37 00 00 83 e2 07 38 d1 40 0f 9e c6 84 c9 0f 95 c2 40 84 d6 0f 85 6c 37 00 00 8b 4b 14 48 8d 7d 18 31 d2 <48> f7 f1 4a 8d 34 22 48 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1
RSP: 0018:ffffc90003a2f9f8 EFLAGS: 00010246
RAX: 0000000000000003 RBX: ffff8880715c7000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888028ee1018
RBP: ffff888028ee1000 R08: 0000000000000001 R09: 424c724573496552
R10: ffff888079ca7000 R11: 0000000000000003 R12: 0000000000000000
R13: 0000000000001000 R14: ffffc90003a2fbe8 R15: ffff88807e2543a0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff7425f0db8 CR3: 0000000028103000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 reiserfs_sync_fs+0x10e/0x140 fs/reiserfs/super.c:78
 sync_filesystem+0x109/0x280 fs/sync.c:56
 generic_shutdown_super+0x7e/0x3d0 fs/super.c:669
 kill_block_super+0x3b/0x90 fs/super.c:1667
 deactivate_locked_super+0xbc/0x1a0 fs/super.c:484
 deactivate_super+0xde/0x100 fs/super.c:517
 cleanup_mnt+0x222/0x450 fs/namespace.c:1256
 task_work_run+0x14d/0x240 kernel/task_work.c:180
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xa8a/0x2ad0 kernel/exit.c:869
 do_group_exit+0xd4/0x2a0 kernel/exit.c:1018
 __do_sys_exit_group kernel/exit.c:1029 [inline]
 __se_sys_exit_group kernel/exit.c:1027 [inline]
 __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1027
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7ff7425a6849
Code: Unable to access opcode bytes at 0x7ff7425a681f.
RSP: 002b:00007ffcd1d45e98 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007ff7425a6849
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 00007ff7426232d0 R08: ffffffffffffffb8 R09: 00007ffcd1d45f70
R10: 00007ffcd1d45f70 R11: 0000000000000246 R12: 00007ff7426232d0
R13: 0000000000000000 R14: 00007ff742624040 R15: 00007ff742574d70
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_journal_end+0x172e/0x4f10 fs/reiserfs/journal.c:4090
Code: c6 41 84 f0 0f 85 83 37 00 00 83 e2 07 38 d1 40 0f 9e c6 84 c9 0f 95 c2 40 84 d6 0f 85 6c 37 00 00 8b 4b 14 48 8d 7d 18 31 d2 <48> f7 f1 4a 8d 34 22 48 89 fa 48 b8 00 00 00 00 00 fc ff df 48 c1
RSP: 0018:ffffc90003a2f9f8 EFLAGS: 00010246
RAX: 0000000000000003 RBX: ffff8880715c7000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff888028ee1018
RBP: ffff888028ee1000 R08: 0000000000000001 R09: 424c724573496552
R10: ffff888079ca7000 R11: 0000000000000003 R12: 0000000000000000
R13: 0000000000001000 R14: ffffc90003a2fbe8 R15: ffff88807e2543a0
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b83591d6a8 CR3: 000000000cd77000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
   0:	c6 41 84 f0          	movb   $0xf0,-0x7c(%rcx)
   4:	0f 85 83 37 00 00    	jne    0x378d
   a:	83 e2 07             	and    $0x7,%edx
   d:	38 d1                	cmp    %dl,%cl
   f:	40 0f 9e c6          	setle  %sil
  13:	84 c9                	test   %cl,%cl
  15:	0f 95 c2             	setne  %dl
  18:	40 84 d6             	test   %dl,%sil
  1b:	0f 85 6c 37 00 00    	jne    0x378d
  21:	8b 4b 14             	mov    0x14(%rbx),%ecx
  24:	48 8d 7d 18          	lea    0x18(%rbp),%rdi
  28:	31 d2                	xor    %edx,%edx
* 2a:	48 f7 f1             	div    %rcx <-- trapping instruction
  2d:	4a 8d 34 22          	lea    (%rdx,%r12,1),%rsi
  31:	48 89 fa             	mov    %rdi,%rdx
  34:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  3b:	fc ff df
  3e:	48                   	rex.W
  3f:	c1                   	.byte 0xc1

Crashes (83):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/06 07:33 upstream 6d0dc8559c84 d0304e9c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root divide error in do_journal_end
2024/01/02 08:33 upstream 610a9b8f49fb fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs divide error in do_journal_end
2024/01/02 01:06 upstream 610a9b8f49fb fb427a07 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root divide error in do_journal_end
2023/12/13 16:27 upstream 88035e5694a8 ebcad15c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root divide error in do_journal_end
2023/12/10 01:05 upstream b10a3ccaf6e3 28b24332 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs divide error in do_journal_end
2023/11/28 09:06 upstream df60cee26a2e 9fe51b7c .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs divide error in do_journal_end
2023/11/23 23:22 upstream d3fa86b1a7b4 5b429f39 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs divide error in do_journal_end
2023/11/23 10:51 upstream 9b6de136b5f0 fc59b78e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs divide error in do_journal_end
2023/11/12 15:36 upstream 1b907d050735 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs divide error in do_journal_end
2023/10/02 22:47 upstream 8a749fd1a872 50b20e75 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs divide error in do_journal_end
2023/03/28 21:46 upstream 3a93e40326c8 48c74771 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root divide error in do_journal_end
2023/01/16 10:20 upstream 5dc4c995db9e a63719e7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs divide error in do_journal_end
2023/10/20 15:32 linux-next 4230ea146b1e a42250d2 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root divide error in do_journal_end
2023/05/20 21:06 linux-next 715abedee4cd 4bce1a3e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root divide error in do_journal_end
2024/01/07 10:14 upstream 52b1853b080a d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2024/01/06 11:59 upstream a4ab2706bb12 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2024/01/06 10:16 upstream a4ab2706bb12 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2024/01/05 15:31 upstream 1f874787ed9a 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2024/01/04 13:32 upstream ac865f00af29 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2024/01/03 09:41 upstream 610a9b8f49fb fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/31 22:24 upstream 2639772a11c8 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/31 16:57 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root divide error in do_journal_end
2023/12/31 04:05 upstream 453f5db0619e fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/29 06:47 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root divide error in do_journal_end
2023/12/29 04:04 upstream 505e701c0b2c fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root divide error in do_journal_end
2023/12/28 15:55 upstream f5837722ffec fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/28 14:08 upstream f5837722ffec fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/27 18:03 upstream fbafc3e621c3 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/24 05:07 upstream 3f82f1c3a036 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/19 12:06 upstream 2cf4f94d8e86 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/16 06:01 upstream 3bd7d7488169 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/14 03:07 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/13 22:34 upstream 5bd7ef53ffe5 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/09 18:51 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/09 07:54 upstream f2e8a57ee903 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/06 15:51 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/05 05:59 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/02 21:07 upstream 815fb87b7530 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/11/24 11:14 upstream f1a09972a45a 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/11/22 13:20 upstream c2d5304e6c64 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root divide error in do_journal_end
2023/11/20 09:39 upstream eb3479bc23fa cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/11/19 12:45 upstream 037266a5f723 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/11/17 02:26 upstream 7475e51b8796 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/11/12 22:31 upstream b57b17e88bf5 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/11/10 01:27 upstream 4bbdb725a36b 56230772 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root divide error in do_journal_end
2023/11/04 12:07 upstream 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root divide error in do_journal_end
2023/10/31 20:17 upstream 5a6a09e97199 58499c95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/26 03:44 upstream 611da07b89fd 72e794c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/22 20:59 upstream 1acfd2bd3f0d 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/17 05:31 upstream 213f891525c2 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/15 14:19 upstream 9a3dad63edbe f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/13 18:25 upstream 10a6e5feccb8 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/11 23:11 upstream 8182d7a3f1b8 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/11 17:41 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/11 02:43 upstream 1c8b86a3799f 83165b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/10/08 06:33 upstream b9ddbb0cde2a 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/12/30 19:21 upstream f016f7547aee fb427a07 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream divide error in do_journal_end
2023/06/23 21:09 upstream 8a28a0b6f1a1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/06/22 09:31 upstream dad9774deaf1 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2023/06/21 21:32 upstream e660abd551f1 09ffe269 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root divide error in do_journal_end
2023/05/31 06:49 upstream afead42fdfca 09898419 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root divide error in do_journal_end
2022/12/27 21:41 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
2022/12/19 02:26 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in do_journal_end
* Struck through repros no longer work on HEAD.