syzbot


KCSAN: data-race in attach_to_pi_owner / futex_wait_queue_me (5)

Status: auto-closed as invalid on 2020/11/28 10:56
Subsystems: kernel
[Documentation on labels]
First crash: 1251d, last: 1251d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in attach_to_pi_owner / futex_wait_queue_me (4) kernel 3 1343d 1374d 0/26 auto-closed as invalid on 2020/08/28 22:57
upstream KCSAN: data-race in attach_to_pi_owner / futex_wait_queue_me (2) kernel 2 1574d 1575d 0/26 auto-closed as invalid on 2020/02/14 17:46
upstream KCSAN: data-race in attach_to_pi_owner / futex_wait_queue_me kasan 1 1603d 1603d 0/26 closed as invalid on 2019/11/19 13:54
upstream KCSAN: data-race in attach_to_pi_owner / futex_wait_queue_me (3) kernel 3 1443d 1502d 0/26 auto-closed as invalid on 2020/06/18 14:03
upstream KCSAN: data-race in attach_to_pi_owner / futex_wait_queue_me (6) kernel 1 1197d 1197d 0/26 auto-closed as invalid on 2021/01/21 10:32
upstream KCSAN: data-race in attach_to_pi_owner / futex_wait_queue_me (7) kernel 1 1056d 1056d 0/26 auto-closed as invalid on 2021/06/11 04:30

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

read-write to 0xffff88810a498064 of 4 bytes by task 23559 on cpu 0:
 freezer_count include/linux/freezer.h:121 [inline]
 freezable_schedule include/linux/freezer.h:173 [inline]
 futex_wait_queue_me+0x198/0x240 kernel/futex.c:2588
 futex_wait_requeue_pi kernel/futex.c:3224 [inline]
 do_futex+0x1838/0x2120 kernel/futex.c:3769
 __do_sys_futex kernel/futex.c:3810 [inline]
 __se_sys_futex+0x26d/0x330 kernel/futex.c:3778
 __x64_sys_futex+0x74/0x80 kernel/futex.c:3778
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88810a498064 of 4 bytes by task 23574 on cpu 1:
 attach_to_pi_owner+0x64/0x480 kernel/futex.c:1215
 lookup_pi_state kernel/futex.c:1302 [inline]
 futex_requeue+0xb32/0x14d0 kernel/futex.c:2045
 do_futex+0x11d3/0x2120 kernel/futex.c:3772
 __do_sys_futex kernel/futex.c:3810 [inline]
 __se_sys_futex+0x26d/0x330 kernel/futex.c:3778
 __x64_sys_futex+0x74/0x80 kernel/futex.c:3778
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 23574 Comm: syz-executor.0 Not tainted 5.9.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/24 10:55 upstream f11901ed723d 2bb6666c .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.