syzbot


KCSAN: data-race in generic_fillattr / inode_set_ctime_current (4)

Status: moderation: reported on 2026/05/11 10:21
Subsystems: fs
Labels: race:benign prio:low
[Documentation on labels]
Reported-by: syzbot+c886d58659d9942bf21f@syzkaller.appspotmail.com
First crash: 47d, last: 4d23h
✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision Error
0bb10610-f86e-45a9-b534-e05ab0e3f66f assessment-security DenialOfService: ❌ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ KCSAN: data-race in generic_fillattr / inode_set_ctime_current (4) 2026/05/30 09:48 2026/05/30 09:48 2026/05/30 10:25 6b4a844333e83556da95d61d7f207e7ef5cd4bc6

			
		
4ab1dfb6-fb24-46ee-83b7-71dddf0a22fc assessment-security 💥 KCSAN: data-race in generic_fillattr / inode_set_ctime_current (4) 2026/05/14 09:25 2026/05/14 09:25 2026/05/14 09:28 6ccb967e465e832a7bfd7a116ad00d52a0923a5d
failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/45776d348471d68a01...
truncated to first 200 bytes; open job for full error
90561fef-facb-4e9e-aa98-08c305242379 assessment-kcsan Benign: ✅ KCSAN: data-race in generic_fillattr / inode_set_ctime_current (4) 2026/05/11 10:20 2026/05/11 10:20 2026/05/11 10:43 fc6e6eac62ee224ed1276afaf24df37313ad0a0c

			
		
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in generic_fillattr / inode_set_ctime_current (2) fs 6 55 609d 742d 0/29 auto-obsoleted due to no activity on 2024/12/14 19:09
upstream KCSAN: data-race in generic_fillattr / inode_set_ctime_current fs 6 62 778d 931d 0/29 auto-obsoleted due to no activity on 2024/06/14 18:17
upstream KCSAN: data-race in generic_fillattr / inode_set_ctime_current (3) fs 6 2 112d 125d 0/29 auto-obsoleted due to no activity on 2026/05/02 22:36

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

write to 0xffff888104eba450 of 4 bytes by task 3287 on cpu 1:
 inode_set_ctime_to_ts fs/inode.c:2840 [inline]
 inode_set_ctime_current+0x25b/0x8e0 fs/inode.c:2903
 shmem_xattr_handler_set+0x1ad/0x230 mm/shmem.c:4264
 __vfs_setxattr+0x2e6/0x310 fs/xattr.c:223
 __vfs_setxattr_noperm+0xdb/0x3f0 fs/xattr.c:257
 __vfs_setxattr_locked+0x105/0x220 fs/xattr.c:318
 vfs_setxattr+0x12c/0x2a0 fs/xattr.c:344
 do_setxattr fs/xattr.c:662 [inline]
 filename_setxattr+0x1c4/0x410 fs/xattr.c:690
 path_setxattrat+0x2c1/0x320 fs/xattr.c:734
 __do_sys_lsetxattr fs/xattr.c:775 [inline]
 __se_sys_lsetxattr fs/xattr.c:771 [inline]
 __x64_sys_lsetxattr+0x71/0x90 fs/xattr.c:771
 x64_sys_call+0x1300/0x3020 arch/x86/include/generated/asm/syscalls_64.h:190
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888104eba450 of 4 bytes by task 3589 on cpu 0:
 inode_get_ctime_nsec include/linux/fs.h:1690 [inline]
 inode_get_ctime include/linux/fs.h:1696 [inline]
 generic_fillattr+0x1d6/0x340 fs/stat.c:101
 shmem_getattr+0x181/0x200 mm/shmem.c:1302
 vfs_getattr_nosec+0x146/0x1e0 fs/stat.c:213
 vfs_getattr+0x48/0x60 fs/stat.c:262
 vfs_statx_path+0x28/0x140 fs/stat.c:299
 vfs_statx+0xc4/0x170 fs/stat.c:356
 vfs_fstatat+0x118/0x170 fs/stat.c:373
 __do_sys_newfstatat fs/stat.c:538 [inline]
 __se_sys_newfstatat+0x55/0x3e0 fs/stat.c:532
 __x64_sys_newfstatat+0x55/0x70 fs/stat.c:532
 x64_sys_call+0x2c64/0x3020 arch/x86/include/generated/asm/syscalls_64.h:263
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x136/0x3c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0x13f122ce -> 0x1517dbc4

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 3589 Comm: udevd Tainted: G        W           syzkaller #0 PREEMPT(lazy) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/23 03:48 upstream 1dc18801be29 5a630be6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in generic_fillattr / inode_set_ctime_current
2026/06/20 02:02 upstream 5e2e14749c3d 43bfcdb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in generic_fillattr / inode_set_ctime_current
2026/05/11 10:20 upstream 5d6919055dec 845acb1c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in generic_fillattr / inode_set_ctime_current
* Struck through repros no longer work on HEAD.