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: 301d, last: 1h09m

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

read-write to 0xffff88810ae603c0 of 4 bytes by task 5401 on cpu 0:
 dont_mount+0x27/0x40 include/linux/dcache.h:351
 vfs_unlink+0x27e/0x3e0 fs/namei.c:4254
 do_unlinkat+0x258/0x510 fs/namei.c:4320
 __do_sys_unlink fs/namei.c:4368 [inline]
 __se_sys_unlink fs/namei.c:4366 [inline]
 __x64_sys_unlink+0x2c/0x30 fs/namei.c:4366
 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 0xffff88810ae603c0 of 4 bytes by task 2737 on cpu 1:
 __follow_mount_rcu fs/namei.c:1480 [inline]
 handle_mounts fs/namei.c:1531 [inline]
 step_into+0xdc/0x7d0 fs/namei.c:1831
 walk_component+0x164/0x230 fs/namei.c:1999
 lookup_last fs/namei.c:2450 [inline]
 path_lookupat+0x11d/0x2b0 fs/namei.c:2474
 filename_lookup+0x133/0x310 fs/namei.c:2503
 user_path_at_empty+0x3e/0x110 fs/namei.c:2876
 do_readlinkat+0x98/0x210 fs/stat.c:471
 __do_sys_readlink fs/stat.c:504 [inline]
 __se_sys_readlink fs/stat.c:501 [inline]
 __x64_sys_readlink+0x43/0x50 fs/stat.c:501
 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: 0x00600008 -> 0x00008008

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2737 Comm: udevd Not tainted 6.2.0-rc6-syzkaller-00050-g9f266ccaa2f5-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (441):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2023/02/02 14:17 upstream 9f266ccaa2f5 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/02/02 01:43 upstream 9f266ccaa2f5 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/02/01 10:25 upstream c0b67534c95c 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/02/01 06:14 upstream c0b67534c95c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/31 14:50 upstream 22b8077d0fce b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/31 02:26 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/30 11:03 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/30 09:38 upstream 6d796c50f84c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/29 02:56 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/28 12:59 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/27 21:22 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/26 02:00 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/25 11:53 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/24 23:48 upstream fb6e71db53f3 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/23 20:47 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/23 18:34 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/23 08:20 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/22 22:25 upstream 2475bf0250de cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/22 05:39 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/21 03:17 upstream edc00350d205 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/19 07:32 upstream 7287904c8771 66fca3ae .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/18 12:59 upstream c1649ec55708 4620c2d9 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/16 21:52 upstream d532dd102151 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/16 02:49 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/15 09:14 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/14 11:14 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/13 05:12 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/11 13:58 upstream 7dd4b804e080 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/11 03:25 upstream 40c18f363a08 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/10 07:41 upstream 5a41237ad1d4 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/09 03:39 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/08 09:19 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/07 15:37 upstream 0a71553536d2 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/06 18:57 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/05 22:38 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/04 08:15 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/03 13:59 upstream 69b41ac87e4a f0036e18 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2023/01/02 06:18 upstream 88603b6dc419 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/12/31 16:00 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/12/30 20:53 upstream bff687b3dad6 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/12/30 00:24 upstream 2258c2dc850b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/12/27 13:02 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/06 23:52 upstream 64267926e01b e60b1103 .config console log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/05/06 21:37 upstream 64267926e01b e60b1103 .config console log report info KCSAN: data-race in dont_mount / step_into
ci2-upstream-kcsan-gce 2022/04/07 05:11 upstream 3e732ebf7316 53c67432 .config console log report info KCSAN: data-race in dont_mount / step_into
* Struck through repros no longer work on HEAD.