KCSAN: data-race in cgroup_procs_write_start / handle_mm_fault (2)

4 views
Skip to first unread message

syzbot

unread,
Dec 7, 2020, 6:13:13 AM12/7/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 67f34fa8 Merge tag 'usb-5.10-rc6' of git://git.kernel.org/..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1718103d500000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9b19d1bde60f8d
dashboard link: https://syzkaller.appspot.com/bug?extid=c5797dc7117f882f94a4
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project.git 913f6005669cfb590c99865a90bc51ed0983d09d)
CC: [and...@kernel.org a...@kernel.org b...@vger.kernel.org cgr...@vger.kernel.org chri...@brauner.io dan...@iogearbox.net han...@cmpxchg.org john.fa...@gmail.com ka...@fb.com kps...@chromium.org linux-...@vger.kernel.org liz...@huawei.com net...@vger.kernel.org songliu...@fb.com t...@kernel.org y...@fb.com]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+c5797d...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in cgroup_procs_write_start / handle_mm_fault

write to 0xffff888019dd44c0 of 2 bytes by task 20518 on cpu 1:
mem_cgroup_exit_user_fault include/linux/memcontrol.h:659 [inline]
handle_mm_fault+0x1462/0x1770 mm/memory.c:4610
do_user_addr_fault+0x33e/0x730 arch/x86/mm/fault.c:1372
handle_page_fault arch/x86/mm/fault.c:1429 [inline]
exc_page_fault+0x91/0x290 arch/x86/mm/fault.c:1485
asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583

read to 0xffff888019dd44c0 of 2 bytes by task 1 on cpu 0:
cgroup_procs_write_start+0x13c/0x270 kernel/cgroup/cgroup.c:2795
__cgroup1_procs_write+0x5d/0x220 kernel/cgroup/cgroup-v1.c:500
cgroup1_procs_write+0x26/0x30 kernel/cgroup/cgroup-v1.c:532
cgroup_file_write+0x173/0x2f0 kernel/cgroup/cgroup.c:3699
kernfs_fop_write+0x207/0x2c0 fs/kernfs/file.c:315
vfs_write+0x21a/0x7c0 fs/read_write.c:603
ksys_write+0xce/0x180 fs/read_write.c:658
__do_sys_write fs/read_write.c:670 [inline]
__se_sys_write fs/read_write.c:667 [inline]
__x64_sys_write+0x3e/0x50 fs/read_write.c:667
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: 0 PID: 1 Comm: systemd Not tainted 5.10.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jan 2, 2021, 9:26:11 PM1/2/21
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages