syzbot


KCSAN: data-race in dont_mount / step_into
Status: moderation: reported on 2022/05/07 00:44
Reported-by: syzbot+7ab22e852c066cf2af27@syzkaller.appspotmail.com
First crash: 50d, last: 10h25m

Sample crash report:
==================================================================
BUG: KCSAN: data-race in dont_mount / step_into

read-write to 0xffff888124f62a80 of 4 bytes by task 1915 on cpu 1:
 dont_mount+0x27/0x40 include/linux/dcache.h:348
 vfs_unlink+0x267/0x3d0 fs/namei.c:4151
 do_unlinkat+0x258/0x510 fs/namei.c:4217
 __do_sys_unlink fs/namei.c:4265 [inline]
 __se_sys_unlink fs/namei.c:4263 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4263
 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 0xffff888124f62a80 of 4 bytes by task 1445 on cpu 0:
 __d_entry_type include/linux/dcache.h:385 [inline]
 d_is_symlink include/linux/dcache.h:415 [inline]
 step_into+0x12b/0x760 fs/namei.c:1855
 walk_component+0x19a/0x280 fs/namei.c:2027
 lookup_last fs/namei.c:2476 [inline]
 path_lookupat+0x11d/0x2b0 fs/namei.c:2500
 filename_lookup+0x130/0x310 fs/namei.c:2529
 user_path_at_empty+0x3e/0x110 fs/namei.c:2852
 do_readlinkat+0x98/0x210 fs/stat.c:456
 __do_sys_readlink fs/stat.c:489 [inline]
 __se_sys_readlink fs/stat.c:486 [inline]
 __x64_sys_readlink+0x43/0x50 fs/stat.c:486
 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: 0x00600008 -> 0x00008008

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

Crashes (111):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/27 08:38 upstream 7e284070abe5 116e7a7b .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/26 21:42 upstream 16477cdfefdb 3037caa9 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/25 15:23 upstream fdaf9a5840ac 3037caa9 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/25 12:04 upstream fdaf9a5840ac 647c0e27 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/24 22:31 upstream 0350785b0a09 647c0e27 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/23 23:32 upstream 140e40e39a29 e7f9308d .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/23 11:28 upstream 4b0986a3613c 4c7657cb .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/23 09:21 upstream 4b0986a3613c 7268fa62 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/22 06:49 upstream eaea45fc0e7b 7268fa62 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/20 19:20 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/20 14:45 upstream 3d7285a335ed cb1ac2e7 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/19 07:38 upstream f993aed406ea 50c53f39 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/18 15:24 upstream 210e04ff7681 50c53f39 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/18 02:52 upstream 210e04ff7681 744a39e2 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/16 04:51 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/15 14:13 upstream bc403203d65a 744a39e2 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/15 01:19 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/14 11:07 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/13 21:56 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/13 10:00 upstream f3f19f939c11 7ce5a022 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/13 08:52 upstream f3f19f939c11 9ad6612a .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/13 00:08 upstream 0ac824f379fb 9ad6612a .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/12 13:44 upstream feb9c5e19e91 9ad6612a .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/11 18:44 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/10 23:39 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/09 06:25 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/09 04:19 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/09 02:00 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/09 01:21 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 23:53 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 21:04 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 16:38 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 15:11 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 13:53 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 12:33 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 06:53 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 04:28 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 02:38 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 01:32 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/08 00:23 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/07 20:49 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/07 19:20 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/06 23:52 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/06 21:37 upstream 64267926e01b e60b1103 .config log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/04/07 05:11 upstream 3e732ebf7316 53c67432 .config log report info KCSAN: data-race in dont_mount / step_into