syzbot


KCSAN: data-race in __do_munmap / task_mem (2)

Status: auto-closed as invalid on 2021/09/03 02:16
Subsystems: mm
[Documentation on labels]
First crash: 1339d, last: 1301d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __do_munmap / task_mem fs 1 1823d 1823d 0/28 auto-closed as invalid on 2020/04/11 11:29

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

write to 0xffff888107a524c0 of 8 bytes by task 13502 on cpu 1:
 vm_stat_account mm/mmap.c:3366 [inline]
 remove_vma_list mm/mmap.c:2656 [inline]
 __do_munmap+0xfa4/0x1330 mm/mmap.c:2915
 __vm_munmap+0x98/0x160 mm/mmap.c:2935
 __do_sys_munmap mm/mmap.c:2961 [inline]
 __se_sys_munmap mm/mmap.c:2957 [inline]
 __x64_sys_munmap+0x3d/0x50 mm/mmap.c:2957
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888107a524c0 of 8 bytes by task 1021 on cpu 0:
 task_mem+0xb7/0x3d0 fs/proc/task_mmu.c:46
 proc_pid_status+0x80b/0x13c0 fs/proc/array.c:448
 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_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000000000027a1 -> 0x0000000000002569

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1021 Comm: systemd-journal Not tainted 5.13.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/07 16:17 upstream 3dbdb38e2869 4846d5c1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __do_munmap / task_mem
2021/06/05 12:17 upstream 9d32fa5d74b1 500c2339 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __do_munmap / task_mem
2021/05/30 01:17 upstream f956cb99b938 325a8dab .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __do_munmap / task_mem
* Struck through repros no longer work on HEAD.