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=unavailable 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 0E408C433E6 for ; Wed, 10 Mar 2021 18:28:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D14BD64FBA for ; Wed, 10 Mar 2021 18:28:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233478AbhCJS2U (ORCPT ); Wed, 10 Mar 2021 13:28:20 -0500 Received: from mail-io1-f70.google.com ([209.85.166.70]:56780 "EHLO mail-io1-f70.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233615AbhCJS2Q (ORCPT ); Wed, 10 Mar 2021 13:28:16 -0500 Received: by mail-io1-f70.google.com with SMTP id y2so13452006ioa.23 for ; Wed, 10 Mar 2021 10:28:16 -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=dWnpxusVnWPr+rcJeULtT4fXHPYoawfba2p1aaq6XSA=; b=DeseWMkDrr8ONsWOtXI4T7HPXRXt9NHl/kKrid6h2SLRQfAxJPxY1PwdfnYqK0np9J diJywjUrqg25MM4Zw+iYcQGg1fJBBY49f0dX70pD5aXaSEtcRDB0iG58uUEaOga6yny1 jqprNGKLN9+VY8TR3Nr63WKzpRGupwO2U+hNuqO8qVDFCcnW6qlXssbDepSPs7j7wqc3 k6jWo8v3gklrDS2JKZXgeW58jzU2GnHB6afBDkTS5evNLvyxVbIIVI+t0//c9tiWy/aw 50HYnwuCOWG3Oo2/kqD56DvmcuYCUFouC7NuIsD2aOG6ElLCkTBq+lzmoWYcQb2Q8XxG 08jw== X-Gm-Message-State: AOAM531L7e60dopig+cVZS1aQ9SNDtbZAbpe9odcuTpXqksAreZ/AIVs 6sERuyMBRWwPOGrfOYTVvLBOuv35BR+dxCendoJeURKpPwWu X-Google-Smtp-Source: ABdhPJx/W+DGdwc0MBak58Y2XiC1RAxBcNNIPGImIFRLConkbFmwYSAHDTVxc4h21wvES82j7S8emtvKEcCMLvwIVXdkzgh9C01b MIME-Version: 1.0 X-Received: by 2002:a5d:9693:: with SMTP id m19mr3153243ion.46.1615400896209; Wed, 10 Mar 2021 10:28:16 -0800 (PST) Date: Wed, 10 Mar 2021 10:28:16 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000096cdaa05bd32d46f@google.com> Subject: [syzbot] BUG: unable to handle kernel access to user memory in sock_ioctl From: syzbot To: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, davem@davemloft.net, john.fastabend@gmail.com, kafai@fb.com, kpsingh@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, yhs@fb.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: netdev@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=122c343ad00000 kernel config: https://syzkaller.appspot.com/x/.config?x=e3c595255fb2d136 dashboard link: https://syzkaller.appspot.com/bug?extid=c23c5421600e9b454849 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+c23c5421600e9b454849@syzkaller.appspotmail.com Unable to handle kernel access to user memory without uaccess routines at virtual address 0000000020000300 Oops [#1] Modules linked in: CPU: 1 PID: 4488 Comm: syz-executor.0 Not tainted 5.12.0-rc2-syzkaller-00467-g0d7588ab9ef9 #0 Hardware name: riscv-virtio,qemu (DT) epc : sock_ioctl+0x424/0x6ac net/socket.c:1124 ra : sock_ioctl+0x424/0x6ac net/socket.c:1124 epc : ffffffe002aeeb3e ra : ffffffe002aeeb3e sp : ffffffe023867da0 gp : ffffffe005d25378 tp : ffffffe007e116c0 t0 : 0000000000000000 t1 : 0000000000000001 t2 : 0000003fb8035e44 s0 : ffffffe023867e30 s1 : 0000000000040000 a0 : 0000000000000000 a1 : 0000000000000007 a2 : 1ffffffc00fc22d8 a3 : ffffffe003bc1d02 a4 : 0000000000000000 a5 : 0000000000000000 a6 : 0000000000f00000 a7 : ffffffe000082eba s2 : 0000000000000000 s3 : 0000000000008902 s4 : 0000000020000300 s5 : ffffffe005d2b0d0 s6 : ffffffe010facfc0 s7 : ffffffe008e00000 s8 : 0000000000008903 s9 : ffffffe010fad080 s10: 0000000000000000 s11: 0000000000020000 t3 : 982de389919f6300 t4 : ffffffc401175688 t5 : ffffffc401175691 t6 : 0000000000000007 status: 0000000000000120 badaddr: 0000000020000300 cause: 000000000000000f Call Trace: [] sock_ioctl+0x424/0x6ac net/socket.c:1124 [] vfs_ioctl fs/ioctl.c:48 [inline] [] __do_sys_ioctl fs/ioctl.c:753 [inline] [] sys_ioctl+0x5c2/0xd56 fs/ioctl.c:739 [] ret_from_syscall+0x0/0x2 Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace a5f91e70f37b907b ]--- --- 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.