syzbot


KCSAN: data-race in do_timer_create / do_timer_create (4)

Status: auto-closed as invalid on 2022/04/16 01:14
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 353d, last: 266d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_timer_create / do_timer_create 1 571d 571d 0/24 auto-closed as invalid on 2021/06/14 21:07
upstream KCSAN: data-race in do_timer_create / do_timer_create (3) 2 398d 403d 0/24 auto-closed as invalid on 2021/12/05 03:50
upstream KCSAN: data-race in do_timer_create / do_timer_create (2) 1 528d 528d 0/24 auto-closed as invalid on 2021/07/28 07:48
upstream KCSAN: data-race in do_timer_create / do_timer_create (6) 1 67d 67d 0/24 auto-obsoleted due to no activity on 2022/10/31 13:32
upstream KCSAN: data-race in do_timer_create / do_timer_create (5) 10 121d 227d 0/24 auto-closed as invalid on 2022/09/07 15:06

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

write to 0xffff8881037ffb84 of 4 bytes by task 11806 on cpu 0:
 do_timer_create+0x376/0xa80 kernel/time/posix-timers.c:516
 __se_sys_timer_create kernel/time/posix-timers.c:577 [inline]
 __x64_sys_timer_create+0xb7/0xe0 kernel/time/posix-timers.c:577
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881037ffb84 of 4 bytes by task 11803 on cpu 1:
 posix_timer_add kernel/time/posix-timers.c:143 [inline]
 do_timer_create+0x1e3/0xa80 kernel/time/posix-timers.c:516
 __se_sys_timer_create kernel/time/posix-timers.c:577 [inline]
 __x64_sys_timer_create+0xb7/0xe0 kernel/time/posix-timers.c:577
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000001d -> 0x00000021

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11803 Comm: syz-executor.0 Not tainted 5.17.0-rc7-syzkaller-00205-g79b00034e9dc-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (18):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/03/12 01:09 upstream 79b00034e9dc 9e8eaa75 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/03/06 17:30 upstream dcde98da9970 7bdd8b2c .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/03/04 13:25 upstream 38f80f42147f 45a13a73 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/02/25 15:21 upstream 53ab78cd6d5a 7c337266 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/02/22 12:09 upstream 038101e6b2cd 6e821dbf .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/02/19 22:20 upstream 4f12b742eb2b 3cd800e4 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/02/17 02:29 upstream 359303076163 50221962 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/02/02 06:23 upstream 9f7fb8de5d9b 4ebb2798 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/02/01 05:56 upstream 26291c54e111 6b7c57fe .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/01/21 02:03 upstream fa2e1ba3e9e3 b838eb76 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/01/18 22:20 upstream 99613159ad74 731a2d23 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/01/18 15:34 upstream e3a8b6a1e70c 731a2d23 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/01/17 05:45 upstream 79e06c4c4950 723cfaf0 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/01/10 13:00 upstream df0cc57e057f 2ca0d385 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/01/07 23:20 upstream ddec8ed2d490 2ca0d385 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2022/01/01 13:13 upstream 800829388818 e1768e9c .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2021/12/16 17:13 upstream 2b14864acbaa 8dd6a5e3 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
ci2-upstream-kcsan-gce 2021/12/14 18:39 upstream 5472f14a3742 d018dd31 .config log report info KCSAN: data-race in do_timer_create / do_timer_create
* Struck through repros no longer work on HEAD.