KCSAN: data-race in do_signal_stop / futex_wait_queue_me (2)

5 views
Skip to first unread message

syzbot

unread,
Oct 15, 2020, 6:01:28 AM10/15/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3e4fb434 Merge tag 'spdx-5.10-rc1' of git://git.kernel.org..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=144de85f900000
kernel config: https://syzkaller.appspot.com/x/.config?x=1088720d150ff885
dashboard link: https://syzkaller.appspot.com/bug?extid=122b37f430163ee2ec8d
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project.git ca2dcbd030eadbf0aa9b660efe864ff08af6e18b)
CC: [dvh...@infradead.org linux-...@vger.kernel.org mi...@redhat.com pet...@infradead.org tg...@linutronix.de]

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

==================================================================
BUG: KCSAN: data-race in do_signal_stop / futex_wait_queue_me

write to 0xffff88807e221024 of 4 bytes by task 4229 on cpu 0:
freezer_do_not_count include/linux/freezer.h:109 [inline]
freezable_schedule include/linux/freezer.h:171 [inline]
futex_wait_queue_me+0x186/0x250 kernel/futex.c:2588
futex_wait+0x145/0x390 kernel/futex.c:2690
do_futex+0x145c/0x21c0 kernel/futex.c:3749
__do_sys_futex kernel/futex.c:3810 [inline]
__se_sys_futex+0x26d/0x330 kernel/futex.c:3778
__x64_sys_futex+0x74/0x80 kernel/futex.c:3778
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88807e221024 of 4 bytes by task 4223 on cpu 1:
task_set_jobctl_pending kernel/signal.c:291 [inline]
do_signal_stop+0x32e/0x6d0 kernel/signal.c:2354
get_signal+0x6e4/0x15f0 kernel/signal.c:2717
arch_do_signal+0x25/0x270 arch/x86/kernel/signal.c:811
exit_to_user_mode_loop kernel/entry/common.c:161 [inline]
exit_to_user_mode_prepare+0x124/0x210 kernel/entry/common.c:192
irqentry_exit_to_user_mode+0x5/0x20 kernel/entry/common.c:280
irqentry_exit+0xe/0x40 kernel/entry/common.c:368
sysvec_apic_timer_interrupt+0xc6/0xd0 arch/x86/kernel/apic/apic.c:1091
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 4223 Comm: syz-executor.4 Not tainted 5.9.0-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,
Jul 3, 2021, 4:52:15 AM7/3/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