syzbot


divide error in wb_update_dirty_ratelimit

Status: auto-closed as invalid on 2021/10/04 12:11
Reported-by: syzbot+6a04d6ba849df9d81239@syzkaller.appspotmail.com
First crash: 330d, last: 323d

Sample crash report:
divide error: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 25813 Comm: syz-executor.2 Not tainted 5.14.0-rc3-next-20210730-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:wb_update_dirty_ratelimit+0x18d/0x7d0 mm/page-writeback.c:1197
Code: 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 05 00 00 4c 2b b5 30 02 00 00 49 8d 7f 58 31 d2 49 6b c6 64 <48> f7 f3 48 89 fa 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 c1
RSP: 0018:ffffc90005adf750 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000db49000
RDX: 0000000000000000 RSI: 000000000000634c RDI: ffffc90005adf9a0
RBP: ffff88808280e060 R08: 0000000000000000 R09: ffffffff9023d363
R10: fffffbfff2047a6c R11: 0000000000000000 R12: 0000000000006400
R13: 000000000002c8a9 R14: 0000000000000000 R15: ffffc90005adf948
FS:  00007f1ae21bf700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000206000bf CR3: 000000001c969000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __wb_update_bandwidth+0x3d7/0x5a0 mm/page-writeback.c:1350
 balance_dirty_pages+0x12ab/0x29d0 mm/page-writeback.c:1719
 balance_dirty_pages_ratelimited+0xda2/0x1820 mm/page-writeback.c:1920
 generic_perform_write+0x320/0x510 mm/filemap.c:3789
 __generic_file_write_iter+0x24e/0x610 mm/filemap.c:3882
 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3914
 fuse_cache_write_iter fs/fuse/file.c:1298 [inline]
 fuse_file_write_iter+0x56c/0xcd0 fs/fuse/file.c:1601
 call_write_iter include/linux/fs.h:2152 [inline]
 new_sync_write+0x426/0x650 fs/read_write.c:518
 vfs_write+0x75a/0xa40 fs/read_write.c:605
 ksys_write+0x12d/0x250 fs/read_write.c:658
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665e9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1ae21bf188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9
RDX: 00000000fffffdef RSI: 00000000200000c0 RDI: 0000000000000009
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffc04578aaf R14: 00007f1ae21bf300 R15: 0000000000022000
Modules linked in:
---[ end trace 7613ed04e6a1c149 ]---
RIP: 0010:wb_update_dirty_ratelimit+0x18d/0x7d0 mm/page-writeback.c:1197
Code: 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 05 00 00 4c 2b b5 30 02 00 00 49 8d 7f 58 31 d2 49 6b c6 64 <48> f7 f3 48 89 fa 48 89 04 24 48 b8 00 00 00 00 00 fc ff df 48 c1
RSP: 0018:ffffc90005adf750 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000db49000
RDX: 0000000000000000 RSI: 000000000000634c RDI: ffffc90005adf9a0
RBP: ffff88808280e060 R08: 0000000000000000 R09: ffffffff9023d363
R10: fffffbfff2047a6c R11: 0000000000000000 R12: 0000000000006400
R13: 000000000002c8a9 R14: 0000000000000000 R15: ffffc90005adf948
FS:  00007f1ae21bf700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000206000bf CR3: 000000001c969000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/08/05 12:10 linux-next 8d4b477da1a8 7f7bb950 .config log report info divide error in wb_update_dirty_ratelimit
ci-upstream-linux-next-kasan-gce-root 2021/08/01 08:40 linux-next 8d4b477da1a8 6c236867 .config log report info divide error in wb_update_dirty_ratelimit
ci-upstream-linux-next-kasan-gce-root 2021/08/01 01:00 linux-next 8d4b477da1a8 6c236867 .config log report info divide error in wb_update_dirty_ratelimit
ci-upstream-linux-next-kasan-gce-root 2021/07/29 18:16 linux-next 4ccc9e2db7ac b44001ce .config log report info divide error in wb_update_dirty_ratelimit