syzbot


KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner (2)

Status: auto-closed as invalid on 2021/07/07 21:48
Reported-by: syzbot+35e8f1b76e968e1180eb@syzkaller.appspotmail.com
First crash: 990d, last: 430d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner 4 1001d 1019d 0/23 closed as invalid on 2019/11/19 14:44

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

write to 0xffff88812d4820ac of 4 bytes by task 20898 on cpu 0:
 freezer_count include/linux/freezer.h:121 [inline]
 freezable_schedule include/linux/freezer.h:173 [inline]
 futex_wait_queue_me+0x1ba/0x260 kernel/futex.c:2606
 futex_wait+0x143/0x430 kernel/futex.c:2708
 do_futex+0x9d8/0x1ee0 kernel/futex.c:3732
 __do_sys_futex kernel/futex.c:3805 [inline]
 __se_sys_futex+0x21c/0x380 kernel/futex.c:3786
 __x64_sys_futex+0x74/0x80 kernel/futex.c:3786
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88812d4820ac of 4 bytes by task 20900 on cpu 1:
 mm_update_next_owner+0x1d9/0x520 kernel/exit.c:389
 exit_mm+0x358/0x450 kernel/exit.c:501
 do_exit+0x3ff/0x1560 kernel/exit.c:813
 do_group_exit+0x19b/0x1a0 kernel/exit.c:923
 __do_sys_exit_group+0xb/0x10 kernel/exit.c:934
 __se_sys_exit_group+0x5/0x10 kernel/exit.c:932
 __x64_sys_exit_group+0x16/0x20 kernel/exit.c:932
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x40404040 -> 0x00404040

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

Crashes (139):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/06/02 21:47 upstream 324c92e5e0ee 0740de69 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/05/26 23:05 upstream 7ac3a1c1ae51 858ea628 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/05/25 03:15 upstream 1434a3127887 3c7fef33 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/05/21 02:26 upstream ba816d3c265c 3c7fef33 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/05/20 23:55 upstream f01da525b3de 3c7fef33 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/05/20 12:23 upstream c3d0e3fd41b7 c560a65d .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/05/13 14:20 upstream c06a2ba62fc4 ecb594cb .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/05/11 18:32 upstream 88b06399c9c7 ca873091 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/05/01 10:29 upstream 9f67672a817e 77e2b668 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/28 06:12 upstream e359bce39d90 77e2b668 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/25 17:53 upstream d2d09fbe33f8 36c88236 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/23 13:09 upstream 18a3c5f7abfd 17f0b706 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/20 08:09 upstream 7af08140979a c0ced557 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/18 10:14 upstream c98ff1d013d2 7e2b734b .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/17 08:56 upstream 9cdbf6467424 7e2b734b .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/16 06:06 upstream 7e25f40eab52 c59079a6 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/15 16:53 upstream 7f75285ca572 c59079a6 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/04/13 20:48 upstream 89698becf06d a184b83e .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/03/26 12:53 upstream db24726bfefa a8529b82 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/03/21 15:11 upstream 812da4d39463 4c9a64da .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/03/19 09:29 upstream 8b12a62a4e3e 2af9d324 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/03/12 11:13 upstream f78d76e72a46 429d8a6b .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/02/14 12:31 upstream 358feceebbf6 98682e5e .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/02/06 02:57 upstream 1e0d27fce010 23a562df .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/01/20 09:10 upstream 45dfb8a5659a d4f4eca5 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/01/20 05:53 upstream 45dfb8a5659a 63631df1 .config log report info KCSAN: data-race in futex_wait_queue_me / mm_update_next_owner
ci2-upstream-kcsan-gce 2021/01/05 10:52 upstream 36bbbd0e234d a0234d98 .config log report info
ci2-upstream-kcsan-gce 2020/12/31 14:03 upstream f6e1ea196492 79264ae3 .config log report info
ci2-upstream-kcsan-gce 2020/12/25 09:25 upstream 71c5f03154ac b982b3ea .config log report info
ci2-upstream-kcsan-gce 2020/12/24 22:50 upstream 3913d00ac51a c2c1d1dd .config log report info
ci2-upstream-kcsan-gce 2020/12/08 09:16 upstream cd796ed33450 9af51e31 .config log report info
ci2-upstream-kcsan-gce 2020/12/06 20:13 upstream 8100a58044f8 c521566d .config log report info
ci2-upstream-kcsan-gce 2020/11/25 20:15 upstream fa02fcd94b0c 3f581b43 .config log report info
ci2-upstream-kcsan-gce 2020/11/12 01:52 upstream 3d5e28bff7ad cca87986 .config log report info
ci2-upstream-kcsan-gce 2020/11/08 20:48 upstream 9dbc1c03eeb5 cba33199 .config log report info
ci2-upstream-kcsan-gce 2020/10/30 13:06 upstream 07e088730245 a6e3ac3b .config log report info
ci2-upstream-kcsan-gce 2020/10/20 13:14 upstream 270315b8235e ff4a3345 .config log report info
ci2-upstream-kcsan-gce 2020/10/20 00:52 upstream bbe85027ce80 ff4a3345 .config log report info
ci2-upstream-kcsan-gce 2020/10/15 09:55 upstream 3e4fb4346c78 63869021 .config log report info
ci2-upstream-kcsan-gce 2020/10/13 22:07 upstream 6ad4bf6ea160 fc7735a2 .config log report info
ci2-upstream-kcsan-gce 2020/10/11 23:09 upstream 3dd0130f2430 4a77ae0b .config log report info
ci2-upstream-kcsan-gce 2020/10/10 11:10 upstream 6f2f486d57c4 b74c49a6 .config log report info
ci2-upstream-kcsan-gce 2020/10/09 22:43 upstream 8a5f78d98c26 93817d89 .config log report info
ci2-upstream-kcsan-gce 2020/10/04 09:47 upstream 22fbc037cd32 5ef9c291 .config log report info
ci2-upstream-kcsan-gce 2020/10/03 16:45 upstream d3d45f8220d6 1a3f9408 .config log report info
ci2-upstream-kcsan-gce 2020/09/28 09:10 upstream a1b8638ba132 6bfdbe89 .config log report info
ci2-upstream-kcsan-gce 2020/09/23 23:28 upstream c9c9e6a49f89 54289b08 .config log report info
ci2-upstream-kcsan-gce 2020/09/20 10:51 upstream 325d0eab4f31 53ce8104 .config log report info
ci2-upstream-kcsan-gce 2020/09/20 06:49 upstream 325d0eab4f31 53ce8104 .config log report info
ci2-upstream-kcsan-gce 2020/09/19 22:53 upstream eb5f95f1593f 53ce8104 .config log report info
ci2-upstream-kcsan-gce 2020/09/19 16:09 upstream eb5f95f1593f 53ce8104 .config log report info
ci2-upstream-kcsan-gce 2020/05/28 15:02 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 c7192a2f .config log report
ci2-upstream-kcsan-gce 2020/05/25 18:37 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 73964a9b .config log report
ci2-upstream-kcsan-gce 2019/11/20 22:10 https://github.com/google/ktsan.git kcsan 5863cc791e4c 8098ea0f .config log report