From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7502CC433DB for ; Sun, 14 Mar 2021 10:15:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 36B4164EBE for ; Sun, 14 Mar 2021 10:15:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235127AbhCNKOh (ORCPT ); Sun, 14 Mar 2021 06:14:37 -0400 Received: from mail-il1-f200.google.com ([209.85.166.200]:40379 "EHLO mail-il1-f200.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbhCNKOR (ORCPT ); Sun, 14 Mar 2021 06:14:17 -0400 Received: by mail-il1-f200.google.com with SMTP id j7so22056754ilu.7 for ; Sun, 14 Mar 2021 03:14:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=WafNR8e0K5yPQ32bCZ5pMiDA8TEADdUHeTC/5LuPOzg=; b=PJHmU6733pqec/qBOsdxLp6Edw9A/MFUXq8okS/ZZtN3vcjF9082hde6NWpuPUShyN XOVqem2cHuyjckuOVYdfQLhXxmUgCU2SUkgE+ygGtKvypzY+LMJnBcmmJdPjKytGSgj+ uVkCFnYtlnm04Rgnbr7hiQUZxI5KMtxcRZ/I2hHh+xO3H7S7xO08JcBaaYEGfrJnfcwd AFv3oa22JwUJjqwEFpKthFUD0QBCweU+q8jzSwP/bHbxZSC1/nZVYFo77D7LkHeCmD5W Hl8n7sTEdHKpqVP81wRJY0SfElGGNaO8wzKwiMhvMsHpP3EgnUvHpm5MlEphMV2ndesv Lu8Q== X-Gm-Message-State: AOAM5330+a2Rq4XmntEVT6FJywHgVCN57MeqAOqg6i2+IS3ho8orMtQJ pjjrdXaud4PSTaA9HmL8kfk1HPBayJNUeSiH5zYXxy37FdQ7 X-Google-Smtp-Source: ABdhPJxVWhSpp8/s18ez/4uIHDbB0TIe2B/4JN0BufoW60aKG78vXVD76RCJ1PkIEMoRsY1KqByvMG9q/rYe4hmBqh29YIdFFyVY MIME-Version: 1.0 X-Received: by 2002:a5d:9510:: with SMTP id d16mr4350495iom.81.1615716857325; Sun, 14 Mar 2021 03:14:17 -0700 (PDT) Date: Sun, 14 Mar 2021 03:14:17 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000056b18b05bd7c6511@google.com> Subject: [syzbot] KASAN: slab-out-of-bounds Read in riscv_intc_irq From: syzbot To: aou@eecs.berkeley.edu, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, maz@kernel.org, palmer@dabbelt.com, paul.walmsley@sifive.com, syzkaller-bugs@googlegroups.com, tglx@linutronix.de Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 0d7588ab riscv: process: Fix no prototype for arch_dup_tas.. 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=15a35756d00000 kernel config: https://syzkaller.appspot.com/x/.config?x=81c0b708b31626cc dashboard link: https://syzkaller.appspot.com/bug?extid=005654dd9b8f26bd4c07 userspace arch: riscv64 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+005654dd9b8f26bd4c07@syzkaller.appspotmail.com ================================================================== BUG: KASAN: slab-out-of-bounds in riscv_intc_irq+0x24/0xcc drivers/irqchip/irq-riscv-intc.c:24 Read of size 8 at addr ffffffe00c963bd0 by task kworker/1:1/4388 CPU: 1 PID: 4388 Comm: kworker/1:1 Not tainted 5.12.0-rc2-syzkaller-00467-g0d7588ab9ef9 #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: events nsim_dev_trap_report_work Call Trace: [] walk_stackframe+0x0/0x23c arch/riscv/kernel/traps.c:201 Allocated by task 76347056: (stack is not available) Last potentially related work creation: --- 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 syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.