syzbot


KCSAN: data-race in generic_fillattr / shmem_mknod (2)
Status: moderation: reported on 2022/03/11 17:31
Reported-by: syzbot+84b1b4b190aa2c4bc25a@syzkaller.appspotmail.com
First crash: 135d, last: 10h52m
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in generic_fillattr / shmem_mknod 86 710d 822d 0/22 auto-closed as invalid on 2020/07/21 10:58

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

read-write to 0xffff888103ad8448 of 8 bytes by task 3356 on cpu 1:
 shmem_mknod+0xd1/0x160 mm/shmem.c:2823
 shmem_create+0x2f/0x40 mm/shmem.c:2874
 lookup_open fs/namei.c:3331 [inline]
 open_last_lookups fs/namei.c:3401 [inline]
 path_openat+0xc50/0x1b30 fs/namei.c:3607
 do_filp_open+0x105/0x220 fs/namei.c:3637
 do_sys_openat2+0xb5/0x2a0 fs/open.c:1254
 do_sys_open fs/open.c:1270 [inline]
 __do_sys_openat fs/open.c:1286 [inline]
 __se_sys_openat fs/open.c:1281 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1281
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

read to 0xffff888103ad8448 of 8 bytes by task 2144 on cpu 0:
 i_size_read include/linux/fs.h:849 [inline]
 generic_fillattr+0x203/0x2b0 fs/stat.c:53
 shmem_getattr+0x22c/0x2c0 mm/shmem.c:1061
 vfs_getattr_nosec fs/stat.c:123 [inline]
 vfs_getattr fs/stat.c:160 [inline]
 vfs_statx+0x26e/0x3d0 fs/stat.c:232
 vfs_fstatat fs/stat.c:255 [inline]
 __do_sys_newfstatat fs/stat.c:425 [inline]
 __se_sys_newfstatat+0x8a/0x290 fs/stat.c:419
 __x64_sys_newfstatat+0x51/0x60 fs/stat.c:419
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

value changed: 0x0000000000001770 -> 0x0000000000001784

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

Crashes (150):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/27 08:27 upstream 7e284070abe5 116e7a7b .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/26 20:29 upstream 16477cdfefdb 3037caa9 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/26 06:18 upstream d7227785e384 3037caa9 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/25 12:15 upstream fdaf9a5840ac 647c0e27 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/24 23:54 upstream 0350785b0a09 647c0e27 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/23 23:47 upstream 140e40e39a29 e7f9308d .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/22 23:28 upstream 978df3e15846 7268fa62 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/22 08:19 upstream eaea45fc0e7b 7268fa62 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/21 17:54 upstream 6c3f5bec9b40 7268fa62 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/20 14:36 upstream 3d7285a335ed cb1ac2e7 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/20 04:19 upstream b015dcd62b86 cb1ac2e7 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/19 13:58 upstream f993aed406ea cb1ac2e7 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/19 08:12 upstream f993aed406ea 50c53f39 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/18 14:07 upstream 210e04ff7681 50c53f39 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/16 03:43 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/13 22:43 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/12 13:21 upstream feb9c5e19e91 9ad6612a .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/09 09:33 upstream c5eb0a61238d 8b277b8e .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/09 07:06 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/09 06:02 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/09 03:28 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/08 19:44 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/08 14:26 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/08 10:45 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/08 08:59 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/08 06:46 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/08 04:45 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/08 01:01 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/07 19:28 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/07 17:42 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/07 16:10 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/07 11:40 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/07 09:54 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/07 08:00 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/07 04:59 upstream 4b97bac0756a e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/06 21:40 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/06 19:55 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/06 18:33 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/06 17:03 upstream fe27d189e3f4 e60b1103 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/06 04:19 upstream fe27d189e3f4 efeff0a5 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/06 00:12 upstream 0f5d752b1395 efeff0a5 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/05 19:11 upstream 0f5d752b1395 b3f09415 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/04 21:23 upstream a7391ad35724 dc9e5259 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/04 18:06 upstream 107c948d1d3e dc9e5259 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/04 08:53 upstream 107c948d1d3e dc9e5259 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/03 18:09 upstream ef8e4d3c2ab1 dc9e5259 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/03 16:32 upstream 9050ba3a61a4 dc9e5259 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/03 04:37 upstream 9050ba3a61a4 2df221f6 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/03 01:43 upstream 9050ba3a61a4 2df221f6 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/02 09:08 upstream 672c0c517342 2df221f6 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/05/01 17:35 upstream b2da7df52e16 2df221f6 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/03/11 07:22 upstream 79b00034e9dc 9e8eaa75 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/01/12 12:19 upstream daadb3bd0e8d 44d1319a .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod