syzbot


divide error in flush_commit_list

Status: auto-obsoleted due to no activity on 2024/04/06 13:39
Subsystems: reiserfs
[Documentation on labels]
Reported-by: syzbot+32134c00ff57e0343b6b@syzkaller.appspotmail.com
First crash: 522d, last: 143d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] divide error in flush_commit_list 0 (1) 2022/12/18 15:58
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 divide error in flush_commit_list (2) 1 24d 24d 0/3 upstream: reported on 2024/04/25 09:33
linux-4.19 divide error in flush_commit_list 1 456d 456d 0/1 upstream: reported on 2023/02/18 21:03
linux-5.15 divide error in flush_commit_list 1 382d 382d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:10

Sample crash report:
divide error: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 24508 Comm: kworker/0:1 Not tainted 6.7.0-rc7-syzkaller-00016-gf5837722ffec #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: reiserfs/loop0 flush_async_commits
RIP: 0010:flush_commit_list+0x954/0x1c50 fs/reiserfs/journal.c:1050
Code: fc ff df 0f b6 04 18 84 c0 0f 85 c6 01 00 00 4c 89 f0 48 c1 e8 03 0f b6 04 18 84 c0 0f 85 d3 01 00 00 41 8b 0f 48 89 e8 31 d2 <48> f7 f1 48 89 d5 49 83 c4 18 4c 89 e0 48 c1 e8 03 80 3c 18 00 74
RSP: 0018:ffffc90004c6f9e8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc9000ad79408
RBP: 0000000000000000 R08: ffffc9000ad7940b R09: 1ffff920015af281
R10: dffffc0000000000 R11: fffff520015af282 R12: ffff88802a0fd000
R13: 0000000000000000 R14: ffff88806dd4f017 R15: ffff88806dd4f014
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa59af9d988 CR3: 0000000019734000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 flush_older_commits fs/reiserfs/journal.c:918 [inline]
 flush_commit_list+0x3d1/0x1c50 fs/reiserfs/journal.c:996
 flush_async_commits+0xa4/0xc0 fs/reiserfs/journal.c:3553
 process_one_work kernel/workqueue.c:2627 [inline]
 process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700
 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781
 kthread+0x2d3/0x370 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:flush_commit_list+0x954/0x1c50 fs/reiserfs/journal.c:1050
Code: fc ff df 0f b6 04 18 84 c0 0f 85 c6 01 00 00 4c 89 f0 48 c1 e8 03 0f b6 04 18 84 c0 0f 85 d3 01 00 00 41 8b 0f 48 89 e8 31 d2 <48> f7 f1 48 89 d5 49 83 c4 18 4c 89 e0 48 c1 e8 03 80 3c 18 00 74
RSP: 0018:ffffc90004c6f9e8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc9000ad79408
RBP: 0000000000000000 R08: ffffc9000ad7940b R09: 1ffff920015af281
R10: dffffc0000000000 R11: fffff520015af282 R12: ffff88802a0fd000
R13: 0000000000000000 R14: ffff88806dd4f017 R15: ffff88806dd4f014
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa0a4e1d000 CR3: 000000000d731000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	df 0f                	fisttps (%rdi)
   2:	b6 04                	mov    $0x4,%dh
   4:	18 84 c0 0f 85 c6 01 	sbb    %al,0x1c6850f(%rax,%rax,8)
   b:	00 00                	add    %al,(%rax)
   d:	4c 89 f0             	mov    %r14,%rax
  10:	48 c1 e8 03          	shr    $0x3,%rax
  14:	0f b6 04 18          	movzbl (%rax,%rbx,1),%eax
  18:	84 c0                	test   %al,%al
  1a:	0f 85 d3 01 00 00    	jne    0x1f3
  20:	41 8b 0f             	mov    (%r15),%ecx
  23:	48 89 e8             	mov    %rbp,%rax
  26:	31 d2                	xor    %edx,%edx
* 28:	48 f7 f1             	div    %rcx <-- trapping instruction
  2b:	48 89 d5             	mov    %rdx,%rbp
  2e:	49 83 c4 18          	add    $0x18,%r12
  32:	4c 89 e0             	mov    %r12,%rax
  35:	48 c1 e8 03          	shr    $0x3,%rax
  39:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1)
  3d:	74                   	.byte 0x74

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/28 13:38 upstream f5837722ffec fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/12/10 00:19 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/11/28 08:19 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/11/23 22:38 upstream d3fa86b1a7b4 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/11/23 10:05 upstream 9b6de136b5f0 fc59b78e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/11/12 14:53 upstream 1b907d050735 6d6dbf8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/10/25 07:09 upstream d88520ad73b7 17e6d526 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/10/05 05:24 upstream ba7d997a2a29 b7d7ff54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/10/02 22:07 upstream 8a749fd1a872 50b20e75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/09/25 22:07 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/09/04 21:03 upstream 708283abf896 db3306a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/07/06 07:09 upstream d528014517f2 ba5dba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/06/24 08:56 upstream 61dabacdad4e 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/05/29 22:24 upstream 8b817fded42d cf184559 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream divide error in flush_commit_list
2023/05/16 20:33 upstream f1fcbaa18b28 11c89444 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/05/02 08:03 upstream c8c655c34e33 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/04/27 23:05 upstream cec24b8b6bb8 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root divide error in flush_commit_list
2023/03/25 13:44 upstream 65aca32efdcb fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root divide error in flush_commit_list
2023/03/03 18:54 upstream 2eb29d59ddf0 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/01/23 03:27 upstream 2475bf0250de cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/01/16 09:50 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2023/01/04 06:24 upstream 69b41ac87e4a f0036e18 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2022/12/28 02:50 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
2022/12/14 15:53 upstream e2ca6ba6ba01 b18f0a64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs divide error in flush_commit_list
* Struck through repros no longer work on HEAD.