Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp1997779lfo; Sat, 28 May 2022 13:12:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwutIytwJ0nIWMDY4N3KSmvm8C2VBkmC4J6R5iWO92KKQyVN566vCRBO28jUzX4lBTHG728 X-Received: by 2002:a05:6a00:14c5:b0:518:c20d:477b with SMTP id w5-20020a056a0014c500b00518c20d477bmr25504023pfu.24.1653768756969; Sat, 28 May 2022 13:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653768756; cv=none; d=google.com; s=arc-20160816; b=sCRT1LB9ujMNqTRafxEYYhFfvWvOK47NKMe6tLwRriMRMMyVB92nyJhW0xvY4gHspF xG0FAdwQNfWBMCUJLOKxGomrF0lfuw32iVnmtH66t+s98raV5rp0/svIudPbH5wJdtd8 3B52TXNSwPIGGffSuJ7f71gs710sZwVYSv69NjObBkJFDjGu9vqWKEPuv0X7UjOQ/uuI jCT86pezeL12vAVVUooMbs5+2J/b53WQS0LJ0a/gj5uiA4madVbbYDdAXD6SIiJFZgk7 gd23B3fsTsEEMCMyOFIlqeplQsgjMbiFZBzIq6HhXUDPRq0d091CugyyikuiAIBocQdy 67VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=y9dRzSEE6qIZVHgcjwE6BybELU2ejo/ROH1wde8bWlw=; b=o7hzMgRHtziAn7GX0DLFvZtgVnZPxPQpVoslk3KAfum+gp++oHs9zgGutZjKbMybnc AXj3r9SM0QTzGuqFe8RtG183f6WVwrEu5Om1ebxMMutpcOWBYHhPsQjZb/MTTn9Hft+v 6Cqt4/AtknYtlFnqj8jXylC/ftGnVeBbufOyN1WOLvwMn9YrMNIV86dAm2ZZmMDgVSpW vigOQ9R71+QmBlu7o//4oncyRHy0sFAz/YYvzdw3vr5CSIu5/G/MQzbFfOQbo1mqXENk +yX61pHjiGr9oVhdDdc2wdUkgmspXTZidTCE0NA4LY2z+gIKdB2wTaEDzfIFlfIt5RQe k3ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=WOw2OdJ8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 8-20020aa79108000000b005108171fe28si9127367pfh.162.2022.05.28.13.12.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 May 2022 13:12:36 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=WOw2OdJ8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6DA3213C37C; Sat, 28 May 2022 12:25:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351490AbiE0NCH (ORCPT + 99 others); Fri, 27 May 2022 09:02:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345414AbiE0NCD (ORCPT ); Fri, 27 May 2022 09:02:03 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06244B7CC for ; Fri, 27 May 2022 06:02:01 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id u23so6827775lfc.1 for ; Fri, 27 May 2022 06:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=y9dRzSEE6qIZVHgcjwE6BybELU2ejo/ROH1wde8bWlw=; b=WOw2OdJ8j2sliEnbDhaeP5MFvVJkvTBecIJZTae5CUAVwMd2FfoH7MKBEBWkmvGFqA yhYMM7C3uuOCtNV+NyhKmgRvYwLwOkMqe7JeiBIZTZ6cjCEUYF4cpvXj1nWAjzMmkdAM o5BzE98QC7u9v7B+TIrwoa+zbdacZfQhJ6X7FFgUUImxjjFxz6Y+LP7MpV8hQ7bFclvz cX6aUPtreI07BUIATuwFNtH9VAC8kuKT9pkeuuGGlRAHXOol4t+STwowma5wSCE4OPvl 5R4pPZUx1FddliKY5DBuTUe+MAhgjxOsBIfhv4QtXlBe7z/gKOGst5KfXyYOs5T42MbB EzSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=y9dRzSEE6qIZVHgcjwE6BybELU2ejo/ROH1wde8bWlw=; b=Ec41yPtfiaszpY32ZSMH8IhvXu2TZYm6DHKDyif11Ama8+96tLqPRhOq6fkGA49MdM 5Pn5Pf2AABdZSLRUpyp+nhDmc5CAW44kNcdP/gqeix6yV/0qf8GCC7FD2NNGhaWQj1Et 3pfpef7FcTdelb5Sm0zkHnnbHtc2704Wl4cYzaJJarDoTBe1+Li8ZFjogSTvH87cqfYP x6c7CrMIWBAOWUUW5Iz9OQ8x/saUJnObtu3oUTP8ElmGdwLTuIJEZmOCCQY5PNFfL6xD 7pmbyr87oGkZjVN3HnX7wJSh7jTlQ/P0sLqS3Jmc/zqzcKHOeRCR30fqfVyJoz1MpWza LvVQ== X-Gm-Message-State: AOAM530n3d28FN0Vg0OOEM0a9GtE1yF6fTD+9hcHOsmIWtmIls154EP5 Zz/5FW35iF1MLjjb1n4T1zVqM+zm0ybtt4x3yCCpBQ== X-Received: by 2002:a19:7106:0:b0:478:68b5:86d9 with SMTP id m6-20020a197106000000b0047868b586d9mr19573199lfc.417.1653656517697; Fri, 27 May 2022 06:01:57 -0700 (PDT) MIME-Version: 1.0 References: <000000000000d0437b05dffdd1de@google.com> In-Reply-To: <000000000000d0437b05dffdd1de@google.com> From: Dmitry Vyukov Date: Fri, 27 May 2022 15:01:46 +0200 Message-ID: Subject: Re: [syzbot] riscv/fixes test error: lost connection to test machine To: syzbot Cc: aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, paul.walmsley@sifive.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SORTED_RECIPS,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=no 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 On Fri, 27 May 2022 at 14:55, syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: c932edeaf6d6 riscv: dts: microchip: fix gpio1 reg propert= y.. > 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=3D1418add5f0000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3Daa6b5702bdf14= a17 > dashboard link: https://syzkaller.appspot.com/bug?extid=3D2c5da6a0a16a0c4= f34aa > 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 comm= it: > Reported-by: syzbot+2c5da6a0a16a0c4f34aa@syzkaller.appspotmail.com The CONFIG_KASAN_VMALLOC allows riscv kernel to boot, but now Go processes started crashing with: 1970/01/01 00:06:55 fuzzer started runtime: lfstack.push invalid packing: node=3D0xffffff5908a940 cnt=3D0x1 packed=3D0xffff5908a9400001 -> node=3D0xffff5908a940 fatal error: lfstack.push runtime stack: runtime.throw({0x30884c, 0xc}) /usr/local/go/src/runtime/panic.go:1198 +0x60 runtime.(*lfstack).push(0xdb3850, 0xffffff5908a940) /usr/local/go/src/runtime/lfstack.go:30 +0x1a8 Go runtime tries to shove some data into the upper 16 bits of pointers assuming they are unused. However, the original pointer node=3D0xffffff5908a940 suggest riscv now has 56-bit users-space address space? Documentation/riscv/vm-layout.rst claims 48-bit pointers: " The RISC-V privileged architecture document states that the 64bit addresses "must have bits 63=E2=80=9348 all equal to bit 47, or else a page-fault exc= eption will occur.": ... 0000000000000000 | 0 | 0000003fffffffff | 256 GB | user-space virtual memory, different per mm "