syzbot


KCSAN: data-race in touch_atime / touch_atime (2)

Status: moderation: reported on 2024/01/31 11:04
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+a64c882549298cec0659@syzkaller.appspotmail.com
First crash: 80d, last: 2d02h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in touch_atime / touch_atime ext4 21 213d 235d 0/26 auto-obsoleted due to no activity on 2023/10/18 23:00

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

write to 0xffff88811ee14f38 of 8 bytes by task 28187 on cpu 1:
 inode_set_atime_to_ts include/linux/fs.h:1566 [inline]
 inode_update_timestamps fs/inode.c:1878 [inline]
 generic_update_time fs/inode.c:1900 [inline]
 inode_update_time fs/inode.c:1920 [inline]
 touch_atime+0x1f3/0x350 fs/inode.c:1992
 pick_link+0x31a/0x7e0 fs/namei.c:1790
 step_into+0x725/0x810 fs/namei.c:1874
 walk_component fs/namei.c:2010 [inline]
 link_path_walk+0x49d/0x810 fs/namei.c:2331
 path_parentat fs/namei.c:2532 [inline]
 __filename_parentat+0x13c/0x3c0 fs/namei.c:2556
 filename_parentat fs/namei.c:2574 [inline]
 filename_create+0x77/0x2b0 fs/namei.c:3873
 do_mkdirat+0x63/0x2a0 fs/namei.c:4138
 __do_sys_mkdirat fs/namei.c:4161 [inline]
 __se_sys_mkdirat fs/namei.c:4159 [inline]
 __x64_sys_mkdirat+0x50/0x60 fs/namei.c:4159
 x64_sys_call+0x22e9/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:259
 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+0x77/0x7f

read to 0xffff88811ee14f38 of 8 bytes by task 28185 on cpu 0:
 inode_get_atime include/linux/fs.h:1560 [inline]
 inode_update_timestamps fs/inode.c:1875 [inline]
 generic_update_time fs/inode.c:1900 [inline]
 inode_update_time fs/inode.c:1920 [inline]
 touch_atime+0x1a0/0x350 fs/inode.c:1992
 pick_link+0x31a/0x7e0 fs/namei.c:1790
 step_into+0x725/0x810 fs/namei.c:1874
 walk_component fs/namei.c:2010 [inline]
 link_path_walk+0x49d/0x810 fs/namei.c:2331
 path_lookupat+0x72/0x2b0 fs/namei.c:2484
 do_o_path+0x44/0x120 fs/namei.c:3770
 path_openat+0x1a73/0x1d80 fs/namei.c:3792
 do_filp_open+0xf7/0x200 fs/namei.c:3826
 do_sys_openat2+0xab/0x120 fs/open.c:1406
 do_sys_open fs/open.c:1421 [inline]
 __do_sys_openat fs/open.c:1437 [inline]
 __se_sys_openat fs/open.c:1432 [inline]
 __x64_sys_openat+0xf3/0x120 fs/open.c:1432
 x64_sys_call+0x2cad/0x2d30 arch/x86/include/generated/asm/syscalls_64.h:258
 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+0x77/0x7f

value changed: 0x0000000032ab845d -> 0x0000000033441add

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 28185 Comm: syz-executor.2 Tainted: G        W          6.9.0-rc4-syzkaller-00113-g2668e3ae2ef3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
==================================================================

Crashes (50):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/19 06:11 upstream 2668e3ae2ef3 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/04/16 01:09 upstream 0bbac3facb5d b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/04/15 03:39 upstream 399f4dae683a c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/04/14 16:22 upstream 7efd0a74039f c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/04/11 11:59 upstream 9875c0beb8ad 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/04/08 21:03 upstream fec50db7033e 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/04/07 23:42 upstream 9fe30842a90b ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/04/05 16:57 upstream 8cb4a9a82b21 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/04/03 06:41 upstream b1e6ec0a0fd0 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/27 22:24 upstream 498e47cd1d1f 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/23 04:26 upstream bfa8f18691ed 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/15 01:22 upstream fe46a7dd189e d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/08 22:54 upstream 10d48d70e82d 8e75c913 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/08 02:01 upstream 135288b73cef 2b789849 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/06 05:20 upstream 29cd507cbec2 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/05 08:02 upstream 90d35da658da 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/04 12:26 upstream 90d35da658da 3717835d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/03 22:58 upstream 58c806d867bf 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/03 16:04 upstream 04b8076df253 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/02 03:46 upstream 17ba56605bfd 25905f5d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/03/01 14:49 upstream 87adedeba51a 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/29 00:15 upstream e326df53af00 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/28 12:44 upstream cf1182944c7c 55d6f11d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/28 02:02 upstream cf1182944c7c d367cbe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/27 12:10 upstream 45ec2f5f6ed3 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/26 11:36 upstream d206a76d7d27 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/25 21:41 upstream 70ff1fe626a1 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/25 19:05 upstream ab0a97cffa0b 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/25 05:55 upstream f2e367d6ad3b 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/23 21:40 upstream 603c04e27c3e 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/22 11:15 upstream 39133352cbed 345111b5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/21 01:55 upstream fca7526b7d89 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/19 19:14 upstream b401b621758e 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/18 15:47 upstream c02197fc9076 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/18 05:54 upstream ced590523156 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/17 15:53 upstream c1ca10ceffbb 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/17 00:01 upstream 0f1dd5e91e2b 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/16 13:03 upstream 4f5e5092fdbf 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/12 19:01 upstream 716f4aaa7b48 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/10 16:16 upstream 4a7bbe7519b6 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/09 22:52 upstream e6f39a90de92 77b23aa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/08 12:12 upstream 047371968ffc 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/07 12:43 upstream 6d280f4d760e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/06 16:50 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/05 15:44 upstream 54be6c6c5ae8 e23e8c20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/03 20:07 upstream b555d191561a a67b2c42 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/03 04:32 upstream 021533194476 60bf9982 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/02 08:56 upstream 5c24e4e9e708 d61103fc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/02/01 10:41 upstream 6764c317b6bb 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
2024/01/31 11:04 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in touch_atime / touch_atime
* Struck through repros no longer work on HEAD.