syzbot


KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset (2)

Status: auto-closed as invalid on 2021/11/16 23:32
Reported-by: syzbot+eb0bb2eb0097bddc9fea@syzkaller.appspotmail.com
First crash: 748d, last: 349d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset 3 800d 825d 0/24 auto-closed as invalid on 2020/08/23 09:27

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

write to 0xffffffff841669b8 of 8 bytes by task 1018 on cpu 0:
 tk_xtime_add kernel/time/timekeeping.c:144 [inline]
 timekeeping_inject_offset+0x465/0x700 kernel/time/timekeeping.c:1365
 do_adjtimex+0x5b5/0x6a0 kernel/time/timekeeping.c:2409
 posix_clock_realtime_adj+0x11/0x20 kernel/time/posix-timers.c:191
 do_clock_adjtime kernel/time/posix-timers.c:1109 [inline]
 __do_sys_clock_adjtime kernel/time/posix-timers.c:1121 [inline]
 __se_sys_clock_adjtime kernel/time/posix-timers.c:1112 [inline]
 __x64_sys_clock_adjtime+0x13e/0x1d0 kernel/time/posix-timers.c:1112
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffffffff841669b8 of 8 bytes by task 15491 on cpu 1:
 ktime_get_real_seconds+0x11/0x20 kernel/time/timekeeping.c:1008
 recently_deleted fs/ext4/ialloc.c:706 [inline]
 find_inode_bit+0x1f9/0x330 fs/ext4/ialloc.c:731
 __ext4_new_inode+0xc9a/0x2fd0 fs/ext4/ialloc.c:1066
 ext4_symlink+0x2cc/0x700 fs/ext4/namei.c:3293
 vfs_symlink+0x23f/0x350 fs/namei.c:4250
 do_symlinkat+0x104/0x380 fs/namei.c:4279
 __do_sys_symlink fs/namei.c:4301 [inline]
 __se_sys_symlink fs/namei.c:4299 [inline]
 __x64_sys_symlink+0x52/0x60 fs/namei.c:4299
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000000061661aef -> 0x0000000061661af0

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 15491 Comm: syz-executor.4 Tainted: G        W         5.15.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (94):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/10/12 23:32 upstream f4d0cc426f77 08362356 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/10/11 00:01 upstream efb52a7d9511 838e7e2c .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/10/09 10:45 upstream 5d6ab0bb408f efe0f24d .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/10/08 02:16 upstream 4a16df549d23 efe0f24d .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/22 21:30 upstream cf1d2c3e7e2f 8cac236e .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/22 16:21 upstream 92477dd1faa6 8cac236e .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/20 18:15 upstream e4e737bb5c17 3d9c9a2a .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/19 08:34 upstream 93ff9f13be91 70b76c1d .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/17 23:57 upstream ddf21bd8ab98 70b76c1d .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/15 06:07 upstream 3ca706c189db 07e953c1 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/13 19:58 upstream 316346243be6 58d09404 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/13 10:30 upstream 6880fa6c5660 3ce60af8 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/04 10:16 upstream a9c9a6f741cd d236a457 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/09/01 21:52 upstream 835d31d319d9 7eb7e152 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/31 02:31 upstream 8596e589b787 8f58a0ef .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/29 19:21 upstream 3f5ad13cb012 be2c130d .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/27 20:19 upstream 1a6436f37512 57b01c6e .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/26 11:03 upstream 73f3af7b4611 b599f2fc .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/25 03:15 upstream 6e764bcd1cf7 b599f2fc .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/24 02:09 upstream d5ae8d7f85b7 b599f2fc .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/22 17:09 upstream 9ff50bf2f2ff b599f2fc .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/21 18:07 upstream 002c0aef1090 b599f2fc .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/20 22:28 upstream d992fe5318d8 b599f2fc .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/19 12:58 upstream d6d09a694205 a2fe1cb5 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/14 20:29 upstream ba31f97d43be 2489ab88 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/14 05:01 upstream dfa377c35d70 2489ab88 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/13 04:33 upstream f8e6dfc64f61 3fd2ea69 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/10 20:52 upstream 9e723c5380c6 6972b106 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/10 00:56 upstream 9a73fa375d58 6972b106 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/09 04:25 upstream 66745863ecde 6972b106 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/03 17:39 upstream d5ad8ec3cfb5 6c236867 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/08/03 04:24 upstream c500bee1c5b2 6c236867 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/27 15:27 upstream ff1176468d36 fd511809 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/25 20:05 upstream d8079fac1681 4d1b57d4 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/23 14:36 upstream 8baef6386baa bc5f1d88 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/23 00:19 upstream 9bead1b58c4c bc5f1d88 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/22 14:00 upstream 3d5895cd3517 241790bb .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/22 07:58 upstream 7b6ae471e541 29c3f20f .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/21 02:28 upstream 8cae8cd89f05 1b201b48 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/17 12:14 upstream d980cc0620ae f115ae98 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/17 05:28 upstream 0d18c12b288a f115ae98 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/16 04:29 upstream dd9c7df94c1b f115ae98 .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/13 19:51 upstream 40226a3d96ef 70168d5c .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/12 20:55 upstream 7fef2edf7cc7 f415556d .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/07/11 10:02 upstream 3dbdb38e2869 8f5a7b8c .config log report info KCSAN: data-race in ktime_get_real_seconds / timekeeping_inject_offset
ci2-upstream-kcsan-gce 2021/01/10 02:55 upstream 2ff90100ace8 2c1f2513 .config log report info
ci2-upstream-kcsan-gce 2020/12/19 05:44 upstream 3644e2d2dda7 04201c06 .config log report info
ci2-upstream-kcsan-gce 2020/11/19 17:12 upstream c2e7554e1b85 0767f13f .config log report info
ci2-upstream-kcsan-gce 2020/11/02 18:26 upstream 3cea11cd5e3b 8bc4594f .config log report info
ci2-upstream-kcsan-gce 2020/10/29 11:16 upstream 23859ae44402 f24824d3 .config log report info
ci2-upstream-kcsan-gce 2020/10/24 11:03 upstream f11901ed723d 2bb6666c .config log report info
ci2-upstream-kcsan-gce 2020/09/23 20:23 upstream 805c6d3c1921 54289b08 .config log report info
ci2-upstream-kcsan-gce 2020/09/09 18:59 upstream 34d4ddd359db ac7ca78e .config log report
ci2-upstream-kcsan-gce 2020/09/09 03:08 upstream 6f6a73c8b715 abf9ba4f .config log report
* Struck through repros no longer work on HEAD.