Hello,
syzbot found the following issue on:
HEAD commit: 127c501a Merge tag '5.10-rc5-smb3-fixes' of git://git.samb..
git tree: upstream
console output:
https://syzkaller.appspot.com/x/log.txt?x=178d6fa5500000
kernel config:
https://syzkaller.appspot.com/x/.config?x=9b9b19d1bde60f8d
dashboard link:
https://syzkaller.appspot.com/bug?extid=26681c7e84558c952b5f
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project.git 913f6005669cfb590c99865a90bc51ed0983d09d)
CC: [
ax...@kernel.dk chri...@brauner.io ebie...@xmission.com linux-...@vger.kernel.org liuzhi...@huawei.com ol...@redhat.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+26681c...@syzkaller.appspotmail.com
==================================================================
BUG: KCSAN: data-race in complete_signal / do_signal_stop
read-write to 0xffff888020813024 of 4 bytes by task 1411 on cpu 0:
freezer_count include/linux/freezer.h:121 [inline]
freezable_schedule include/linux/freezer.h:173 [inline]
do_signal_stop+0x54f/0x6b0 kernel/signal.c:2396
get_signal+0xa83/0x1510 kernel/signal.c:2718
arch_do_signal+0x25/0x260 arch/x86/kernel/signal.c:811
exit_to_user_mode_loop kernel/entry/common.c:161 [inline]
exit_to_user_mode_prepare+0xde/0x170 kernel/entry/common.c:191
syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:266
do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56
entry_SYSCALL_64_after_hwframe+0x44/0xa9
read to 0xffff888020813024 of 4 bytes by interrupt on cpu 1:
wants_signal kernel/signal.c:978 [inline]
complete_signal+0x7b/0x5f0 kernel/signal.c:1001
send_sigqueue+0x248/0x400 kernel/signal.c:1881
posix_timer_event kernel/time/posix-timers.c:354 [inline]
posix_timer_fn+0xdd/0x1f0 kernel/time/posix-timers.c:380
__run_hrtimer+0x133/0x420 kernel/time/hrtimer.c:1519
__hrtimer_run_queues kernel/time/hrtimer.c:1583 [inline]
hrtimer_interrupt+0x36e/0xa10 kernel/time/hrtimer.c:1645
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
__sysvec_apic_timer_interrupt+0x6f/0x200 arch/x86/kernel/apic/apic.c:1097
asm_call_irq_on_stack+0xf/0x20
__run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline]
run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline]
sysvec_apic_timer_interrupt+0x52/0x90 arch/x86/kernel/apic/apic.c:1091
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline]
arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline]
acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline]
acpi_idle_do_entry drivers/acpi/processor_idle.c:517 [inline]
acpi_idle_enter+0x25b/0x2e0 drivers/acpi/processor_idle.c:648
cpuidle_enter_state+0x2bd/0x750 drivers/cpuidle/cpuidle.c:237
cpuidle_enter+0x3c/0x60 drivers/cpuidle/cpuidle.c:351
call_cpuidle kernel/sched/idle.c:132 [inline]
cpuidle_idle_call kernel/sched/idle.c:213 [inline]
do_idle+0x193/0x230 kernel/sched/idle.c:273
cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:369
secondary_startup_64_no_verify+0xb0/0xbb
Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 0 Comm: swapper/1 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.