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 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 5AA1EC433F5 for ; Sun, 12 Sep 2021 10:41:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3926161076 for ; Sun, 12 Sep 2021 10:41:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233044AbhILKmb (ORCPT ); Sun, 12 Sep 2021 06:42:31 -0400 Received: from mail-il1-f198.google.com ([209.85.166.198]:54969 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbhILKmb (ORCPT ); Sun, 12 Sep 2021 06:42:31 -0400 Received: by mail-il1-f198.google.com with SMTP id t12-20020a92c0cc000000b00233376e19e4so1040261ilf.21 for ; Sun, 12 Sep 2021 03:41:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=BAjX2AkFDNKH19LZZYWbrkqCvuFRehf7ymn/cg3ceC0=; b=3Lncj6HZEnwFBQ3i7IwzABa3fhKDbCWdQ+bfBlCfTvq35csAwd75rg9LIacGelD6ph h9OlKcnRE71dZ7gcysp2CmwAmhaLFRsWNgp+1H3NrDKijKIJYfayom6k1ERCaG0syHCJ QfnB0tauXAMd046/XJL/RRtz62G+Et8qKtCQxorAA+Jd4/quIV4WeZriSHmTK31b09cR 89Evsf4S01LGcJmbzxsRN47ut4kiHqFUfJGbxRW/2c9WuUWepUlPDW5X3L8qJL6s8cex lASM9UHMPA18K/Q8bFnCjx2jcrV7vBs2+M/ydc3rheIZTv08dNGUtGZnz0p4p2y4FStl aeew== X-Gm-Message-State: AOAM5338/8cc7/GFN5GnrMkVOEaMDBzt4zMyjoeGZH+PSZSuCZhAnDM2 kAfaqeoNhpyK9jgeRLCEqhdVpaxg/eQ7+ZdEwdsghSb+nVlX X-Google-Smtp-Source: ABdhPJxBLhkP+lsamSOdAfVRoDbugO0ApB1zr09uxqaa9wtDcudadu3O+ExWe6kaPZkPpafpA7xZJ6Q5T9kTnWKn/HZgjSXVDvw8 MIME-Version: 1.0 X-Received: by 2002:a05:6e02:2194:: with SMTP id j20mr4005230ila.268.1631443277088; Sun, 12 Sep 2021 03:41:17 -0700 (PDT) Date: Sun, 12 Sep 2021 03:41:17 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000008cad05cbc9fdf2@google.com> Subject: [syzbot] riscv/fixes boot error: BUG: unable to handle kernel paging request in corrupted From: syzbot To: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, jmorris@namei.org, john.fastabend@gmail.com, kafai@fb.com, kpsingh@kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, netdev@vger.kernel.org, serge@hallyn.com, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, yhs@fb.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: Hello, syzbot found the following issue on: HEAD commit: 7d2a07b76933 Linux 5.14 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=150f460d300000 kernel config: https://syzkaller.appspot.com/x/.config?x=f8211b06020972e8 dashboard link: https://syzkaller.appspot.com/bug?extid=6dfe749a37c4895fd959 compiler: riscv64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1 userspace arch: riscv64 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+6dfe749a37c4895fd959@syzkaller.appspotmail.com Unable to handle kernel paging request at virtual address 0000000000400dc0 Oops [#1] Modules linked in: CPU: 0 PID: 2973 Comm: dhcpcd-run-hook Not tainted 5.14.0-syzkaller #0 Hardware name: riscv-virtio,qemu (DT) epc : slab_alloc_node mm/slub.c:2900 [inline] epc : slab_alloc mm/slub.c:2967 [inline] epc : __kmalloc+0xce/0x388 mm/slub.c:4111 ra : slab_pre_alloc_hook mm/slab.h:494 [inline] ra : slab_alloc_node mm/slub.c:2880 [inline] ra : slab_alloc mm/slub.c:2967 [inline] ra : __kmalloc+0x6e/0x388 mm/slub.c:4111 epc : ffffffff803e3568 ra : ffffffff803e3508 sp : ffffffe00b36ba70 gp : ffffffff83f967d8 tp : ffffffe0081ac740 t0 : 0000000000000000 t1 : 0000000000000001 t2 : 0000000000000000 s0 : ffffffe00b36bb10 s1 : ffffffe005602500 a0 : 0000000000000000 a1 : ffffffe00b36be5c a2 : 1ffffffc01035a0f a3 : 0000000000400dc0 a4 : 0000000000000001 a5 : ffffffff82e4b410 a6 : 0000000000f00000 a7 : ffffffff8038ca52 s2 : ffffffff83f96adc s3 : 0000000000400dc0 s4 : 0000000000000010 s5 : ffffffff807e81f8 s6 : ffffffff83f9a0d0 s7 : 0000000000000000 s8 : 0000000000400dc0 s9 : 0000000000000001 s10: 0000000000000000 s11: 0000000000000000 t3 : 2e9dd4183131c900 t4 : ffffffc7f0788989 t5 : ffffffc7f078898a t6 : ffffffe00b07e9c0 status: 0000000000000120 badaddr: 0000000000400dc0 cause: 000000000000000d [] slab_alloc_node mm/slub.c:2900 [inline] [] slab_alloc mm/slub.c:2967 [inline] [] __kmalloc+0xce/0x388 mm/slub.c:4111 [] kmalloc include/linux/slab.h:596 [inline] [] kzalloc+0x26/0x32 include/linux/slab.h:721 [] lsm_cred_alloc security/security.c:537 [inline] [] security_prepare_creds+0xde/0x106 security/security.c:1691 [] prepare_creds+0x40e/0x5ae kernel/cred.c:293 [] copy_creds+0x62/0x908 kernel/cred.c:367 [] copy_process+0xb52/0x3a98 kernel/fork.c:1992 [] kernel_clone+0x94/0x878 kernel/fork.c:2509 [] __do_sys_clone+0x84/0xac kernel/fork.c:2626 [] sys_clone+0x32/0x44 kernel/fork.c:2594 [] ret_from_syscall+0x0/0x2 ---[ end trace 90d68454cb946b7b ]--- --- 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.