syzbot


WARNING in nilfs_sufile_set_segment_usage

Status: fixed on 2024/01/20 21:18
Subsystems: nilfs
[Documentation on labels]
Reported-by: syzbot+14e9f834f6ddecece094@syzkaller.appspotmail.com
Fix commit: 675abf8df135 nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
First crash: 521d, last: 102d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in account_page_dirtied (log)
Repro: C syz .config
  
Discussions (10)
Title Replies (including bot) Last reply
[PATCH] nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage() 1 (1) 2023/12/05 08:59
[syzbot] Monthly nilfs report (Dec 2023) 0 (1) 2023/12/02 14:45
[syzbot] Monthly nilfs report (Oct 2023) 0 (1) 2023/11/01 10:11
[syzbot] Monthly nilfs report (Sep 2023) 0 (1) 2023/10/02 09:42
[syzbot] Monthly nilfs report (Aug 2023) 0 (1) 2023/08/30 09:54
[syzbot] Monthly nilfs report (Jun 2023) 0 (1) 2023/06/29 08:55
[syzbot] Monthly nilfs report (May 2023) 0 (1) 2023/05/29 08:50
[syzbot] Monthly nilfs report (Apr 2023) 0 (1) 2023/04/27 10:39
[syzbot] Monthly nilfs report 0 (1) 2023/03/27 11:03
[syzbot] WARNING in nilfs_sufile_set_segment_usage 0 (1) 2022/09/30 22:26
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in nilfs_sufile_set_segment_usage C 1 368d 368d 0/1 upstream: reported C repro on 2023/03/02 13:59
linux-5.15 WARNING in nilfs_sufile_set_segment_usage C error 2 252d 357d 0/3 auto-obsoleted due to no activity on 2023/12/21 09:47
linux-6.1 WARNING in nilfs_sufile_set_segment_usage origin:upstream C done 4 111d 357d 3/3 fixed on 2023/12/18 16:47
Last patch testing requests (9)
Created Duration User Patch Repo Result
2023/10/12 16:28 26m retest repro upstream report log
2023/10/12 16:28 21m retest repro upstream report log
2023/10/12 16:28 13m retest repro upstream report log
2023/10/12 16:28 13m retest repro upstream report log
2023/09/10 07:35 13m retest repro upstream report log
2023/09/10 07:35 10m retest repro upstream report log
2023/09/10 07:35 14m retest repro upstream report log
2023/09/10 07:35 13m retest repro upstream report log
2023/09/10 07:35 10m retest repro upstream report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/08/19 05:35 1h56m bisect fix upstream job log (0) log
marked invalid by web-security-scanner@google.com
2023/01/28 14:22 43m bisect fix upstream job log (0) log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/10/02 13:10 7h55m bisect linux-next job log (0) log
2022/09/30 19:18 8h13m bisect upstream error job log (0)
marked invalid by nogikh@google.com

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5064 at fs/nilfs2/sufile.c:539 nilfs_sufile_set_segment_usage+0x47c/0x590 fs/nilfs2/sufile.c:539
Modules linked in:
CPU: 0 PID: 5064 Comm: segctord Not tainted 6.6.0-syzkaller-16039-gac347a0655db #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:nilfs_sufile_set_segment_usage+0x47c/0x590 fs/nilfs2/sufile.c:539
Code: e8 49 a7 9c fe f0 80 8b b0 fe ff ff 02 e8 dc 6e 46 fe 4c 8b 6c 24 40 4d 85 ed 0f 85 63 ff ff ff e9 6b ff ff ff e8 c4 6e 46 fe <0f> 0b e9 18 fe ff ff e8 b8 6e 46 fe e8 c3 55 bf fd e9 d9 fe ff ff
RSP: 0018:ffffc900033ef968 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888076af4218 RCX: ffffffff83412a3f
RDX: ffff88801ff2a100 RSI: ffffffff83412c2c RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000000 R12: 1ffff9200067df31
R13: ffff888020ab6060 R14: 00000000654f4499 R15: ffff888076af46a0
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff6fc82d78 CR3: 000000007b360000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_segctor_update_segusage fs/nilfs2/segment.c:1477 [inline]
 nilfs_segctor_do_construct+0x1d94/0x8bf0 fs/nilfs2/segment.c:2107
 nilfs_segctor_construct+0x924/0xb50 fs/nilfs2/segment.c:2415
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2523 [inline]
 nilfs_segctor_thread+0x38f/0xe90 fs/nilfs2/segment.c:2606
 kthread+0x33c/0x440 kernel/kthread.c:388
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>

Crashes (341):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/11 09:08 upstream ac347a0655db 6d6dbf8a .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in nilfs_sufile_set_segment_usage
2023/05/24 10:33 upstream 27e462c8fad4 4bce1a3e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2023/03/13 15:14 upstream eeac8ede1755 026e2200 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/01 14:11 upstream c0927a7a5391 ef65e6cb .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/10/09 16:20 upstream a6afa4199d3d aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2022/10/07 07:37 upstream ffb39098bf87 8a212197 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2022/10/05 19:22 upstream 2bca25eaeba6 267e3bb1 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2022/10/03 23:30 upstream 4fe89d07dcc2 feb56351 .config strace log report syz C [disk image] [vmlinux] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/10/01 21:38 upstream ffb4d94b4314 feb56351 .config strace log report syz C [disk image] [vmlinux] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/09/30 11:16 upstream 987a926c1d8a 45fd7169 .config strace log report syz C [disk image] [vmlinux] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/08/25 20:18 upstream 4f9e7fabf864 03d9c195 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in nilfs_sufile_set_segment_usage
2023/08/19 11:36 upstream d4ddefee5160 d216d8a0 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in nilfs_sufile_set_segment_usage
2023/05/31 21:21 upstream 48b1320a674e e2a77acd .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2023/07/02 12:34 linux-next 6352a698ca5b bfc47836 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2023/06/09 13:56 linux-next 715abedee4cd 7086cdb9 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2022/11/05 07:00 linux-next 0cdb3579f1ee 6d752409 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2022/10/31 23:11 linux-next 4d48f589d294 2a71366b .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2022/10/31 09:58 linux-next 4d48f589d294 2a71366b .config strace log report syz C [disk image] [vmlinux] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2023/03/13 00:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e 5205ef30 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2022/10/01 14:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config console log report syz C [disk image] [vmlinux] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2022/09/30 20:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config console log report syz C [disk image] [vmlinux] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2023/10/27 23:15 upstream 750b95887e56 bf285f0c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in nilfs_sufile_set_segment_usage
2023/10/16 07:47 upstream fbe1bf1e5ff1 f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/09/23 18:20 upstream d90b0276af8f 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in nilfs_sufile_set_segment_usage
2023/09/16 21:19 upstream 57d88e8a5974 0b6a67ac .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in nilfs_sufile_set_segment_usage
2023/08/27 05:57 upstream 3b35375f19fe 7ba13a15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/06/17 06:50 upstream 1639fae5132b f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/06/07 19:02 upstream a27648c74210 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/04/23 00:12 upstream 2caeeb9d4a1b 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2023/04/15 20:39 upstream 7a934f4bd7d6 ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/04/03 12:30 upstream 7e364e56293b 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/29 08:37 upstream fcd476ea6a88 fc067f05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/19 05:47 upstream 534293368afa 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/14 15:59 upstream fc89d7fb499b 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/14 08:20 upstream fc89d7fb499b 026e2200 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/06 04:31 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/05 13:19 upstream b01fe98d34f3 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/01 13:50 upstream c0927a7a5391 ef65e6cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/02/27 15:39 upstream f3a2439f20d9 95aee97a .config console log report info ci-qemu-upstream WARNING in nilfs_sufile_set_segment_usage
2022/11/21 17:24 upstream eb7081409f94 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/20 20:29 upstream 77c51ba552a1 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/20 12:43 upstream fe24a97cf254 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/20 06:45 upstream fe24a97cf254 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/20 04:03 upstream fe24a97cf254 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/20 02:14 upstream fe24a97cf254 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/19 20:00 upstream fe24a97cf254 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/19 17:00 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/19 13:48 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/19 11:16 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/19 01:49 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/18 21:57 upstream ab290eaddc4c 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/18 11:19 upstream 84368d882b96 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/17 14:46 upstream cc675d22e422 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/17 02:36 upstream 59d0d52c30d4 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/11/16 13:40 upstream 81e7cfa3a9eb 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2022/09/30 10:57 upstream 987a926c1d8a 45fd7169 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in nilfs_sufile_set_segment_usage
2023/03/18 15:35 upstream 478a351ce0d6 7939252e .config console log report info ci-qemu-upstream-386 WARNING in nilfs_sufile_set_segment_usage
2023/11/23 02:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c 03e12510 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2023/11/09 00:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c df3908d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2023/11/03 20:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c c4ac074c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2023/09/28 12:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bf6547d8715b c2ab1e5d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2023/04/14 11:12 linux-next e3342532ecd3 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2022/11/17 11:07 linux-next 15f3bff12cf6 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in nilfs_sufile_set_segment_usage
2023/05/21 06:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f1fcbaa18b28 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2023/05/09 05:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a f4168103 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2022/11/20 13:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2022/11/19 04:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2022/11/18 17:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
2022/11/16 20:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in nilfs_sufile_set_segment_usage
* Struck through repros no longer work on HEAD.