syzbot


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

Status: auto-closed as invalid on 2021/06/20 04:11
Subsystems: fs
[Documentation on labels]
First crash: 1069d, last: 1069d
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) fs 4 1216d 1229d 0/26 auto-closed as invalid on 2021/01/24 01:57
upstream KCSAN: data-race in do_task_stat / handle_mm_fault (3) fs 1 1171d 1171d 0/26 auto-closed as invalid on 2021/03/10 04:55
upstream KCSAN: data-race in do_task_stat / handle_mm_fault fs 3 1312d 1325d 0/26 auto-closed as invalid on 2020/10/20 18:42
upstream KCSAN: data-race in do_task_stat / handle_mm_fault (5) fs 3 947d 976d 0/26 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):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/16 04:07 upstream c12a29ed9094 f54a5c09 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_task_stat / handle_mm_fault
* Struck through repros no longer work on HEAD.