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: 259d, last: 16h33m
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 834d 946d 0/24 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 0xffff888103ba69c8 of 8 bytes by task 3118 on cpu 1:
 shmem_mknod+0xd1/0x160 mm/shmem.c:2902
 shmem_create+0x2f/0x40 mm/shmem.c:2953
 lookup_open fs/namei.c:3413 [inline]
 open_last_lookups fs/namei.c:3481 [inline]
 path_openat+0xc5a/0x1b00 fs/namei.c:3688
 do_filp_open+0x105/0x220 fs/namei.c:3718
 do_sys_openat2+0xb5/0x2a0 fs/open.c:1313
 do_sys_open fs/open.c:1329 [inline]
 __do_sys_openat fs/open.c:1345 [inline]
 __se_sys_openat fs/open.c:1340 [inline]
 __x64_sys_openat+0xef/0x110 fs/open.c:1340
 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+0x63/0xcd

read to 0xffff888103ba69c8 of 8 bytes by task 3120 on cpu 0:
 i_size_read include/linux/fs.h:864 [inline]
 generic_fillattr+0x203/0x2b0 fs/stat.c:53
 shmem_getattr+0x310/0x3a0 mm/shmem.c:1070
 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+0x63/0xcd

value changed: 0x0000000000001608 -> 0x000000000000161c

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3120 Comm: udevd Not tainted 6.0.0-rc7-syzkaller-00042-g46452d3786a8-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (258):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/09/28 00:05 upstream 46452d3786a8 75c78242 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/27 04:51 upstream 3800a713b607 10323ddf .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/26 09:14 upstream f76349cf4145 d59ba983 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/25 05:01 upstream 1a61b828566f 0042f2b4 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/24 11:26 upstream a63f2e7cb110 0042f2b4 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/22 18:03 upstream dc164f4fb00a 0042f2b4 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/22 13:55 upstream dc164f4fb00a 60af5050 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/21 17:22 upstream 06f7db949993 380f82fb .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/20 16:30 upstream 521a547ced64 c4b8ccfd .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/19 14:21 upstream 521a547ced64 dd9a85ff .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/18 18:09 upstream 38eddeedbbea dd9a85ff .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/17 05:44 upstream a335366bad13 dd9a85ff .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/14 13:56 upstream 3245cb65fd91 b884348d .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/13 21:11 upstream d1221cea11fc b884348d .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/13 13:46 upstream d1221cea11fc a08652b0 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/13 10:06 upstream e839a756012b a08652b0 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/12 10:08 upstream 80e78fcce86d 356d8217 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/11 20:47 upstream 4ed9c1e971b1 356d8217 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/09 05:42 upstream 506357871c18 f3027468 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/08 12:09 upstream 0066f1b0e275 f3027468 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/08 03:14 upstream 0066f1b0e275 435aeef7 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/07 00:14 upstream d2ec799d1c1b 5fc30c37 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/04 11:45 upstream 7726d4c3e60b 28811d0a .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/03 15:04 upstream d895ec7938c4 28811d0a .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/02 14:36 upstream 42e66b1cc3a0 25194605 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/02 03:11 upstream 42e66b1cc3a0 a805568e .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/09/01 18:33 upstream 2880e1a175b9 86c46e46 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/31 18:08 upstream c5e4d5e99162 51e54e30 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/30 04:49 upstream dcf8e5633e2e 4a380809 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/29 15:22 upstream b90cb1053190 d7593c58 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/26 13:45 upstream 4c612826bec1 e5a303f1 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/23 21:40 upstream df0219d11b6f cea8b0f7 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/23 02:17 upstream 072e51356cd5 26a13b38 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/22 10:22 upstream 1c23f9e627a7 26a13b38 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/21 22:10 upstream e3f259d33c0e 26a13b38 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/18 20:50 upstream 573ae4f13f63 26a13b38 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/17 08:37 upstream 7ebfc85e2cd7 4e72d229 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/16 20:34 upstream 7ebfc85e2cd7 9e4b39c2 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/16 00:26 upstream 7ebfc85e2cd7 7a7cb304 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/12 13:26 upstream 7ebfc85e2cd7 402cd70d .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/11 22:20 upstream 2ae08b36c06e 21724cb2 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/10 14:07 upstream d4252071b97d aaa9eaa0 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/09 16:02 upstream eb555cb5b794 c2a623d6 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/08 18:43 upstream 3466f49dd0dd da700653 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/08 17:16 upstream 4e23eeebb2e5 da700653 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/07 18:34 upstream 3bc1bc0b59d0 88e3a122 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/05 22:04 upstream 9e2f40233670 e853abd9 .config log report info KCSAN: data-race in generic_fillattr / shmem_mknod
ci2-upstream-kcsan-gce 2022/08/05 04:41 upstream c040862bfbd9 1c9013ac .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
* Struck through repros no longer work on HEAD.