syzbot


KCSAN: data-race in do_task_stat / handle_mm_fault (4)

Status: auto-closed as invalid on 2021/06/20 04:11
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 460d, last: 460d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_task_stat / handle_mm_fault (2) 4 607d 619d 0/23 auto-closed as invalid on 2021/01/24 01:57
upstream KCSAN: data-race in do_task_stat / handle_mm_fault (3) 1 561d 561d 0/23 auto-closed as invalid on 2021/03/10 04:55
upstream KCSAN: data-race in do_task_stat / handle_mm_fault 3 702d 716d 0/23 auto-closed as invalid on 2020/10/20 18:42
upstream KCSAN: data-race in do_task_stat / handle_mm_fault (5) 3 338d 366d 0/23 auto-closed as invalid on 2021/10/19 23:13

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

write to 0xffff888122692670 of 8 bytes by task 11352 on cpu 1:
 mm_account_fault mm/memory.c:4550 [inline]
 handle_mm_fault+0x705/0x1a70 mm/memory.c:4614
 do_user_addr_fault+0x60c/0xc00 arch/x86/mm/fault.c:1390
 handle_page_fault arch/x86/mm/fault.c:1475 [inline]
 exc_page_fault+0x94/0x230 arch/x86/mm/fault.c:1531
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:577

read to 0xffff888122692670 of 8 bytes by task 1 on cpu 0:
 do_task_stat+0x5ed/0x10c0 fs/proc/array.c:535
 proc_tgid_stat+0x2f/0x40 fs/proc/array.c:665
 proc_single_show+0x84/0x100 fs/proc/base.c:774
 seq_read_iter+0x2ef/0x910 fs/seq_file.c:227
 seq_read+0x221/0x260 fs/seq_file.c:159
 vfs_read+0x154/0x5d0 fs/read_write.c:494
 ksys_read+0xce/0x180 fs/read_write.c:634
 __do_sys_read fs/read_write.c:644 [inline]
 __se_sys_read fs/read_write.c:642 [inline]
 __x64_sys_read+0x3e/0x50 fs/read_write.c:642
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1 Comm: systemd Tainted: G        W         5.13.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/05/16 04:07 upstream c12a29ed9094 f54a5c09 .config log report info KCSAN: data-race in do_task_stat / handle_mm_fault