[moderation] [fs?] KCSAN: data-race in do_epoll_ctl / do_epoll_ctl (5)

0 views
Skip to first unread message

syzbot

unread,
Mar 18, 2024, 5:35:28 AMMar 18
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f6cef5f8c37f Merge tag 'i3c/for-6.9' of git://git.kernel.o..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1483daa5180000
kernel config: https://syzkaller.appspot.com/x/.config?x=8c3c081f20b130f6
dashboard link: https://syzkaller.appspot.com/bug?extid=842f25b7b118d03fc6a2
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
CC: [bra...@kernel.org ja...@suse.cz linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/aedbebda3898/disk-f6cef5f8.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/6fb1ed41e8cc/vmlinux-f6cef5f8.xz
kernel image: https://storage.googleapis.com/syzbot-assets/30502ff70726/bzImage-f6cef5f8.xz

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

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

read-write to 0xffffffff883d72c0 of 8 bytes by task 15441 on cpu 1:
do_epoll_ctl+0x6f6/0x950 fs/eventpoll.c:2303
__do_sys_epoll_ctl fs/eventpoll.c:2386 [inline]
__se_sys_epoll_ctl fs/eventpoll.c:2377 [inline]
__x64_sys_epoll_ctl+0xc6/0xf0 fs/eventpoll.c:2377
do_syscall_64+0xd3/0x1d0
entry_SYSCALL_64_after_hwframe+0x6d/0x75

read to 0xffffffff883d72c0 of 8 bytes by task 15443 on cpu 0:
do_epoll_ctl+0x529/0x950 fs/eventpoll.c:2297
__do_sys_epoll_ctl fs/eventpoll.c:2386 [inline]
__se_sys_epoll_ctl fs/eventpoll.c:2377 [inline]
__x64_sys_epoll_ctl+0xc6/0xf0 fs/eventpoll.c:2377
do_syscall_64+0xd3/0x1d0
entry_SYSCALL_64_after_hwframe+0x6d/0x75

value changed: 0x000000000000000a -> 0x000000000000000c

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 15443 Comm: syz-executor.2 Tainted: G W 6.8.0-syzkaller-11409-gf6cef5f8c37f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
==================================================================


---
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.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Apr 22, 2024, 5:35:16 AM (5 days ago) Apr 22
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