syzbot


WARNING in nilfs_dat_commit_end

Status: upstream: reported C repro on 2023/03/19 21:57
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+360baff8facad197fe86@syzkaller.appspotmail.com
First crash: 486d, last: 5h02m
Fix commit to backport (bisect log) :
tree: upstream
commit 28a65b49eb53e172d23567005465019658bfdb4d
Author: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Date: Thu Apr 27 01:15:26 2023 +0000

  nilfs2: do not write dirty data after degenerating to read-only

[report pending]
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/12 linux-6.1.y (ToT) bf4ad6fa4e53 C [report] WARNING in nilfs_dat_commit_end
2023/05/12 upstream (ToT) 47a2ee5d4a0b C Didn't crash
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in nilfs_dat_commit_end nilfs C error 267 500d 656d 22/27 fixed on 2023/06/08 14:41
linux-5.15 WARNING in nilfs_dat_commit_end origin:lts-only C done 2143 3h34m 486d 0/3 upstream: reported C repro on 2023/03/19 13:38
linux-4.19 WARNING in nilfs_dat_commit_end C error 4 504d 656d 0/1 upstream: reported C repro on 2022/09/30 13:59
linux-4.14 WARNING in nilfs_dat_commit_end nilfs2 C 6 504d 655d 0/1 upstream: reported C repro on 2022/10/01 18:00
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/08/31 23:19 4h38m fix candidate upstream OK (1) job log

Sample crash report:
NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3542 at fs/nilfs2/dat.c:193 nilfs_dat_commit_end+0x59c/0x6a0
Modules linked in:
CPU: 1 PID: 3542 Comm: segctord Not tainted 6.1.66-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:nilfs_dat_commit_end+0x59c/0x6a0 fs/nilfs2/dat.c:193
Code: 48 89 ee 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d e9 a8 80 03 00 e8 d3 d5 3d fe e8 3e d1 b3 fd e9 d8 fc ff ff e8 c4 d5 3d fe <0f> 0b e9 39 fc ff ff e8 b8 d5 3d fe e8 23 d1 b3 fd 43 80 7c 35 00
RSP: 0018:ffffc90003b1f288 EFLAGS: 00010293
RAX: ffffffff834cbc5c RBX: ffff888078d2d1a0 RCX: ffff8880192fd940
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000009
RBP: 0000000000000003 R08: ffffffff834cb88e R09: ffffed10043dbe1b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888078ffaa40
R13: 1ffff92000763e73 R14: 0000000000000009 R15: ffff8880192ff0b0
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0930ad3130 CR3: 000000007cacd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_dat_commit_update+0x25/0x40 fs/nilfs2/dat.c:243
 nilfs_direct_propagate+0x23c/0x3b0 fs/nilfs2/direct.c:277
 nilfs_bmap_propagate+0x6d/0x120 fs/nilfs2/bmap.c:345
 nilfs_collect_file_data+0x49/0xc0 fs/nilfs2/segment.c:587
 nilfs_segctor_apply_buffers+0x180/0x330 fs/nilfs2/segment.c:1047
 nilfs_segctor_scan_file+0x82d/0xad0 fs/nilfs2/segment.c:1096
 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1205 [inline]
 nilfs_segctor_collect fs/nilfs2/segment.c:1532 [inline]
 nilfs_segctor_do_construct+0x1c1b/0x6dd0 fs/nilfs2/segment.c:2080
 nilfs_segctor_construct+0x145/0x8c0 fs/nilfs2/segment.c:2414
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2522 [inline]
 nilfs_segctor_thread+0x536/0x1130 fs/nilfs2/segment.c:2605
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (2472):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/10 22:30 linux-6.1.y 6c6a6c7e211c 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2023/09/01 13:14 linux-6.1.y a2943d2d9a00 696ea0d2 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2023/03/23 17:02 linux-6.1.y e3a87a10f259 f94b4a29 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/04/09 07:52 linux-6.1.y 347385861c50 f3234354 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/03/18 00:45 linux-6.1.y d7543167affd d615901c .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2023/12/10 22:20 linux-6.1.y 6c6a6c7e211c 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2023/05/22 02:57 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2023/05/22 02:40 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/18 03:12 linux-6.1.y cac15753b8ce 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/17 10:28 linux-6.1.y cac15753b8ce 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/17 03:19 linux-6.1.y cac15753b8ce 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/17 03:18 linux-6.1.y cac15753b8ce 215bec2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/16 23:52 linux-6.1.y cac15753b8ce b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/16 17:05 linux-6.1.y cac15753b8ce b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/16 09:23 linux-6.1.y cac15753b8ce e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/16 08:12 linux-6.1.y cac15753b8ce e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/16 07:55 linux-6.1.y cac15753b8ce e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/16 05:15 linux-6.1.y cac15753b8ce e8709b21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/15 10:39 linux-6.1.y cac15753b8ce c605e6a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/13 15:28 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/13 14:26 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/13 09:51 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/13 07:47 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/13 05:56 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/11 22:56 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/11 22:56 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/11 07:32 linux-6.1.y 7753af06eebf c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/11 04:13 linux-6.1.y 7753af06eebf 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/11 00:18 linux-6.1.y 7753af06eebf 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/10 07:40 linux-6.1.y 7753af06eebf bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/10 07:40 linux-6.1.y 7753af06eebf bc144f9a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/09 23:01 linux-6.1.y 7753af06eebf 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/09 06:25 linux-6.1.y 7753af06eebf bc23a442 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/08 15:22 linux-6.1.y 7753af06eebf cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/07 18:41 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/07 15:33 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/07 14:29 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/07 06:36 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/06 22:08 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/06 12:00 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/05 14:49 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/07/14 06:38 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/14 02:57 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/14 01:14 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/07 10:31 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/06 20:03 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/05 22:14 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/05 22:14 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/05 19:20 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/05 16:41 linux-6.1.y 7753af06eebf 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/04 17:06 linux-6.1.y 99e6a620de00 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/04 17:05 linux-6.1.y 99e6a620de00 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/07/04 16:02 linux-6.1.y 99e6a620de00 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2023/03/19 21:56 linux-6.1.y 7eaef76fbc46 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
* Struck through repros no longer work on HEAD.