syzbot


KCSAN: data-race in inode_needs_update_time / inode_update_timestamps

Status: auto-obsoleted due to no activity on 2024/02/29 11:26
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+aa109df0b4d97242920f@syzkaller.appspotmail.com
First crash: 480d, last: 336d

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

write to 0xffff888106ffd8e0 of 8 bytes by task 24255 on cpu 1:
 inode_set_ctime_to_ts include/linux/fs.h:1601 [inline]
 inode_set_ctime include/linux/fs.h:1619 [inline]
 inode_set_ctime_current fs/inode.c:2512 [inline]
 inode_update_timestamps+0x30f/0x560 fs/inode.c:1859
 generic_update_time fs/inode.c:1898 [inline]
 inode_update_time fs/inode.c:1918 [inline]
 __file_update_time fs/inode.c:2106 [inline]
 file_update_time+0xba/0x140 fs/inode.c:2136
 pipe_write+0xa81/0xd20 fs/pipe.c:617
 call_write_iter include/linux/fs.h:2085 [inline]
 new_sync_write fs/read_write.c:497 [inline]
 vfs_write+0x760/0x8d0 fs/read_write.c:590
 ksys_write+0xeb/0x1a0 fs/read_write.c:643
 __do_sys_write fs/read_write.c:655 [inline]
 __se_sys_write fs/read_write.c:652 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

read to 0xffff888106ffd8e0 of 8 bytes by task 24240 on cpu 0:
 inode_get_ctime include/linux/fs.h:1595 [inline]
 inode_needs_update_time+0x223/0x2f0 fs/inode.c:2089
 file_update_time+0x2d/0x140 fs/inode.c:2132
 pipe_write+0xa81/0xd20 fs/pipe.c:617
 call_write_iter include/linux/fs.h:2085 [inline]
 new_sync_write fs/read_write.c:497 [inline]
 vfs_write+0x760/0x8d0 fs/read_write.c:590
 ksys_write+0xeb/0x1a0 fs/read_write.c:643
 __do_sys_write fs/read_write.c:655 [inline]
 __se_sys_write fs/read_write.c:652 [inline]
 __x64_sys_write+0x42/0x50 fs/read_write.c:652
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x59/0x120 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000000041ca66e -> 0x00000000362e085c

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 24240 Comm: syz-executor.5 Not tainted 6.8.0-rc1-syzkaller-00049-g6098d87eaf31 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
==================================================================

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/25 11:25 upstream 6098d87eaf31 1e153dc8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2024/01/19 20:48 upstream 9d1694dc91ce 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2024/01/11 00:09 upstream ab27740f7665 04815ef1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2024/01/08 21:42 upstream 5db8752c3b81 4c0fd4bb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2024/01/03 20:21 upstream 610a9b8f49fb 28c42cff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/30 04:10 upstream f016f7547aee fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/24 21:13 upstream 861deac3b092 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/24 00:07 upstream 3f82f1c3a036 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/22 09:56 upstream 9a6b294ab496 4f9530a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/20 10:56 upstream 55cb5f43689d 3ad490ea .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/17 18:59 upstream 0e389834672c 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/16 02:57 upstream 3bd7d7488169 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/12 13:48 upstream 26aff849438c ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/12/01 16:15 upstream 994d5c58e50e f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/11/30 23:27 upstream 3b47bc037bd4 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/11/29 17:55 upstream 3b47bc037bd4 6e78f9ce .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/11/28 06:38 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/11/26 14:14 upstream 090472ed9c92 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/11/19 23:08 upstream eb3479bc23fa cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/11/13 22:59 upstream 9bacdd8996c7 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/10/23 02:25 upstream 05d3ef8bba77 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/10/21 05:30 upstream c8045b4a33a5 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/10/19 16:46 upstream 7cf4bea77ab6 42e1d524 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/10/10 06:19 upstream 94f6f0550c62 c9be5398 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/10/07 09:05 upstream 82714078aee4 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/10/04 04:53 upstream 5e62ed3b1c8a 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/10/03 16:39 upstream ce36c8b14987 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/09/25 18:51 upstream 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/09/16 10:16 upstream 57d88e8a5974 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/09/14 18:25 upstream aed8aee11130 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/09/08 07:46 upstream 4a0fc73da97e 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/09/07 11:35 upstream 7ba2090ca64e 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/09/05 17:59 upstream 3f86ed6ec0b3 0b6286dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
2023/09/03 18:48 upstream 6e32dfcccfcc 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in inode_needs_update_time / inode_update_timestamps
* Struck through repros no longer work on HEAD.