syzbot


KCSAN: data-race in compact_zone / compact_zone (5)

Status: auto-closed as invalid on 2021/11/17 00:44
Reported-by: syzbot+7323c3826ca87b949c38@syzkaller.appspotmail.com
First crash: 620d, last: 414d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in compact_zone / compact_zone (3) 2 760d 786d 0/24 auto-closed as invalid on 2020/12/05 18:21
upstream KCSAN: data-race in compact_zone / compact_zone 3 939d 951d 0/24 auto-closed as invalid on 2020/06/18 13:23
upstream KCSAN: data-race in compact_zone / compact_zone (2) 1 865d 865d 0/24 auto-closed as invalid on 2020/08/23 00:57
upstream KCSAN: data-race in compact_zone / compact_zone (4) 4 660d 680d 0/24 auto-closed as invalid on 2021/03/15 05:37

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

write to 0xffff88823fffad90 of 8 bytes by task 3815 on cpu 1:
 update_cached_migrate mm/compaction.c:432 [inline]
 isolate_migratepages mm/compaction.c:1919 [inline]
 compact_zone+0x1449/0x1ce0 mm/compaction.c:2370
 compact_zone_order mm/compaction.c:2513 [inline]
 try_to_compact_pages+0x317/0x840 mm/compaction.c:2579
 __alloc_pages_direct_compact+0x61/0x330 mm/page_alloc.c:4357
 __alloc_pages_slowpath+0x2aa/0xbf0 mm/page_alloc.c:4941
 __alloc_pages+0x25b/0x320 mm/page_alloc.c:5388
 alloc_pages+0x382/0x3d0
 __get_free_pages+0x8/0x30 mm/page_alloc.c:5412
 io_mem_alloc fs/io_uring.c:8762 [inline]
 io_allocate_scq_urings fs/io_uring.c:10155 [inline]
 io_uring_create+0x949/0x1bb0 fs/io_uring.c:10291
 io_uring_setup fs/io_uring.c:10381 [inline]
 __do_sys_io_uring_setup fs/io_uring.c:10387 [inline]
 __se_sys_io_uring_setup fs/io_uring.c:10384 [inline]
 __x64_sys_io_uring_setup+0xf3/0x130 fs/io_uring.c:10384
 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 0xffff88823fffad90 of 8 bytes by task 3818 on cpu 0:
 update_cached_migrate mm/compaction.c:431 [inline]
 isolate_migratepages mm/compaction.c:1919 [inline]
 compact_zone+0x1425/0x1ce0 mm/compaction.c:2370
 compact_zone_order mm/compaction.c:2513 [inline]
 try_to_compact_pages+0x317/0x840 mm/compaction.c:2579
 __alloc_pages_direct_compact+0x61/0x330 mm/page_alloc.c:4357
 __alloc_pages_slowpath+0x5e4/0xbf0 mm/page_alloc.c:5023
 __alloc_pages+0x25b/0x320 mm/page_alloc.c:5388
 alloc_pages+0x382/0x3d0
 __get_free_pages+0x8/0x30 mm/page_alloc.c:5412
 io_mem_alloc fs/io_uring.c:8762 [inline]
 io_allocate_scq_urings fs/io_uring.c:10155 [inline]
 io_uring_create+0x949/0x1bb0 fs/io_uring.c:10291
 io_uring_setup fs/io_uring.c:10381 [inline]
 __do_sys_io_uring_setup fs/io_uring.c:10387 [inline]
 __se_sys_io_uring_setup fs/io_uring.c:10384 [inline]
 __x64_sys_io_uring_setup+0xf3/0x130 fs/io_uring.c:10384
 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: 0x000000000021b600 -> 0x000000000021c200

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

Crashes (58):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/10/13 00:43 upstream f4d0cc426f77 08362356 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/10/11 11:29 upstream 64570fbc14f8 838e7e2c .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/10/02 14:23 upstream 53d5fc89d66a db0f5787 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/30 04:08 upstream 02d5e016800d be530f6c .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/24 00:36 upstream f10f0481a5b5 8cac236e .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/22 07:10 upstream 92477dd1faa6 169724fe .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/15 08:51 upstream 3ca706c189db 07e953c1 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/13 14:39 upstream 6880fa6c5660 3ce60af8 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/12 01:59 upstream c605c39677b9 3ce60af8 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/07 10:20 upstream 4b93c544e90e 6ca60148 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/03 21:05 upstream a9c9a6f741cd d236a457 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/03 04:23 upstream 7ba88a2a09f4 f62a5829 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/02 17:04 upstream 4ac6d90867a4 d0f0970b .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/09/01 13:25 upstream b91db6a0b52e 7eb7e152 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/27 00:04 upstream 1a6d80ff2419 b318694d .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/25 23:14 upstream fe67f4dd8daa b599f2fc .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/24 06:16 upstream d5ae8d7f85b7 b599f2fc .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/20 22:22 upstream d992fe5318d8 b599f2fc .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/20 00:18 upstream f87d64319e6f e2da378b .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/19 19:19 upstream d6d09a694205 e2da378b .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/11 11:16 upstream 9e723c5380c6 6972b106 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/08 08:04 upstream 85a90500f9a1 6972b106 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/08/06 03:52 upstream e04480920d1e d2d6e680 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/29 02:57 upstream 4010a528219e 9a4781d4 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/28 03:28 upstream 7d549995d4e0 17d6ab15 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/25 02:45 upstream 7ffca2bb9d8b 4d1b57d4 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/23 02:53 upstream 9bead1b58c4c bc5f1d88 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/20 23:18 upstream 8cae8cd89f05 1b201b48 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/19 21:17 upstream 2734d6c1b1a0 e6a17580 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/18 16:15 upstream 1d67c8d993ba f115ae98 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/13 11:57 upstream 7fef2edf7cc7 f415556d .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/10 19:59 upstream 3dbdb38e2869 8f5a7b8c .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/09 10:55 upstream 3dbdb38e2869 281e815f .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/07/02 14:30 upstream 3dbdb38e2869 658ebc66 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/29 23:04 upstream c54b245d0118 a4fccb01 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/29 09:42 upstream 122fa8c58831 9d2ab5df .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/28 09:02 upstream b4b27b9eed8e 9d2ab5df .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/18 09:54 upstream fd0aa1a4567d aba2b2fb .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/18 00:43 upstream 70585216fe77 aba2b2fb .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/17 06:55 upstream 6b00bc639f1f aba2b2fb .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/13 12:49 upstream 8ecfa36cd4db 1ba81399 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/12 07:02 upstream f21b807c3cf8 1ba81399 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/06/08 04:22 upstream 614124bea77e b718257f .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/30 09:37 upstream b90e90f40b4f 325a8dab .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/28 12:59 upstream 97e5bf604b7a 858ea628 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/27 01:05 upstream 7ac3a1c1ae51 858ea628 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/23 16:45 upstream 4d7620341eda 3c7fef33 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/20 09:16 upstream c3d0e3fd41b7 a343ba6b .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/13 21:44 upstream c06a2ba62fc4 ecb594cb .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/10 23:58 upstream 6efb943b8616 ca873091 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/10 06:35 upstream 9819f682e48c bc5434be .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/05/06 09:40 upstream a79cdfba68a1 06c27ff5 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/04/29 15:17 upstream d72cd4ad4174 77e2b668 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/04/29 08:08 upstream 68a32ba14177 77e2b668 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/04/28 18:35 upstream e359bce39d90 77e2b668 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/04/20 17:33 upstream 7af08140979a c0ced557 .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/04/06 18:31 upstream 0a50438c8436 6a81331a .config log report info KCSAN: data-race in compact_zone / compact_zone
ci2-upstream-kcsan-gce 2021/03/20 23:18 upstream 812da4d39463 17810eae .config log report info KCSAN: data-race in compact_zone / compact_zone
* Struck through repros no longer work on HEAD.