syzbot
KCSAN: data-race in atime_needs_update / touch_atime
Status: auto-obsoleted due to no activity on 2023/10/17 00:18
Subsystems:
ext4
[Documentation on labels]
First crash: 1059d, last: 1038d
Sample crash report:
==================================================================
BUG: KCSAN: data-race in atime_needs_update / touch_atime
write to 0xffff888137f93820 of 8 bytes by task 3335 on cpu 1:
inode_update_timestamps fs/inode.c:1907 [inline]
generic_update_time fs/inode.c:1929 [inline]
inode_update_time fs/inode.c:1949 [inline]
touch_atime+0x31f/0x4a0 fs/inode.c:2020
do_readlinkat+0x164/0x210 fs/stat.c:538
__do_sys_readlink fs/stat.c:560 [inline]
__se_sys_readlink fs/stat.c:557 [inline]
__x64_sys_readlink+0x47/0x50 fs/stat.c:557
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
read to 0xffff888137f93820 of 8 bytes by task 5731 on cpu 0:
timespec64_compare include/linux/time64.h:63 [inline]
relatime_need_update fs/inode.c:1847 [inline]
atime_needs_update+0x4fe/0x5b0 fs/inode.c:1989
touch_atime+0x58/0x4a0 fs/inode.c:2003
do_readlinkat+0x164/0x210 fs/stat.c:538
__do_sys_readlink fs/stat.c:560 [inline]
__se_sys_readlink fs/stat.c:557 [inline]
__x64_sys_readlink+0x47/0x50 fs/stat.c:557
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
value changed: 0x000000001aebc9cf -> 0x000000001b84604f
Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 5731 Comm: udevd Not tainted 6.6.0-rc2-syzkaller-00018-g2cf0f7156238 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
==================================================================
I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
I/O error, dev loop0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
I/O error, dev loop5, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
* Struck through repros no longer work on HEAD.