syzbot


KCSAN: data-race in fsnotify_parent / vfs_rename (2)

Status: auto-closed as invalid on 2020/09/08 19:38
Subsystems: fs
[Documentation on labels]
First crash: 1930d, last: 1891d
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in fsnotify_parent / vfs_rename fs 6 6 1939d 2000d 0/29 closed as invalid on 2020/06/18 14:24

Sample crash report:
==================================================================
BUG: KCSAN: data-race in fsnotify_parent / vfs_rename

write to 0xffff8880830d0b40 of 4 bytes by task 28800 on cpu 1:
 dont_mount include/linux/dcache.h:354 [inline]
 vfs_rename+0x976/0xba0 fs/namei.c:4313
 do_renameat2+0x554/0x940 fs/namei.c:4450
 __do_sys_rename fs/namei.c:4496 [inline]
 __se_sys_rename fs/namei.c:4494 [inline]
 __x64_sys_rename+0x3a/0x40 fs/namei.c:4494
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880830d0b40 of 4 bytes by task 1 on cpu 0:
 fsnotify_parent+0x36/0x180 fs/notify/fsnotify.c:153
 fsnotify_file include/linux/fsnotify.h:74 [inline]
 fsnotify_perm+0x1b9/0x250 include/linux/fsnotify.h:103
 security_file_permission+0x87/0xa0 security/security.c:1450
 rw_verify_area+0x12c/0x240 fs/read_write.c:400
 vfs_read+0xf6/0x590 fs/read_write.c:472
 ksys_read+0xce/0x180 fs/read_write.c:607
 __do_sys_read fs/read_write.c:617 [inline]
 __se_sys_read fs/read_write.c:615 [inline]
 __x64_sys_read+0x3e/0x50 fs/read_write.c:615
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1 Comm: systemd Not tainted 5.8.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/04 19:34 upstream c0842fbc1b18 80a06902 .config console log report ci2-upstream-kcsan-gce
2020/08/04 05:10 upstream e4cbce4d1317 96dd3623 .config console log report ci2-upstream-kcsan-gce
2020/08/03 03:13 upstream 142c3326b055 96dd3623 .config console log report ci2-upstream-kcsan-gce
2020/08/02 05:40 upstream d52daa8620c6 8df85ed9 .config console log report ci2-upstream-kcsan-gce
2020/07/01 00:29 upstream 7c30b859a947 c0383ebe .config console log report ci2-upstream-kcsan-gce
2020/06/28 03:55 upstream 916a3b0fc120 a2cdad9d .config console log report ci2-upstream-kcsan-gce
2020/06/27 08:14 upstream 1590a2e1c681 ffec44b5 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.