syzbot


KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
Status: auto-closed as invalid on 2022/02/15 23:35
Reported-by: syzbot+7a06fc3f1c23166f7c87@syzkaller.appspotmail.com
First crash: 708d, last: 135d

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

write to 0xffff8881041ca9f8 of 8 bytes by task 3049 on cpu 1:
 shmem_mknod+0xdc/0x170 mm/shmem.c:2840
 shmem_create+0x2f/0x40 mm/shmem.c:2891
 lookup_open fs/namei.c:3280 [inline]
 open_last_lookups fs/namei.c:3350 [inline]
 path_openat+0xd2c/0x1eb0 fs/namei.c:3556
 do_filp_open+0x105/0x220 fs/namei.c:3586
 do_sys_openat2+0xb5/0x2b0 fs/open.c:1212
 do_sys_open fs/open.c:1228 [inline]
 __do_sys_openat fs/open.c:1244 [inline]
 __se_sys_openat fs/open.c:1239 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1239
 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 0xffff8881041ca9f8 of 8 bytes by task 3051 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: 0x00000000000017c0 -> 0x00000000000017d4

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

Crashes (940):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/01/11 23:34 upstream 6f38be8f2ccd 44d1319a .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/11 10:34 upstream fe8152b38d3a 1884f55a .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/10 19:29 upstream 133d9c53c9dc ddb0ab8c .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/10 03:41 upstream df0cc57e057f 2ca0d385 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/09 10:12 upstream 4634129ad9fd 2ca0d385 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/08 20:55 upstream 21f35d2ca83e 2ca0d385 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/08 05:17 upstream d1587f7bfe9a 2ca0d385 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/07 14:44 upstream ddec8ed2d490 2ca0d385 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/07 13:33 upstream ddec8ed2d490 6acc789a .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/07 04:36 upstream b2b436ec0205 6acc789a .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/06 10:34 upstream 75acfdb6fd92 6acc789a .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/05 22:42 upstream 49ef78e59b07 6acc789a .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/05 19:40 upstream c9e6606c7fe9 6acc789a .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/04 23:18 upstream c9e6606c7fe9 0a2584dd .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/04 07:29 upstream c9e6606c7fe9 7f723fbe .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/03 15:10 upstream c9e6606c7fe9 4a3f34f2 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/03 13:39 upstream c9e6606c7fe9 e1768e9c .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/02 17:34 upstream 1286cc4893cf e1768e9c .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/01 22:10 upstream 278218f6778b e1768e9c .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2022/01/01 04:51 upstream 800829388818 e1768e9c .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/31 12:15 upstream 4f3d93c6eaff 36bd2e48 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/30 23:44 upstream 9bad743e8d22 36bd2e48 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/30 20:26 upstream 9bad743e8d22 2e49f10d .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/30 10:05 upstream eec4df26e24e 2e49f10d .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/30 04:08 upstream eec4df26e24e 6cc879d4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/29 14:16 upstream e7c124bd0463 6cc879d4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/29 09:51 upstream e7c124bd0463 76c8cf06 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/28 20:42 upstream ecf71de775a0 76c8cf06 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/28 17:31 upstream a8ad9a2434dc 76c8cf06 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/28 04:10 upstream a8ad9a2434dc 6b3c5e64 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/27 18:40 upstream a8ad9a2434dc 5140bd58 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/27 14:19 upstream fc74e0a40e4f 5140bd58 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/26 23:33 upstream fc74e0a40e4f e4f103c4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/26 13:10 upstream 438645193e59 e4f103c4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/25 23:11 upstream e2ae0d4a6b0b 6caa12e4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/24 23:43 upstream b927dfc67d05 6caa12e4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/24 09:48 upstream 7a29b11da965 6caa12e4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/23 18:35 upstream 996a18eb796a 6caa12e4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/23 00:38 upstream bc491fb12513 6caa12e4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/22 11:00 upstream 2f47a9a4dfa3 6caa12e4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/21 20:36 upstream 1c3e979bf3e2 6caa12e4 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/21 08:40 upstream 6e0567b73052 a938f0b8 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/20 20:48 upstream 86085fe79e3c 62bd192b .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/20 08:36 upstream a7904a538933 021b36cb .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/19 21:12 upstream a76c3d035872 44068e19 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/19 05:34 upstream 3f667b5d4053 44068e19 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/18 06:52 upstream 9eaa88c7036e 44068e19 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/17 14:59 upstream 6441998e2e37 44068e19 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/17 02:41 upstream fa36bbe6d43f 44068e19 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/16 19:33 upstream fa36bbe6d43f 8dd6a5e3 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/12/16 14:58 upstream 2b14864acbaa 8dd6a5e3 .config log report info KCSAN: data-race in shmem_mknod / vfs_getattr_nosec
ci2-upstream-kcsan-gce 2021/01/17 14:20 upstream 0da0a8a0a0e1 813be542 .config log report info
ci2-upstream-kcsan-gce 2020/08/01 04:31 upstream 7dc6fd0f3b84 8df85ed9 .config log report
ci2-upstream-kcsan-gce 2020/07/29 14:09 upstream 6ba1b005ffc3 19a8de55 .config log report
ci2-upstream-kcsan-gce 2020/06/18 15:50 upstream 1b5044021070 3ea11d3f .config log report