syzbot


KCSAN: data-race in __reset_isolation_suitable / compact_zone

Status: auto-closed as invalid on 2021/05/31 16:24
Subsystems: mm
[Documentation on labels]
First crash: 1288d, last: 1288d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __reset_isolation_suitable / compact_zone (2) mm 1 76d 75d 0/28 auto-obsoleted due to no activity on 2024/09/25 11:05

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

write to 0xffff88823fffad90 of 8 bytes by task 735 on cpu 1:
 __reset_isolation_suitable+0x13a/0x2b0 mm/compaction.c:363
 reset_isolation_suitable+0x125/0x1a0 mm/compaction.c:396
 kswapd_try_to_sleep+0xd1/0x310 mm/vmscan.c:3789
 kswapd+0x133/0x300 mm/vmscan.c:3897
 kthread+0x1d0/0x1f0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff88823fffad90 of 8 bytes by task 14957 on cpu 0:
 update_cached_migrate mm/compaction.c:433 [inline]
 isolate_migratepages mm/compaction.c:1887 [inline]
 compact_zone+0x1481/0x1da0 mm/compaction.c:2342
 compact_zone_order mm/compaction.c:2485 [inline]
 try_to_compact_pages+0x317/0x840 mm/compaction.c:2543
 __alloc_pages_direct_compact+0x65/0x320 mm/page_alloc.c:4155
 __alloc_pages_slowpath+0x5d4/0xb70 mm/page_alloc.c:4816
 __alloc_pages_nodemask+0x242/0x310 mm/page_alloc.c:5020
 alloc_pages_current+0x21d/0x310 mm/mempolicy.c:2277
 alloc_pages include/linux/gfp.h:561 [inline]
 __get_free_pages+0x8/0x30 mm/page_alloc.c:5044
 io_mem_alloc fs/io_uring.c:8063 [inline]
 io_allocate_scq_urings fs/io_uring.c:9410 [inline]
 io_uring_create+0x860/0x17d0 fs/io_uring.c:9548
 io_uring_setup fs/io_uring.c:9632 [inline]
 __do_sys_io_uring_setup fs/io_uring.c:9638 [inline]
 __se_sys_io_uring_setup fs/io_uring.c:9635 [inline]
 __x64_sys_io_uring_setup+0xe1/0x120 fs/io_uring.c:9635
 do_syscall_64+0x34/0x50 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 14957 Comm: syz-executor.0 Not tainted 5.12.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
2021/04/26 16:15 upstream 9f4ad9e425a1 805b5003 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __reset_isolation_suitable / compact_zone
* Struck through repros no longer work on HEAD.