KCSAN: data-race in inode_permission / inode_permission (4)

4 views
Skip to first unread message

syzbot

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

syzbot found the following issue on:

HEAD commit: 495023e4 of: Drop superfluous ULL suffix for ~0
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10ac6f5c500000
kernel config: https://syzkaller.appspot.com/x/.config?x=76dfc991796328d4
dashboard link: https://syzkaller.appspot.com/bug?extid=fad9e5c1d3080bd40e81
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project.git 913f6005669cfb590c99865a90bc51ed0983d09d)
CC: [linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]

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+fad9e5...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in inode_permission / inode_permission

read-write to 0xffff88812735904a of 2 bytes by task 1 on cpu 1:
do_inode_permission fs/namei.c:402 [inline]
inode_permission+0x30c/0x320 fs/namei.c:463
may_open+0x19f/0x2e0 fs/namei.c:2875
do_open fs/namei.c:3250 [inline]
path_openat+0x17ac/0x20a0 fs/namei.c:3369
do_filp_open+0xbd/0x1d0 fs/namei.c:3396
do_sys_openat2+0xa3/0x240 fs/open.c:1168
do_sys_open fs/open.c:1184 [inline]
__do_sys_open fs/open.c:1192 [inline]
__se_sys_open fs/open.c:1188 [inline]
__x64_sys_open+0xe2/0x110 fs/open.c:1188
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88812735904a of 2 bytes by task 4889 on cpu 0:
do_inode_permission fs/namei.c:396 [inline]
inode_permission+0x41/0x320 fs/namei.c:463
may_open+0x19f/0x2e0 fs/namei.c:2875
do_open fs/namei.c:3250 [inline]
path_openat+0x17ac/0x20a0 fs/namei.c:3369
do_filp_open+0xbd/0x1d0 fs/namei.c:3396
do_sys_openat2+0xa3/0x240 fs/open.c:1168
do_sys_open fs/open.c:1184 [inline]
__do_sys_open fs/open.c:1192 [inline]
__se_sys_open fs/open.c:1188 [inline]
__x64_sys_open+0xe2/0x110 fs/open.c:1188
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: 4889 Comm: systemd-journal Not tainted 5.10.0-rc2-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,
Dec 21, 2020, 6:15:08 AM12/21/20
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