syzbot


KCSAN: data-race in dont_mount / step_into

Status: moderation: reported on 2022/05/07 00:44
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+7ab22e852c066cf2af27@syzkaller.appspotmail.com
First crash: 696d, last: 9h55m

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

read-write to 0xffff888106760480 of 4 bytes by task 3441 on cpu 0:
 dont_mount+0x27/0x40 include/linux/dcache.h:358
 vfs_unlink+0x282/0x3e0 fs/namei.c:4340
 do_unlinkat+0x236/0x4c0 fs/namei.c:4402
 __do_sys_unlink fs/namei.c:4450 [inline]
 __se_sys_unlink fs/namei.c:4448 [inline]
 __x64_sys_unlink+0x30/0x40 fs/namei.c:4448
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888106760480 of 4 bytes by task 2775 on cpu 1:
 __d_entry_type include/linux/dcache.h:392 [inline]
 d_is_symlink include/linux/dcache.h:422 [inline]
 step_into+0x12f/0x800 fs/namei.c:1848
 walk_component+0x164/0x230 fs/namei.c:2011
 lookup_last fs/namei.c:2462 [inline]
 path_lookupat+0x10a/0x2a0 fs/namei.c:2486
 filename_lookup+0x126/0x300 fs/namei.c:2515
 user_path_at_empty+0x42/0x120 fs/namei.c:2924
 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/0x50 fs/stat.c:529
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1d0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00600008 -> 0x00008008

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 2775 Comm: udevd Not tainted 6.8.0-rc6-syzkaller-00278-g58c806d867bf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
==================================================================

Crashes (1067):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/03 19:09 upstream 58c806d867bf 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/03/03 05:08 upstream 04b8076df253 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/03/02 17:12 upstream 5ad3cb0ed525 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/03/02 02:31 upstream 17ba56605bfd 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/03/01 20:59 upstream 17ba56605bfd 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/29 01:20 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/28 18:37 upstream e326df53af00 55d6f11d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/28 02:12 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/27 18:36 upstream 45ec2f5f6ed3 d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/27 03:52 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/26 15:02 upstream d206a76d7d27 da36a36b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/26 11:02 upstream d206a76d7d27 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/23 21:14 upstream 603c04e27c3e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/23 08:19 upstream ffd2cb6b718e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/22 21:26 upstream 1c892cdd8fe0 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/21 18:21 upstream 39133352cbed 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/19 12:37 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/18 09:55 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/17 22:31 upstream ced590523156 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/16 04:53 upstream 4f5e5092fdbf 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/15 12:57 upstream 8d3dea210042 fd39cf6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/14 16:48 upstream 7e90b5c295ec d9b1cdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/13 13:39 upstream c664e16bb1ba e66542d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/13 07:48 upstream c664e16bb1ba 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/12 18:25 upstream 716f4aaa7b48 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/12 01:28 upstream 841c35169323 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/11 11:42 upstream 7521f258ea30 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/10 22:05 upstream a5b6244cf87c 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/10 09:15 upstream 4a7bbe7519b6 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/09 19:36 upstream e6f39a90de92 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/09 17:21 upstream 1f719a2f3fa6 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/09 04:33 upstream 1f719a2f3fa6 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/08 15:05 upstream 047371968ffc 7f07e9b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/08 11:49 upstream 047371968ffc 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/07 22:20 upstream 547ab8fc4cb0 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/07 09:03 upstream 6d280f4d760e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/05 10:15 upstream 54be6c6c5ae8 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/04 17:51 upstream 54be6c6c5ae8 a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/04 12:29 upstream 3a0e92207940 a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/04 10:16 upstream 3a0e92207940 a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/04 09:52 upstream 3a0e92207940 a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/03 20:26 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/03 16:52 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/03 14:40 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/03 05:27 upstream 56897d51886f 60bf9982 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/02 13:28 upstream 021533194476 d61103fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2024/02/01 18:45 upstream 5c24e4e9e708 81024119 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2022/05/06 23:52 upstream 64267926e01b e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2022/05/06 21:37 upstream 64267926e01b e60b1103 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
2022/04/07 05:11 upstream 3e732ebf7316 53c67432 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in dont_mount / step_into
* Struck through repros no longer work on HEAD.