syzbot


KCSAN: data-race in dont_mount / lookup_fast

Status: moderation: reported syz repro on 2023/12/08 00:01
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+66941b35e83b90763e23@syzkaller.appspotmail.com
First crash: 828d, last: 7h51m

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

read-write to 0xffff888106ae8f00 of 4 bytes by task 3530 on cpu 0:
 dont_mount+0x27/0x40 include/linux/dcache.h:363
 vfs_unlink+0x298/0x430 fs/namei.c:4345
 do_unlinkat+0x236/0x4c0 fs/namei.c:4407
 __do_sys_unlink fs/namei.c:4455 [inline]
 __se_sys_unlink fs/namei.c:4453 [inline]
 __x64_sys_unlink+0x30/0x40 fs/namei.c:4453
 x64_sys_call+0x28a3/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:88
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888106ae8f00 of 4 bytes by task 2784 on cpu 1:
 d_revalidate fs/namei.c:860 [inline]
 lookup_fast+0xd9/0x2a0 fs/namei.c:1641
 walk_component+0x3f/0x230 fs/namei.c:2000
 lookup_last fs/namei.c:2469 [inline]
 path_lookupat+0x10a/0x2b0 fs/namei.c:2493
 filename_lookup+0x127/0x300 fs/namei.c:2522
 user_path_at_empty+0x42/0x120 fs/namei.c:2929
 do_readlinkat+0x92/0x210 fs/stat.c:499
 __do_sys_readlink fs/stat.c:532 [inline]
 __se_sys_readlink fs/stat.c:529 [inline]
 __x64_sys_readlink+0x47/0x60 fs/stat.c:529
 x64_sys_call+0x264b/0x2d70 arch/x86/include/generated/asm/syscalls_64.h:90
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x00600008 -> 0x00008008

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2784 Comm: udevd Not tainted 6.10.0-rc2-syzkaller-00222-gd30d0e49da71 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
==================================================================

Crashes (635):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/06 22:07 upstream d30d0e49da71 121701b6 .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/16 12:53 upstream d67978318827 b66b37bd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/13 20:48 upstream d0d0cd380055 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/13 03:34 upstream 528dd46d0fc3 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/11 20:27 upstream 8a18fda0febb eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/10 16:11 upstream 34afb82a3c67 6f7fa383 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/09 15:17 upstream 4376e966ecb7 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/08 12:25 upstream 256abd8e550c cde64f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/05 20:53 upstream d270dd21bee0 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/05 11:28 upstream 661e504db04c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/04 08:10 upstream 795c58e4c7fc 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/07/03 04:22 upstream e9d22f7a6655 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/28 17:41 upstream 6c0483dbfe72 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/27 22:11 upstream 66e55ff12e73 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/26 18:34 upstream 55027e689933 c6d33a01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/24 22:02 upstream 626737a5791b 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/24 05:31 upstream f2661062f16b edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/24 02:38 upstream 7c16f0a4ed1c edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/18 01:50 upstream 6226e74900d7 ce6011bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/17 20:29 upstream 6226e74900d7 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/17 12:28 upstream 6ba59ff42279 1f11cfd7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/16 10:20 upstream a3e18a540541 f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/13 08:45 upstream 2ccbdf43d5e7 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/10 05:09 upstream 83a7eefedc9b 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/07 07:51 upstream 8a92980606e3 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/06 01:50 upstream 2df0193e62cf 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/06/01 07:52 upstream d8ec19857b09 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/05/31 19:45 upstream d8ec19857b09 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/05/28 16:36 upstream 2bfcfd584ff5 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/05/27 21:28 upstream 2bfcfd584ff5 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/05/27 11:23 upstream 1613e604df0c 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/05/22 00:14 upstream 2a8120d7b482 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/05/09 11:53 upstream 45db3ab70092 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/05/02 21:05 upstream 49a73b1652c5 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/29 19:54 upstream b947cc5bf6d7 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/28 21:52 upstream e67572cd2204 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/28 12:05 upstream 2c8159388952 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/27 02:08 upstream 5eb4573ea63d 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/26 12:44 upstream c942a0cd3603 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/25 18:29 upstream e33c4963bf53 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/24 15:57 upstream 9d1ddab261f3 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/21 18:26 upstream 48cf398f15fc af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/20 23:55 upstream 977b1ef51866 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/20 07:07 upstream 13a2e429f644 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/19 18:22 upstream 3cdb45594619 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/18 21:38 upstream 2668e3ae2ef3 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2024/04/18 08:53 upstream 8cd26fd90c1a af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2023/12/07 23:38 upstream 9ace34a8e446 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2023/12/04 22:29 upstream bee0e7762ad2 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
2022/04/10 15:50 upstream 1862a69c9174 e22c3da3 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / lookup_fast
* Struck through repros no longer work on HEAD.