Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25830491rwd; Mon, 3 Jul 2023 01:24:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ62jGsD0l2qzNBLz39SNkr/rX34brPoVo7z+VYyJB7ddHbdLI+qDqaWa6qFys/hQDYBR1Ro X-Received: by 2002:a05:620a:8791:b0:75b:23a1:361c with SMTP id py17-20020a05620a879100b0075b23a1361cmr8913674qkn.45.1688372693512; Mon, 03 Jul 2023 01:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688372693; cv=none; d=google.com; s=arc-20160816; b=M5kIX1qGXOwrAqk/iH3q2TO4D3/AezKHFQY+SgpiPm/yNRivxnhcam6RxlbkukAjXK INFjkg7SSB0VRJLq48ERvvsXlul7uIsX9ONW5xsJKnOkOh65NlOA/byz26M73R+05k0m Wxls1NTcc3YMkBC1iIxy0T5CsFx3WhyWq/3WcqiXkpxsBACd9+OpLsVO+v0iq+uPhJ4+ W8wDAnURLaRdQRV+IQv38nrm8Y/w728D8hseiZIp2Zxccut6Wf1gb9Fms+VFB1tuSdwZ 9hW9nC9RsPpEnBahHRFTrT+AcZlwgwVjEGtOKjlApup9n+a/CtucULe7GIaqmTNtLPsb VBnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=m9QGLB28fGKYyHDO8dl59LCWIv+/bT058zBc0eaxBo4=; fh=/avIPjDwWgcMW00EKVe7y0eAEfh2mqjBLS6h3BbzISw=; b=f6SS2YGyv8e/AqIJ5Zrtb/APkpen34KLINGNq5QJKFyp17aiMBQ3B12WrzOHjHeBeH ovlBMTPP9ojih3bsgTMSlbmVcaILmqHH9CY2Ji+EX02wOtHtoW5s69XU1qwi+ISjpb1v JDcuZ41llhyCRVdCTveH9pgN1RFobg73zUe7WGBlRmDLMlLkLs/Ykr9NFprOHJvb9M3W TyXZvnELl61Px89T40Zt9ubeXhBxdkQd36YNC9kucmpfrf5Zx+trhd7TlqlXp/7lB3bs ElzCakIw/jKuI4nPE2vts5AvkeBftby/rjI5OuZywiIJR3Lt/JGZY+vRoMzCC8bSZ40T f6UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jTPqxj06; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv15-20020a056a00414f00b00679dc747760si13834203pfb.353.2023.07.03.01.24.39; Mon, 03 Jul 2023 01:24:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jTPqxj06; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230085AbjGCIAU (ORCPT + 99 others); Mon, 3 Jul 2023 04:00:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229597AbjGCIAS (ORCPT ); Mon, 3 Jul 2023 04:00:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ED501BC for ; Mon, 3 Jul 2023 01:00:17 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 347F360DDA for ; Mon, 3 Jul 2023 08:00:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CE8CC433C9; Mon, 3 Jul 2023 08:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688371216; bh=mfBAAuieedzUUs3qgaQmmXswARyTxd8nTL+YXcVHBmc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jTPqxj067fyYjuu4zOJCONAYbjtIBxedIC8PtL8VmaO3lv1WW3QNNrRMWrrOtaD6I 1/D7Ad8oa5bi8PruHWox4sMeq1+StfqVotgUUj49XHbqym3bMTBb9d9n2bjaUttsPa YBzL8ovv1P8J7s/IAdy51DO9UenHmDopSHL2q2bht2nyB5dZm2xmLz0DNEdTcIJ20F 2jeK7fC3PlrC8oyj+YKs88tUw4NZeOzD9vRxS4F2fpOE6a7aGiAwEID+DhS1fshvnT AExFedmYAR+LZKj/1bq3C2asW1LFOdYvJjVUA8nvTLN9Z9ULFfuC6dPjVuEAw1hlAp Mf089WPRVX7BA== Date: Mon, 3 Jul 2023 10:00:12 +0200 From: Christian Brauner To: syzbot Cc: ast@kernel.org, daniel@iogearbox.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [kernel?] bpf-next test error: UBSAN: array-index-out-of-bounds in alloc_pid Message-ID: <20230703-futsch-kuscheln-4c8d468de26b@brauner> References: <000000000000246c3f05ff8fea48@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <000000000000246c3f05ff8fea48@google.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 03, 2023 at 12:14:17AM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: c20f9cef725b Merge branch 'libbpf: add netfilter link atta.. > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=127adbfb280000 > kernel config: https://syzkaller.appspot.com/x/.config?x=924167e3666ff54c > dashboard link: https://syzkaller.appspot.com/bug?extid=319a9b09e5de1ecae1e1 > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/bf9c9608a1e0/disk-c20f9cef.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/3bde4e994bd0/vmlinux-c20f9cef.xz > kernel image: https://storage.googleapis.com/syzbot-assets/5d80f8634183/bzImage-c20f9cef.xz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+319a9b09e5de1ecae1e1@syzkaller.appspotmail.com #syz fix: pid: Replace struct pid 1-element array with flex-array