syzbot


WARNING in nilfs_sufile_set_segment_usage

Status: upstream: reported C repro on 2022/09/30 22:26
Reported-by: syzbot+14e9f834f6ddecece094@syzkaller.appspotmail.com
First crash: 57d, last: 5d08h

Cause bisection: failed (bisect log)

Sample crash report:
NILFS (loop0): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3606 at fs/nilfs2/sufile.c:531 nilfs_sufile_set_segment_usage+0x518/0x6a0 fs/nilfs2/sufile.c:531
Modules linked in:
CPU: 1 PID: 3606 Comm: segctord Not tainted 6.0.0-syzkaller-09039-ga6afa4199d3d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:nilfs_sufile_set_segment_usage+0x518/0x6a0 fs/nilfs2/sufile.c:531
Code: ea 55 fe 48 8b 6c 24 48 48 85 ed 0f 85 5b ff ff ff e9 63 ff ff ff e8 a7 ea 55 fe e8 3c 48 db fd e9 db fe ff ff e8 98 ea 55 fe <0f> 0b e9 0d fe ff ff e8 1c 00 a3 fe e9 c6 fb ff ff e8 12 00 a3 fe
RSP: 0018:ffffc9000402fa80 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88806fcca160 RCX: 0000000000000000
RDX: ffff888025b01d80 RSI: ffffffff83252c98 RDI: 0000000000000005
RBP: ffff88806f25d050 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
R13: 1ffff92000805f55 R14: ffff88806fcca5e8 R15: 000000006342f4b4
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5f05a221d0 CR3: 000000007ec1c000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 nilfs_segctor_update_segusage fs/nilfs2/segment.c:1441 [inline]
 nilfs_segctor_do_construct+0x1f6e/0x6970 fs/nilfs2/segment.c:2065
 nilfs_segctor_construct+0x8e3/0xb30 fs/nilfs2/segment.c:2375
 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2483 [inline]
 nilfs_segctor_thread+0x3c3/0xfe0 fs/nilfs2/segment.c:2566
 kthread+0x2e4/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (304):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/10/09 16:20 upstream a6afa4199d3d aea5da89 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci-upstream-kasan-gce-root 2022/10/07 07:37 upstream ffb39098bf87 8a212197 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci-upstream-kasan-gce-root 2022/10/05 19:22 upstream 2bca25eaeba6 267e3bb1 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/10/03 23:30 upstream 4fe89d07dcc2 feb56351 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/10/01 21:38 upstream ffb4d94b4314 feb56351 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/09/30 11:16 upstream 987a926c1d8a 45fd7169 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci-upstream-linux-next-kasan-gce-root 2022/11/05 07:00 linux-next 0cdb3579f1ee 6d752409 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci-upstream-linux-next-kasan-gce-root 2022/10/31 23:11 linux-next 4d48f589d294 2a71366b .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci-upstream-linux-next-kasan-gce-root 2022/10/31 09:58 linux-next 4d48f589d294 2a71366b .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci-upstream-gce-arm64 2022/10/01 14:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci-upstream-gce-arm64 2022/09/30 20:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 feb56351 .config log report syz C WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/21 17:24 upstream eb7081409f94 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/20 20:29 upstream 77c51ba552a1 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/20 12:43 upstream fe24a97cf254 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/20 06:45 upstream fe24a97cf254 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/20 04:03 upstream fe24a97cf254 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/20 02:14 upstream fe24a97cf254 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/19 20:00 upstream fe24a97cf254 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/19 17:00 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/19 13:48 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/19 11:16 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/19 01:49 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/18 21:57 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/18 11:19 upstream 84368d882b96 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/17 14:46 upstream cc675d22e422 3a127a31 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/17 02:36 upstream 59d0d52c30d4 3a127a31 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/16 13:40 upstream 81e7cfa3a9eb 3a127a31 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/16 03:19 upstream 81e7cfa3a9eb 3a127a31 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/15 11:07 upstream e01d50cbd6ee 97de9cfc .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/15 08:18 upstream e01d50cbd6ee 97de9cfc .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/15 01:40 upstream e01d50cbd6ee 97de9cfc .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/14 20:57 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/14 15:40 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/14 00:02 upstream af7a05689189 7ba4d859 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/13 13:50 upstream fef7fd48922d f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/13 08:33 upstream fef7fd48922d f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/13 06:25 upstream fef7fd48922d f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-kasan-gce-root 2022/11/12 20:40 upstream 8f2975c2bb4c 3ead01ad .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/12 14:21 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/12 12:29 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/12 11:09 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/11 23:50 upstream eb037f16f7e8 f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/11 21:58 upstream eb037f16f7e8 f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/11 07:21 upstream 4bbf3422df78 f42ee5d8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/11 01:14 upstream 1767a722a708 3ead01ad .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/10 21:50 upstream 1767a722a708 3ead01ad .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-kasan-gce-root 2022/11/10 13:17 upstream f67dd6ce0723 b2488a87 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/10 07:01 upstream f67dd6ce0723 b2488a87 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/10 05:34 upstream f67dd6ce0723 b2488a87 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/09 23:50 upstream f67dd6ce0723 bebca8b7 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/11/09 18:43 upstream f141df371335 bebca8b7 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-kasan-gce-smack-root 2022/11/06 17:33 upstream 2f5065a0bc9d 6d752409 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-kasan-gce-selinux-root 2022/11/01 11:31 upstream b229b6ca5abb a1d8560a .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-qemu-upstream 2022/10/02 13:58 upstream b357fd1c2afc feb56351 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci2-upstream-fs 2022/09/30 10:57 upstream 987a926c1d8a 45fd7169 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-linux-next-kasan-gce-root 2022/11/17 11:07 linux-next 15f3bff12cf6 3a127a31 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-gce-arm64 2022/11/20 13:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-gce-arm64 2022/11/19 04:29 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-gce-arm64 2022/11/18 17:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-gce-arm64 2022/11/16 20:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-gce-arm64 2022/11/14 18:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 943f4cb8 .config log report info WARNING in nilfs_sufile_set_segment_usage
ci-upstream-gce-arm64 2022/11/11 05:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report info WARNING in nilfs_sufile_set_segment_usage
* Struck through repros no longer work on HEAD.