syzbot


KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
Status: auto-closed as invalid on 2022/02/15 22:40
Reported-by: syzbot+b8120eb8d3bc6e712970@syzkaller.appspotmail.com
First crash: 706d, last: 134d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in shmem_unlink / vfs_getattr_nosec

write to 0xffff888103136cc8 of 8 bytes by task 2131 on cpu 1:
 shmem_unlink+0x117/0x1a0 mm/shmem.c:2932
 shmem_rename2+0x199/0x2d0 mm/shmem.c:3008
 vfs_rename+0x9d9/0xe00 fs/namei.c:4626
 do_renameat2+0x6d7/0xa20 fs/namei.c:4777
 __do_sys_rename fs/namei.c:4823 [inline]
 __se_sys_rename fs/namei.c:4821 [inline]
 __x64_sys_rename+0x58/0x60 fs/namei.c:4821
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888103136cc8 of 8 bytes by task 1910 on cpu 0:
 i_size_read include/linux/fs.h:891 [inline]
 generic_fillattr fs/stat.c:53 [inline]
 vfs_getattr_nosec+0x242/0x2f0 fs/stat.c:126
 vfs_getattr fs/stat.c:160 [inline]
 vfs_statx+0x138/0x2a0 fs/stat.c:225
 vfs_fstatat fs/stat.c:243 [inline]
 __do_sys_newfstatat fs/stat.c:412 [inline]
 __se_sys_newfstatat+0x63/0x260 fs/stat.c:406
 __x64_sys_newfstatat+0x51/0x60 fs/stat.c:406
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000000001ba8 -> 0x0000000000001b94

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

Crashes (915):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/01/11 22:39 upstream 6f38be8f2ccd 44d1319a .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/11 11:59 upstream fe8152b38d3a 1884f55a .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/11 00:57 upstream 133d9c53c9dc ddb0ab8c .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/10 17:35 upstream df0cc57e057f ddb0ab8c .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/10 09:35 upstream df0cc57e057f 2ca0d385 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/09 13:26 upstream 4634129ad9fd 2ca0d385 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/08 20:54 upstream 21f35d2ca83e 2ca0d385 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/08 04:54 upstream d1587f7bfe9a 2ca0d385 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/07 15:45 upstream ddec8ed2d490 2ca0d385 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/07 14:02 upstream ddec8ed2d490 6acc789a .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/07 00:23 upstream b2b436ec0205 6acc789a .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/06 13:35 upstream 75acfdb6fd92 6acc789a .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/05 21:52 upstream 49ef78e59b07 6acc789a .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/05 19:11 upstream c9e6606c7fe9 6acc789a .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/05 00:27 upstream c9e6606c7fe9 0a2584dd .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/04 03:28 upstream c9e6606c7fe9 7f723fbe .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/03 15:19 upstream c9e6606c7fe9 4a3f34f2 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/03 09:22 upstream c9e6606c7fe9 e1768e9c .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/02 17:33 upstream 1286cc4893cf e1768e9c .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/01 23:29 upstream 278218f6778b e1768e9c .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/01 02:16 upstream 800829388818 e1768e9c .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/31 12:00 upstream 4f3d93c6eaff 36bd2e48 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/30 22:39 upstream 9bad743e8d22 36bd2e48 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/30 11:46 upstream eec4df26e24e 2e49f10d .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/30 04:23 upstream eec4df26e24e 6cc879d4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/29 12:55 upstream e7c124bd0463 6cc879d4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/29 11:39 upstream e7c124bd0463 76c8cf06 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/28 21:40 upstream ecf71de775a0 76c8cf06 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/28 19:37 upstream a8ad9a2434dc 76c8cf06 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/28 00:56 upstream a8ad9a2434dc 6b3c5e64 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/27 17:41 upstream a8ad9a2434dc 5140bd58 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/27 12:57 upstream fc74e0a40e4f 5140bd58 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/26 23:21 upstream fc74e0a40e4f e4f103c4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/26 23:19 upstream fc74e0a40e4f e4f103c4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/26 11:16 upstream 438645193e59 e4f103c4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/26 00:30 upstream e2ae0d4a6b0b 6caa12e4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/25 01:21 upstream b927dfc67d05 6caa12e4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/24 09:47 upstream 7a29b11da965 6caa12e4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/23 19:35 upstream 996a18eb796a 6caa12e4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/22 23:25 upstream bc491fb12513 6caa12e4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/22 09:39 upstream 2f47a9a4dfa3 6caa12e4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/21 20:04 upstream 1c3e979bf3e2 6caa12e4 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/21 08:42 upstream 6e0567b73052 a938f0b8 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/20 20:36 upstream 86085fe79e3c 62bd192b .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/20 11:13 upstream a7904a538933 021b36cb .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/19 23:15 upstream a76c3d035872 44068e19 .config log report info KCSAN: data-race in shmem_unlink / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/01/17 02:03 upstream 54c6247d06f1 65a7a854 .config log report info
ci2-upstream-kcsan-gce 2020/07/18 19:37 upstream 6cf7ccba29dc 9c812472 .config log report
ci2-upstream-kcsan-gce 2020/07/15 22:02 upstream e9919e11e219 ada108d0 .config log report
ci2-upstream-kcsan-gce 2020/06/18 16:18 upstream 1b5044021070 3ea11d3f .config log report