Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp548549pxb; Tue, 15 Feb 2022 21:40:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0debZcMEpTar8BA/NwYKGO0+GrXR0GZV5uZxwPYwg/faE2mFSQWYommR87B+FYsS911an X-Received: by 2002:a17:90b:4b4b:b0:1b9:5a9c:f182 with SMTP id mi11-20020a17090b4b4b00b001b95a9cf182mr1045674pjb.213.1644990052185; Tue, 15 Feb 2022 21:40:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644990052; cv=none; d=google.com; s=arc-20160816; b=TvyuC2SLR+aJcBnkajl3thNzut9IFdZh1F1JAXCw4QfRfpnhQBUQ4qmMYOSFgfZrmr dSVZwTALRJEFRQVG3bd3VsySaVZSxlO7GXAsKDCfdiKjopA3ycMYEa0+ZL0juj8INmRx KY3DaZMYyNPW9260yxUvJCBA7io0rmKoe9CdO3DQVgpEuLy+nDuE1L/qOOTuHd6+UNN6 /saiqfs4I1rMa5Zdu90Y38EXrKRosCVaxt7+oKfWPU37UDhxRAMh/s4vA+MTlN9OwFQi UJX/rPDrKzauEoqbjlOtdBSyAQ+1S7NWUb2OHKMHS/ML9ltimlbXyfuAISxoh5frr19y +1pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=PfnnfczvLput4xLIeGD1xmz0Xq5uYuS0DeG0fP8K3Mw=; b=sAwzCrPZneflyut5qDDsSCz7sowsrBxMN9gKWGhs0BzLxEPdLcRCIw/YKoxfOnoBFC HyrL64/JVqZUOdMsyGXVHE7iEqYMCF4jjuawzAEXHX/+uryNPKU6wwT3RFOulvAJLoVv RJtFOYCeCryaxIZpuJOJPzi7oTQRi9S0wnIGACYXYOZGWu0177IbOO3I32iAtB/7b51o uI01B/vf0ryzxHgotI6BmUXuMZWunOd1drQGwpRZ2C8kLVaEqqbuok19FT+6qlNYR4Ak /+s+ktar9i0jgHlSOlUR2Xg3s4WdyNlth/OigHq5/otivMtojVnxcVmxPQDTUMBJHPmp kniQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id my11si18389922pjb.138.2022.02.15.21.40.35; Tue, 15 Feb 2022 21:40:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245754AbiBPEPN (ORCPT + 99 others); Tue, 15 Feb 2022 23:15:13 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343562AbiBPEPF (ORCPT ); Tue, 15 Feb 2022 23:15:05 -0500 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9E136D84E for ; Tue, 15 Feb 2022 20:14:53 -0800 (PST) Received: (Authenticated sender: alex@ghiti.fr) by mail.gandi.net (Postfix) with ESMTPSA id B6207240002; Wed, 16 Feb 2022 04:14:48 +0000 (UTC) Message-ID: Date: Wed, 16 Feb 2022 05:14:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [syzbot] riscv/fixes boot error: can't ssh into the instance Content-Language: en-US To: Dmitry Vyukov , Alexandre Ghiti Cc: Aleksandr Nogikh , linux-riscv@lists.infradead.org, kasan-dev , palmer@dabbelt.com, syzbot , LKML , syzkaller-bugs@googlegroups.com References: <00000000000038779505d5d8b372@google.com> From: Alexandre Ghiti In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, On 2/15/22 18:12, Dmitry Vyukov wrote: > On Wed, 2 Feb 2022 at 14:18, Alexandre Ghiti > wrote: >> Hi Aleksandr, >> >> On Wed, Feb 2, 2022 at 12:08 PM Aleksandr Nogikh wrote: >>> Hello, >>> >>> syzbot has already not been able to fuzz its RISC-V instance for 97 >> That's a longtime, I'll take a look more regularly. >> >>> days now because the compiled kernel cannot boot. I bisected the issue >>> to the following commit: >>> >>> commit 54c5639d8f507ebefa814f574cb6f763033a72a5 >>> Author: Alexandre Ghiti >>> Date: Fri Oct 29 06:59:27 2021 +0200 >>> >>> riscv: Fix asan-stack clang build >>> >>> Apparently, the problem appears on GCC-built RISC-V kernels with KASAN >>> enabled. In the previous message syzbot mentions >>> "riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU >>> Binutils for Debian) 2.35.2", but the issue also reproduces finely on >>> a newer GCC compiler: "riscv64-linux-gnu-gcc (Debian 11.2.0-10) >>> 11.2.0, GNU ld (GNU Binutils for Debian) 2.37". >>> For convenience, I also duplicate the .config file from the bot's >>> message: https://syzkaller.appspot.com/x/.config?x=522544a2e0ef2a7d >>> >>> Can someone with KASAN and RISC-V expertise please take a look? >> I'll take a look at that today. >> >> Thanks for reporting the issue, > I took a quick look, not enough to fix it but I know the issue comes from the inline instrumentation, I have no problem with the outline instrumentation. I need to find some cycles to work on this, my goal is to fix this for 5.17. Sorry about the delay, Alex > > >>> -- >>> Best Regards, >>> Aleksandr >>> >>> >>> On Tue, Jan 18, 2022 at 11:26 AM syzbot >>> wrote: >>>> Hello, >>>> >>>> syzbot found the following issue on: >>>> >>>> HEAD commit: f6f7fbb89bf8 riscv: dts: sifive unmatched: Link the tmp451.. >>>> git tree: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes >>>> console output: https://syzkaller.appspot.com/x/log.txt?x=1095f85bb00000 >>>> kernel config: https://syzkaller.appspot.com/x/.config?x=522544a2e0ef2a7d >>>> dashboard link: https://syzkaller.appspot.com/bug?extid=330a558d94b58f7601be >>>> compiler: riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 >>>> userspace arch: riscv64 >>>> >>>> IMPORTANT: if you fix the issue, please add the following tag to the commit: >>>> Reported-by: syzbot+330a558d94b58f7601be@syzkaller.appspotmail.com > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv