syzbot


WARNING in ext4_da_update_reserve_space (2)

Status: upstream: reported C repro on 2023/03/26 10:44
Labels: ext4 (incorrect?)
Reported-by: syzbot+a1232eabd7a3d43d4fb5@syzkaller.appspotmail.com
First crash: 79d, last: 1d13h

Cause bisection: failed (error log, bisect log)
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly ext4 report (May 2023) 5 (6) 2023/06/03 06:20
[syzbot] [ext4?] WARNING in ext4_da_update_reserve_space (2) 0 (1) 2023/03/26 10:44
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in ext4_da_update_reserve_space C done error 2 1167d 1163d 0/24 auto-obsoleted due to no activity on 2022/09/07 06:28
linux-5.15 WARNING in ext4_da_update_reserve_space 1 54d 54d 0/3 upstream: reported on 2023/04/16 09:32
Last patch testing requests (1)
Created Duration User Patch Repo Result
2023/06/02 03:23 34m tytso@mit.edu patch git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git ext4_for_linus_stable OK log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/05/26 22:30 1h02m bisect fix upstream job log (0) log

Sample crash report:
EXT4-fs warning (device loop4): ext4_da_update_reserve_space:341: ext4_da_update_reserve_space: ino 18, used 1 with only 0 reserved data blocks
------------[ cut here ]------------
WARNING: CPU: 0 PID: 46 at fs/ext4/inode.c:345 ext4_da_update_reserve_space+0x5d3/0x710 fs/ext4/inode.c:341
Modules linked in:
CPU: 0 PID: 46 Comm: kworker/u4:3 Not tainted 6.4.0-rc5-syzkaller-00017-ga27648c74210 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
Workqueue: writeback wb_workfn (flush-7:4)
RIP: 0010:ext4_da_update_reserve_space+0x5d3/0x710 fs/ext4/inode.c:345
Code: 02 00 0f 85 35 01 00 00 48 8b 7d 28 49 c7 c0 c0 10 63 8a 41 56 48 c7 c1 00 fa 62 8a 53 ba 55 01 00 00 4c 89 c6 e8 0d d9 0f 00 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 10 48 c1 ea 03 0f
RSP: 0018:ffffc90000b77330 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: ffff888017a61dc0 RSI: ffffffff823c3608 RDI: 0000000000000005
RBP: ffff888074ed0cb0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000185790 R12: 0000000000000001
R13: ffff888078f1e000 R14: 0000000000000000 R15: ffff888074ed1318
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555609f728 CR3: 00000000281e4000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 ext4_map_blocks+0xc7f/0x18d0 fs/ext4/inode.c:644
 mpage_map_one_extent fs/ext4/inode.c:2183 [inline]
 mpage_map_and_submit_extent fs/ext4/inode.c:2236 [inline]
 ext4_do_writepages+0x1838/0x3290 fs/ext4/inode.c:2703
 ext4_writepages+0x304/0x770 fs/ext4/inode.c:2792
 do_writepages+0x1a8/0x640 mm/page-writeback.c:2551
 __writeback_single_inode+0x121/0xdb0 fs/fs-writeback.c:1603
 writeback_sb_inodes+0x54d/0xe70 fs/fs-writeback.c:1894
 wb_writeback+0x294/0xa50 fs/fs-writeback.c:2068
 wb_do_writeback fs/fs-writeback.c:2211 [inline]
 wb_workfn+0x2a5/0xfc0 fs/fs-writeback.c:2251
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
 kthread+0x344/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Manager Title
2023/06/08 04:13 upstream a27648c74210 7086cdb9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in ext4_da_update_reserve_space
2023/03/23 03:59 upstream fff5a5e7f528 f94b4a29 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in ext4_da_update_reserve_space
2023/03/22 12:16 upstream a1effab7a3a3 8b4eb097 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in ext4_da_update_reserve_space
2023/04/22 14:15 upstream 8e41e0a57566 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_da_update_reserve_space
2023/04/17 04:30 upstream 3e7bb4f24617 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in ext4_da_update_reserve_space
2023/04/17 01:55 upstream 6a8f57ae2eb0 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_da_update_reserve_space
2023/03/27 01:31 upstream 18940c888c85 fbf0499a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_da_update_reserve_space
2023/03/22 23:20 upstream fff5a5e7f528 f94b4a29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_da_update_reserve_space
2023/03/22 10:33 upstream a1effab7a3a3 8b4eb097 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ext4_da_update_reserve_space
* Struck through repros no longer work on HEAD.