Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp418509pxf; Wed, 10 Mar 2021 08:47:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwu7O4fc7smX+jfd3XMNp2sRB7m4CN/Bq/TtC2870gujfVle9+4EQGjOm5mL1O/DMvyliyd X-Received: by 2002:a05:6402:95b:: with SMTP id h27mr4412374edz.93.1615394862624; Wed, 10 Mar 2021 08:47:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615394862; cv=none; d=google.com; s=arc-20160816; b=ZsWvq4gQpCuE67bD7pdQecIcEc59BNNWZf0viG0l7dlBFeyOX6XJGtxrb8gktngSvk MhrmFLW0dAKRS4qjVWpl3j5V33yO70cCuXupHsSqFwcmaMkmjP5h0PfO9zhJh9/a+nIp dp6IvQHKIQOmVl1tXb6hGCH7T+bllW/eDzmiHoW5tnjtRGQxRX0+NWUX+yRIOw8efbz/ cmSbuGlTP8AlLPieDeVPE7x5+6hu/51G9q5QqpewSNXje1abz8/Mmtp3KTI+YH5iUG9n mOpMahoWP1aloiotr+F7dLF66Zr+pcA18LnHpWFc8IVkNMjavhUGt2br86a6Kc4GQKiv JLpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=dNbHlhYE0Ak8ywIpAqhidmfhEn8ab4ogc1vEklKjLuM=; b=yWAzUlU9a8Brisy4pMkcssZoiiH28qaEaxrEzbEP8XZGIPM65cjLJmoeM5jTWxAIhT Pd3ZX725ispI2qdFfa1zrwb64hRye38PI+SziZnCbS1/dodTnH6Q3FrEkCMCMSq0yYqd FtQUimN7VVgi7Vx5DN2ae8QzOWsLy949bSa+QK9h4LZX6mqyplMx50onYY8K+WK/48B8 A9PhVzW8btYQaaT283c5zIlF8m7Xfnba8aNfjJuzPq4WHR1N2vvr6hmOr9Cbligasaph e3BWFd6zjeBm3BgvXReJ7GjEyDk7NclgrKtD0ciIcYEC3Agfyw1pHCPFvhKcb00mKxJj rElg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si11729816ejj.133.2021.03.10.08.47.18; Wed, 10 Mar 2021 08:47:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233498AbhCJQqR (ORCPT + 99 others); Wed, 10 Mar 2021 11:46:17 -0500 Received: from mail-il1-f198.google.com ([209.85.166.198]:42186 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233430AbhCJQqP (ORCPT ); Wed, 10 Mar 2021 11:46:15 -0500 Received: by mail-il1-f198.google.com with SMTP id r16so3735265ilj.9 for ; Wed, 10 Mar 2021 08:46:15 -0800 (PST) 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=dNbHlhYE0Ak8ywIpAqhidmfhEn8ab4ogc1vEklKjLuM=; b=F5E1/DbXHft0OUe9JIOUWK65Y+NWA3lxJGdx2gW9GuSebK5TjZ4umkk2qqxN+BKX5s TLw9ug52wG8Cs5z+s1R+2KnuHDczWLLRYFoFScrcVeEu4ZjcrqmxSSxU5bxFKVYXk6tX QwWjELir0d/BViah3PCBxbE3UavAk2h6ZrvoRizS/9JwK/sOBDsOI5MUostAL/V4DlbW luxntar6MS2dPt/Xy05j+GMk9XuuIm2DMILrYCXdQviaXFphRnxXzspUsI+79lCrYzwd oVInMg93mAx5/hsP/xBP+H9AAWGuabYP5GcPSLLjRFRTMK1Rl0Hp/d0Y4/O4jOYV88BI Tv7g== X-Gm-Message-State: AOAM5318v/06bf8vlYZjGlNH9mmNRqW4qLfQAPpwvfP5/JcF85fAtcLE wfs1agCaRCupw8aZBzc0zaH7TjNBweXg56i7udezKuUWW03v MIME-Version: 1.0 X-Received: by 2002:a02:c8d4:: with SMTP id q20mr3743659jao.90.1615394774664; Wed, 10 Mar 2021 08:46:14 -0800 (PST) Date: Wed, 10 Mar 2021 08:46:14 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000b74f1b05bd316729@google.com> Subject: [syzbot] BUG: unable to handle kernel access to user memory in schedule_tail From: syzbot To: bristot@redhat.com, bsegall@google.com, dietmar.eggemann@arm.com, juri.lelli@redhat.com, linux-kernel@vger.kernel.org, mgorman@suse.de, mingo@redhat.com, peterz@infradead.org, rostedt@goodmis.org, syzkaller-bugs@googlegroups.com, vincent.guittot@linaro.org 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=1212c6e6d00000 kernel config: https://syzkaller.appspot.com/x/.config?x=e3c595255fb2d136 dashboard link: https://syzkaller.appspot.com/bug?extid=e74b94fe601ab9552d69 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+e74b94fe601ab9552d69@syzkaller.appspotmail.com Unable to handle kernel access to user memory without uaccess routines at virtual address 000000002749f0d0 Oops [#1] Modules linked in: CPU: 1 PID: 4875 Comm: syz-executor.0 Not tainted 5.12.0-rc2-syzkaller-00467-g0d7588ab9ef9 #0 Hardware name: riscv-virtio,qemu (DT) epc : schedule_tail+0x72/0xb2 kernel/sched/core.c:4264 ra : task_pid_vnr include/linux/sched.h:1421 [inline] ra : schedule_tail+0x70/0xb2 kernel/sched/core.c:4264 epc : ffffffe00008c8b0 ra : ffffffe00008c8ae sp : ffffffe025d17ec0 gp : ffffffe005d25378 tp : ffffffe00f0d0000 t0 : 0000000000000000 t1 : 0000000000000001 t2 : 00000000000f4240 s0 : ffffffe025d17ee0 s1 : 000000002749f0d0 a0 : 000000000000002a a1 : 0000000000000003 a2 : 1ffffffc0cfac500 a3 : ffffffe0000c80cc a4 : 5ae9db91c19bbe00 a5 : 0000000000000000 a6 : 0000000000f00000 a7 : ffffffe000082eba s2 : 0000000000040000 s3 : ffffffe00eef96c0 s4 : ffffffe022c77fe0 s5 : 0000000000004000 s6 : ffffffe067d74e00 s7 : ffffffe067d74850 s8 : ffffffe067d73e18 s9 : ffffffe067d74e00 s10: ffffffe00eef96e8 s11: 000000ae6cdf8368 t3 : 5ae9db91c19bbe00 t4 : ffffffc4043cafb2 t5 : ffffffc4043cafba t6 : 0000000000040000 status: 0000000000000120 badaddr: 000000002749f0d0 cause: 000000000000000f Call Trace: [] schedule_tail+0x72/0xb2 kernel/sched/core.c:4264 [] ret_from_exception+0x0/0x14 Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace b5f8f9231dc87dda ]--- --- 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.