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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03BF7C43334 for ; Fri, 22 Jul 2022 13:48:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbiGVNsk convert rfc822-to-8bit (ORCPT ); Fri, 22 Jul 2022 09:48:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235211AbiGVNsi (ORCPT ); Fri, 22 Jul 2022 09:48:38 -0400 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81ECD87F65 for ; Fri, 22 Jul 2022 06:48:34 -0700 (PDT) Received: by mail-io1-f72.google.com with SMTP id a26-20020a6b661a000000b0067be5b57f45so1757019ioc.16 for ; Fri, 22 Jul 2022 06:48:34 -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 :content-transfer-encoding; bh=mCsSQHuLkL2HnIjMOibznrVYHaKQx0++SvtSIli3YoQ=; b=VhyXkmRDVYC5pgflo+Pcym0tiIz1DK+HPSlPteNdrO3GiJOrlk8TVWb9vkjaComFfe R+ozcj+bgS0CxXz1PCEY7Vm7maSP0rdENnLfcrcxCm0D7qhFXO8HWTU2SKKVe3FzUwiq 91O+Lo5IAOXfWW8SC821/B+4jxWdoY7VcRtFi3L/v4pZyrk7CDcgCk87jEiZJ/3AUoqM mz4x9/O827TCI/XiRTIdHmwn16knEPQYwP6apZoCVpvqyq+At+kShjZVJU1kXaq7BsH5 4GOYpUaL8keHjh+ME4iqagHFVyKFA8HnagJJy6s/Z8H85M8SYPD/ZD4AgPMQmKuNfsPZ vwog== X-Gm-Message-State: AJIora8cP1sU3EDFvG9eD7tlnEhvYRXxefMEk68/MuVahsTK0xC2BnAp aOX3crrsotgxFOR8qS56IPiL3KHxHw7t6aRwBS+8FuQWNs45 X-Google-Smtp-Source: AGRyM1uCX9aS//Hi74av33BzZUVSo89iaYLQ5yLePnoyrKohzqss0410ihMAa0kVZxkemNUZ0HZL+ICVraskDJKsPvvTSUHtNS8d MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1b85:b0:2dc:c1c5:c444 with SMTP id h5-20020a056e021b8500b002dcc1c5c444mr7777ili.81.1658497713882; Fri, 22 Jul 2022 06:48:33 -0700 (PDT) Date: Fri, 22 Jul 2022 06:48:33 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000018cbe205e465173b@google.com> Subject: [syzbot] riscv/fixes boot error: WARNING in __apply_to_page_range From: syzbot To: andrii@kernel.org, aou@eecs.berkeley.edu, ast@kernel.org, bjorn@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, kafai@fb.com, kpsingh@kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, luke.r.nels@gmail.com, netdev@vger.kernel.org, palmer@dabbelt.com, paul.walmsley@sifive.com, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, xi.wang@gmail.com, yhs@fb.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: c1f6eff304e4 riscv: add as-options for modules with assemb.. 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=11e9576e080000 kernel config: https://syzkaller.appspot.com/x/.config?x=491348d73710a809 dashboard link: https://syzkaller.appspot.com/bug?extid=36ce1b73a1f7a4e0894b 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 commit: Reported-by: syzbot+36ce1b73a1f7a4e0894b@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1949 at mm/memory.c:2662 apply_to_pmd_range mm/memory.c:2662 [inline] WARNING: CPU: 1 PID: 1949 at mm/memory.c:2662 apply_to_pud_range mm/memory.c:2705 [inline] WARNING: CPU: 1 PID: 1949 at mm/memory.c:2662 apply_to_p4d_range mm/memory.c:2741 [inline] WARNING: CPU: 1 PID: 1949 at mm/memory.c:2662 __apply_to_page_range+0x898/0x10ac mm/memory.c:2775 Modules linked in: CPU: 1 PID: 1949 Comm: dhcpcd Not tainted 5.19.0-rc1-syzkaller-00004-gc1f6eff304e4 #0 Hardware name: riscv-virtio,qemu (DT) epc : apply_to_pmd_range mm/memory.c:2662 [inline] epc : apply_to_pud_range mm/memory.c:2705 [inline] epc : apply_to_p4d_range mm/memory.c:2741 [inline] epc : __apply_to_page_range+0x898/0x10ac mm/memory.c:2775 ra : apply_to_pmd_range mm/memory.c:2662 [inline] ra : apply_to_pud_range mm/memory.c:2705 [inline] ra : apply_to_p4d_range mm/memory.c:2741 [inline] ra : __apply_to_page_range+0x898/0x10ac mm/memory.c:2775 epc : ffffffff803fe6da ra : ffffffff803fe6da sp : ff20000013687380 gp : ffffffff85a89060 tp : ff60000010d96300 t0 : ff60000012046820 t1 : 00000000000f0000 t2 : ffffffff80437ed4 s0 : ff20000013687470 s1 : 0000000000000006 a0 : 0000000000000007 a1 : 00000000000f0000 a2 : ffffffff803fe6da a3 : 0000000000000002 a4 : ff60000010d97300 a5 : 0000000000000000 a6 : 0000000000000003 a7 : 0000000000000000 s2 : fffffffeef001000 s3 : 00000000371000e7 s4 : ff6000007a660bc0 s5 : fffffffeef001000 s6 : 0000000000001000 s7 : 0000000000000001 s8 : ffffffff804a840e s9 : 0000000000000000 s10: fffffffeef000000 s11: 0000000000000000 t3 : fffffffff3f3f300 t4 : fffffffef09c69dc t5 : fffffffef09c69dd t6 : ff6000000f3902e8 status: 0000000000000120 badaddr: 0000000000000000 cause: 0000000000000003 [] apply_to_page_range+0x34/0x46 mm/memory.c:2794 [] kasan_populate_vmalloc+0x52/0x5e mm/kasan/shadow.c:302 [] alloc_vmap_area+0x950/0x1340 mm/vmalloc.c:1594 [] __get_vm_area_node.constprop.0+0x256/0x378 mm/vmalloc.c:2453 [] __vmalloc_node_range+0x130/0xbc2 mm/vmalloc.c:3125 [] bpf_jit_alloc_exec+0x46/0x52 arch/riscv/net/bpf_jit_core.c:184 [] bpf_jit_binary_alloc+0x96/0x144 kernel/bpf/core.c:1056 [] bpf_int_jit_compile+0x78e/0x9a4 arch/riscv/net/bpf_jit_core.c:111 [] bpf_prog_select_runtime+0x1a2/0x22e kernel/bpf/core.c:2219 [] bpf_migrate_filter+0x258/0x2be net/core/filter.c:1295 [] bpf_prepare_filter net/core/filter.c:1343 [inline] [] __get_filter+0x1d6/0x2d0 net/core/filter.c:1512 [] sk_attach_filter+0x22/0x11a net/core/filter.c:1527 [] sock_setsockopt+0x13ea/0x20b2 net/core/sock.c:1253 [] __sys_setsockopt+0x422/0x480 net/socket.c:2255 [] __do_sys_setsockopt net/socket.c:2270 [inline] [] sys_setsockopt+0x3a/0x4c net/socket.c:2267 [] ret_from_syscall+0x0/0x2 irq event stamp: 908 hardirqs last enabled at (907): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (907): [] _raw_spin_unlock_irqrestore+0x68/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (908): [] __trace_hardirqs_off+0x18/0x20 arch/riscv/kernel/trace_irq.c:25 softirqs last enabled at (896): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (896): [] __do_softirq+0x618/0x8fc kernel/softirq.c:600 softirqs last disabled at (877): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (877): [] invoke_softirq kernel/softirq.c:452 [inline] softirqs last disabled at (877): [] __irq_exit_rcu+0x142/0x1f8 kernel/softirq.c:650 ---[ end trace 0000000000000000 ]--- dhcpcd: vmalloc error: size 4096, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0 CPU: 1 PID: 1949 Comm: dhcpcd Tainted: G W 5.19.0-rc1-syzkaller-00004-gc1f6eff304e4 #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:111 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:117 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:106 [] dump_stack+0x1c/0x24 lib/dump_stack.c:113 [] warn_alloc+0x170/0x212 mm/page_alloc.c:4271 [] __vmalloc_node_range+0x16e/0xbc2 mm/vmalloc.c:3130 [] bpf_jit_alloc_exec+0x46/0x52 arch/riscv/net/bpf_jit_core.c:184 [] bpf_jit_binary_alloc+0x96/0x144 kernel/bpf/core.c:1056 [] bpf_int_jit_compile+0x78e/0x9a4 arch/riscv/net/bpf_jit_core.c:111 [] bpf_prog_select_runtime+0x1a2/0x22e kernel/bpf/core.c:2219 [] bpf_migrate_filter+0x258/0x2be net/core/filter.c:1295 [] bpf_prepare_filter net/core/filter.c:1343 [inline] [] __get_filter+0x1d6/0x2d0 net/core/filter.c:1512 [] sk_attach_filter+0x22/0x11a net/core/filter.c:1527 [] sock_setsockopt+0x13ea/0x20b2 net/core/sock.c:1253 [] __sys_setsockopt+0x422/0x480 net/socket.c:2255 [] __do_sys_setsockopt net/socket.c:2270 [inline] [] sys_setsockopt+0x3a/0x4c net/socket.c:2267 [] ret_from_syscall+0x0/0x2 Mem-Info: active_anon:27 inactive_anon:479 isolated_anon:0 active_file:632 inactive_file:81 isolated_file:0 unevictable:768 dirty:9 writeback:0 slab_reclaimable:4694 slab_unreclaimable:17966 mapped:420 shmem:795 pagetables:93 bounce:0 kernel_misc_reclaimable:0 free:288376 free_pcp:778 free_cma:4096 Node 0 active_anon:108kB inactive_anon:1916kB active_file:2528kB inactive_file:324kB unevictable:3072kB isolated(anon):0kB isolated(file):0kB mapped:1680kB dirty:36kB writeback:0kB shmem:3180kB writeback_tmp:0kB kernel_stack:4472kB pagetables:372kB all_unreclaimable? no Node 0 DMA32 free:1153504kB boost:0kB min:4656kB low:6012kB high:7368kB reserved_highatomic:0KB active_anon:108kB inactive_anon:1916kB active_file:2528kB inactive_file:324kB unevictable:3072kB writepending:36kB present:2095104kB managed:1359072kB mlocked:0kB bounce:0kB free_pcp:3112kB local_pcp:1876kB free_cma:16384kB lowmem_reserve[]: 0 0 0 Node 0 DMA32: 76*4kB (UME) 70*8kB (UME) 42*16kB (UME) 15*32kB (UME) 4*64kB (UME) 6*128kB (UME) 2*256kB (UE) 2*512kB (UM) 2*1024kB (UM) 2*2048kB (C) 279*4096kB (MC) = 1153504kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB Node 0 hugepages_total=4 hugepages_free=4 hugepages_surp=0 hugepages_size=2048kB 1509 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 523776 pages RAM 0 pages HighMem/MovableOnly 184008 pages reserved 4096 pages cma reserved --- 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. 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C4E0BC433EF for ; Fri, 22 Jul 2022 13:48:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:Subject:Message-ID:Date: MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=ISJZOPw8ZvsWtjPlUEJWmBLQy9w5XQUU9n/w9ipSx6Y=; b=tJI XWOE5B5sRuIeYobjOyO0gRRo7ELDXsGafpB4FkCNLvAbrPOY5zdGMh3fk8gn3zKtOGhZzi2E6bLOP KNWsVkOGKhkrzJzjBeBScgDxgvZazfiZvWzFdV5MMzN6tthrvEb8haquXoqHPpMYpx/mx49ISkJHC k2AKaAUHYW6GjIU5TAXwrjLcDFFQhkXTUNjaJnReT6fLUj3JEFxgtcdHzH2cYRpN2+jeeC+NirkF+ ivWtKBKVv0VqHvHiydhFjDYEqc3iK9nLCl4bgsiDNNBYtztUQoTA6OAG+bc3snd5Tm2hERQpQF1xL Gs9WJN1q5JDda3gILl9m5/srgXNRNuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEt1E-005J26-Pm; Fri, 22 Jul 2022 13:48:40 +0000 Received: from mail-il1-f198.google.com ([209.85.166.198]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEt1B-005Itq-ID for linux-riscv@lists.infradead.org; Fri, 22 Jul 2022 13:48:39 +0000 Received: by mail-il1-f198.google.com with SMTP id k1-20020a056e021a8100b002dccedf8a35so2797294ilv.14 for ; Fri, 22 Jul 2022 06:48:34 -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 :content-transfer-encoding; bh=mCsSQHuLkL2HnIjMOibznrVYHaKQx0++SvtSIli3YoQ=; b=VT8YXafrrDKiz1oAtp/pVkJL9B81Q4R7vIIc3ZLjYSBYolSZPfwkk1lAkYOKIGhAzl 0aHJWw6lMtOUUyABDRfpEL7eAT28Qwz2DNp+zz9fVSpMQRRqNXV17UCVD1IgaWdiS58v ZeG4tVLiTsThCUNK40ovghyJ9LvdTHpt/X8HZvMLB49aaSdM4OVc26oWFf8fi9/74Gm/ sGujmfmA5BeZNvgVCxb53r1MnXYMtcJBIn6apMiguLXKcmC6MybGMSf1Enp5mSkWti9U VjZaEKNCIyoWS8xQQ2baHZ7ZyVJoatwF5ONcn6ar45Bsvx8SlR2fkn+lo+HeR0Dar8oU 8+zA== X-Gm-Message-State: AJIora+RrJMrIXEa3YWXDIWbkr+fVmz8yGasQcrFLtC2UVK3nAJXJ4Io dL1A/T30X2HHf4p2fr+pZYGl2aIIuxJO++yljXVE78fjTslZ X-Google-Smtp-Source: AGRyM1uCX9aS//Hi74av33BzZUVSo89iaYLQ5yLePnoyrKohzqss0410ihMAa0kVZxkemNUZ0HZL+ICVraskDJKsPvvTSUHtNS8d MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1b85:b0:2dc:c1c5:c444 with SMTP id h5-20020a056e021b8500b002dcc1c5c444mr7777ili.81.1658497713882; Fri, 22 Jul 2022 06:48:33 -0700 (PDT) Date: Fri, 22 Jul 2022 06:48:33 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000018cbe205e465173b@google.com> Subject: [syzbot] riscv/fixes boot error: WARNING in __apply_to_page_range From: syzbot To: andrii@kernel.org, aou@eecs.berkeley.edu, ast@kernel.org, bjorn@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, john.fastabend@gmail.com, kafai@fb.com, kpsingh@kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, luke.r.nels@gmail.com, netdev@vger.kernel.org, palmer@dabbelt.com, paul.walmsley@sifive.com, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, xi.wang@gmail.com, yhs@fb.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220722_064837_623578_F0565CB5 X-CRM114-Status: UNSURE ( 5.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Hello, syzbot found the following issue on: HEAD commit: c1f6eff304e4 riscv: add as-options for modules with assemb.. 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=11e9576e080000 kernel config: https://syzkaller.appspot.com/x/.config?x=491348d73710a809 dashboard link: https://syzkaller.appspot.com/bug?extid=36ce1b73a1f7a4e0894b 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 commit: Reported-by: syzbot+36ce1b73a1f7a4e0894b@syzkaller.appspotmail.com ------------[ cut here ]------------ WARNING: CPU: 1 PID: 1949 at mm/memory.c:2662 apply_to_pmd_range mm/memory.c:2662 [inline] WARNING: CPU: 1 PID: 1949 at mm/memory.c:2662 apply_to_pud_range mm/memory.c:2705 [inline] WARNING: CPU: 1 PID: 1949 at mm/memory.c:2662 apply_to_p4d_range mm/memory.c:2741 [inline] WARNING: CPU: 1 PID: 1949 at mm/memory.c:2662 __apply_to_page_range+0x898/0x10ac mm/memory.c:2775 Modules linked in: CPU: 1 PID: 1949 Comm: dhcpcd Not tainted 5.19.0-rc1-syzkaller-00004-gc1f6eff304e4 #0 Hardware name: riscv-virtio,qemu (DT) epc : apply_to_pmd_range mm/memory.c:2662 [inline] epc : apply_to_pud_range mm/memory.c:2705 [inline] epc : apply_to_p4d_range mm/memory.c:2741 [inline] epc : __apply_to_page_range+0x898/0x10ac mm/memory.c:2775 ra : apply_to_pmd_range mm/memory.c:2662 [inline] ra : apply_to_pud_range mm/memory.c:2705 [inline] ra : apply_to_p4d_range mm/memory.c:2741 [inline] ra : __apply_to_page_range+0x898/0x10ac mm/memory.c:2775 epc : ffffffff803fe6da ra : ffffffff803fe6da sp : ff20000013687380 gp : ffffffff85a89060 tp : ff60000010d96300 t0 : ff60000012046820 t1 : 00000000000f0000 t2 : ffffffff80437ed4 s0 : ff20000013687470 s1 : 0000000000000006 a0 : 0000000000000007 a1 : 00000000000f0000 a2 : ffffffff803fe6da a3 : 0000000000000002 a4 : ff60000010d97300 a5 : 0000000000000000 a6 : 0000000000000003 a7 : 0000000000000000 s2 : fffffffeef001000 s3 : 00000000371000e7 s4 : ff6000007a660bc0 s5 : fffffffeef001000 s6 : 0000000000001000 s7 : 0000000000000001 s8 : ffffffff804a840e s9 : 0000000000000000 s10: fffffffeef000000 s11: 0000000000000000 t3 : fffffffff3f3f300 t4 : fffffffef09c69dc t5 : fffffffef09c69dd t6 : ff6000000f3902e8 status: 0000000000000120 badaddr: 0000000000000000 cause: 0000000000000003 [] apply_to_page_range+0x34/0x46 mm/memory.c:2794 [] kasan_populate_vmalloc+0x52/0x5e mm/kasan/shadow.c:302 [] alloc_vmap_area+0x950/0x1340 mm/vmalloc.c:1594 [] __get_vm_area_node.constprop.0+0x256/0x378 mm/vmalloc.c:2453 [] __vmalloc_node_range+0x130/0xbc2 mm/vmalloc.c:3125 [] bpf_jit_alloc_exec+0x46/0x52 arch/riscv/net/bpf_jit_core.c:184 [] bpf_jit_binary_alloc+0x96/0x144 kernel/bpf/core.c:1056 [] bpf_int_jit_compile+0x78e/0x9a4 arch/riscv/net/bpf_jit_core.c:111 [] bpf_prog_select_runtime+0x1a2/0x22e kernel/bpf/core.c:2219 [] bpf_migrate_filter+0x258/0x2be net/core/filter.c:1295 [] bpf_prepare_filter net/core/filter.c:1343 [inline] [] __get_filter+0x1d6/0x2d0 net/core/filter.c:1512 [] sk_attach_filter+0x22/0x11a net/core/filter.c:1527 [] sock_setsockopt+0x13ea/0x20b2 net/core/sock.c:1253 [] __sys_setsockopt+0x422/0x480 net/socket.c:2255 [] __do_sys_setsockopt net/socket.c:2270 [inline] [] sys_setsockopt+0x3a/0x4c net/socket.c:2267 [] ret_from_syscall+0x0/0x2 irq event stamp: 908 hardirqs last enabled at (907): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (907): [] _raw_spin_unlock_irqrestore+0x68/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (908): [] __trace_hardirqs_off+0x18/0x20 arch/riscv/kernel/trace_irq.c:25 softirqs last enabled at (896): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (896): [] __do_softirq+0x618/0x8fc kernel/softirq.c:600 softirqs last disabled at (877): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (877): [] invoke_softirq kernel/softirq.c:452 [inline] softirqs last disabled at (877): [] __irq_exit_rcu+0x142/0x1f8 kernel/softirq.c:650 ---[ end trace 0000000000000000 ]--- dhcpcd: vmalloc error: size 4096, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0 CPU: 1 PID: 1949 Comm: dhcpcd Tainted: G W 5.19.0-rc1-syzkaller-00004-gc1f6eff304e4 #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:111 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:117 [] __dump_stack lib/dump_stack.c:88 [inline] [] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:106 [] dump_stack+0x1c/0x24 lib/dump_stack.c:113 [] warn_alloc+0x170/0x212 mm/page_alloc.c:4271 [] __vmalloc_node_range+0x16e/0xbc2 mm/vmalloc.c:3130 [] bpf_jit_alloc_exec+0x46/0x52 arch/riscv/net/bpf_jit_core.c:184 [] bpf_jit_binary_alloc+0x96/0x144 kernel/bpf/core.c:1056 [] bpf_int_jit_compile+0x78e/0x9a4 arch/riscv/net/bpf_jit_core.c:111 [] bpf_prog_select_runtime+0x1a2/0x22e kernel/bpf/core.c:2219 [] bpf_migrate_filter+0x258/0x2be net/core/filter.c:1295 [] bpf_prepare_filter net/core/filter.c:1343 [inline] [] __get_filter+0x1d6/0x2d0 net/core/filter.c:1512 [] sk_attach_filter+0x22/0x11a net/core/filter.c:1527 [] sock_setsockopt+0x13ea/0x20b2 net/core/sock.c:1253 [] __sys_setsockopt+0x422/0x480 net/socket.c:2255 [] __do_sys_setsockopt net/socket.c:2270 [inline] [] sys_setsockopt+0x3a/0x4c net/socket.c:2267 [] ret_from_syscall+0x0/0x2 Mem-Info: active_anon:27 inactive_anon:479 isolated_anon:0 active_file:632 inactive_file:81 isolated_file:0 unevictable:768 dirty:9 writeback:0 slab_reclaimable:4694 slab_unreclaimable:17966 mapped:420 shmem:795 pagetables:93 bounce:0 kernel_misc_reclaimable:0 free:288376 free_pcp:778 free_cma:4096 Node 0 active_anon:108kB inactive_anon:1916kB active_file:2528kB inactive_file:324kB unevictable:3072kB isolated(anon):0kB isolated(file):0kB mapped:1680kB dirty:36kB writeback:0kB shmem:3180kB writeback_tmp:0kB kernel_stack:4472kB pagetables:372kB all_unreclaimable? no Node 0 DMA32 free:1153504kB boost:0kB min:4656kB low:6012kB high:7368kB reserved_highatomic:0KB active_anon:108kB inactive_anon:1916kB active_file:2528kB inactive_file:324kB unevictable:3072kB writepending:36kB present:2095104kB managed:1359072kB mlocked:0kB bounce:0kB free_pcp:3112kB local_pcp:1876kB free_cma:16384kB lowmem_reserve[]: 0 0 0 Node 0 DMA32: 76*4kB (UME) 70*8kB (UME) 42*16kB (UME) 15*32kB (UME) 4*64kB (UME) 6*128kB (UME) 2*256kB (UE) 2*512kB (UM) 2*1024kB (UM) 2*2048kB (C) 279*4096kB (MC) = 1153504kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB Node 0 hugepages_total=4 hugepages_free=4 hugepages_surp=0 hugepages_size=2048kB 1509 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 523776 pages RAM 0 pages HighMem/MovableOnly 184008 pages reserved 4096 pages cma reserved --- 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. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv