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: 432d, last: 5h26m
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 446d 602d 22/26 fixed on 2023/06/08 14:41
linux-5.15 WARNING in nilfs_dat_commit_end origin:lts-only C done 1523 7h19m 432d 0/3 upstream: reported C repro on 2023/03/19 13:38
linux-4.19 WARNING in nilfs_dat_commit_end C error 4 450d 602d 0/1 upstream: reported C repro on 2022/09/30 13:59
linux-4.14 WARNING in nilfs_dat_commit_end nilfs2 C 6 450d 601d 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 job log (1)

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 (1407):
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/05/25 03:19 linux-6.1.y 4078fa637fcd a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/25 02:15 linux-6.1.y 4078fa637fcd a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/24 12:34 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/24 12:26 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/23 19:42 linux-6.1.y 4078fa637fcd 4c2072ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/23 17:11 linux-6.1.y 4078fa637fcd 4c2072ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/23 03:15 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/23 01:03 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/23 00:15 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/22 09:29 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/22 07:09 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/22 06:01 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/21 19:51 linux-6.1.y 4078fa637fcd 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/21 18:53 linux-6.1.y 4078fa637fcd 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/21 16:25 linux-6.1.y 4078fa637fcd 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/21 01:41 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/20 17:20 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/20 12:20 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/20 02:15 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/20 00:01 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/19 22:59 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/19 20:19 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/19 18:20 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/19 17:00 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/19 16:38 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/19 01:46 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/18 20:29 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/18 18:19 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/18 16:00 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/18 14:33 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/18 10:20 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/18 08:12 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/17 23:07 linux-6.1.y 4078fa637fcd a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in nilfs_dat_commit_end
2024/05/24 06:36 linux-6.1.y 4078fa637fcd 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/22 03:36 linux-6.1.y 4078fa637fcd 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/21 14:49 linux-6.1.y 4078fa637fcd 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/20 23:50 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/20 16:12 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/20 16:09 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/19 06:47 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/19 04:02 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/19 04:00 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/19 00:20 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/18 17:55 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in nilfs_dat_commit_end
2024/05/18 09:52 linux-6.1.y 4078fa637fcd c0f1611a .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.