syzbot


KCSAN: data-race in nilfs_attach_log_writer / nilfs_segctor_thread (3)

Status: auto-closed as invalid on 2021/04/27 09:37
Subsystems: nilfs
[Documentation on labels]
First crash: 1612d, last: 1612d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in nilfs_attach_log_writer / nilfs_segctor_thread (2) nilfs 6 2 1648d 1655d 0/29 auto-closed as invalid on 2021/03/22 01:37
upstream KCSAN: data-race in nilfs_attach_log_writer / nilfs_segctor_thread nilfs 6 7 1699d 1718d 0/29 auto-closed as invalid on 2021/01/30 16:17

Sample crash report:
NILFS (loop4): recovery complete
==================================================================
BUG: KCSAN: data-race in nilfs_attach_log_writer / nilfs_segctor_thread

write to 0xffff88810a7407e8 of 8 bytes by task 28330 on cpu 0:
 nilfs_segctor_thread+0x7a/0x710 fs/nilfs2/segment.c:2541
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff88810a7407e8 of 8 bytes by task 28321 on cpu 1:
 nilfs_segctor_start_thread fs/nilfs2/segment.c:2623 [inline]
 nilfs_attach_log_writer+0x4b8/0x560 fs/nilfs2/segment.c:2785
 nilfs_fill_super fs/nilfs2/super.c:1072 [inline]
 nilfs_mount+0x8e5/0xaa0 fs/nilfs2/super.c:1316
 legacy_get_tree+0x70/0xc0 fs/fs_context.c:592
 vfs_get_tree+0x4a/0x1a0 fs/super.c:1497
 do_new_mount fs/namespace.c:2903 [inline]
 path_mount+0x11b9/0x1c00 fs/namespace.c:3233
 do_mount fs/namespace.c:3246 [inline]
 __do_sys_mount fs/namespace.c:3454 [inline]
 __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3431
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3431
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 28321 Comm: syz-executor.4 Tainted: G        W         5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/23 09:36 upstream 84196390620a 8092f30d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in nilfs_attach_log_writer / nilfs_segctor_thread
* Struck through repros no longer work on HEAD.