syzbot


KCSAN: data-race in __get_user_pages / __get_user_pages (2)

Status: auto-closed as invalid on 2020/09/15 06:08
Subsystems: mm
[Documentation on labels]
First crash: 1373d, last: 1352d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __get_user_pages / __get_user_pages mm 44 1409d 1628d 0/26 closed as invalid on 2020/06/18 14:24

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

write to 0xffff8880b416c650 of 8 bytes by task 11198 on cpu 0:
 faultin_page mm/gup.c:900 [inline]
 __get_user_pages+0xb26/0x1150 mm/gup.c:1113
 __get_user_pages_locked mm/gup.c:1306 [inline]
 __get_user_pages_remote+0x374/0x500 mm/gup.c:1858
 pin_user_pages_remote+0x5e/0x80 mm/gup.c:3005
 process_vm_rw_single_vec mm/process_vm_access.c:108 [inline]
 process_vm_rw_core+0x369/0x760 mm/process_vm_access.c:218
 process_vm_rw+0x14e/0x1d0 mm/process_vm_access.c:286
 __do_sys_process_vm_writev mm/process_vm_access.c:308 [inline]
 __se_sys_process_vm_writev mm/process_vm_access.c:303 [inline]
 __x64_sys_process_vm_writev+0x76/0x90 mm/process_vm_access.c:303
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880b416c650 of 8 bytes by task 11190 on cpu 1:
 faultin_page mm/gup.c:900 [inline]
 __get_user_pages+0xb18/0x1150 mm/gup.c:1113
 populate_vma_page_range mm/gup.c:1453 [inline]
 __mm_populate+0x256/0x340 mm/gup.c:1501
 mm_populate include/linux/mm.h:2556 [inline]
 vm_mmap_pgoff+0x133/0x170 mm/util.c:511
 ksys_mmap_pgoff+0xe1/0x380 mm/mmap.c:1596
 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: 11190 Comm: syz-executor.4 Not tainted 5.8.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/11 06:00 upstream 4bcf69e57063 d3694ffb .config console log report ci2-upstream-kcsan-gce
2020/07/27 08:56 upstream 92ed30191993 cb93dc6a .config console log report ci2-upstream-kcsan-gce
2020/07/22 16:03 upstream 4fa640dc5230 128cd85f .config console log report ci2-upstream-kcsan-gce
2020/07/22 00:39 upstream 4fa640dc5230 e562dd8a .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.