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 C4AC7EB64DC for ; Mon, 3 Jul 2023 08:06:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231290AbjGCIGj (ORCPT ); Mon, 3 Jul 2023 04:06:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231281AbjGCIGY (ORCPT ); Mon, 3 Jul 2023 04:06:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60740E52 for ; Mon, 3 Jul 2023 01:05:42 -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 1EFB160C57 for ; Mon, 3 Jul 2023 08:05:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25C0EC433C7; Mon, 3 Jul 2023 08:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688371516; bh=agzuLGwMJnoQtsjjF+lM4RGUEzreGKDMB0+SK3+E2dw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mqoX0JWaaV/gNaHm1J7dEMzeudo6ev11Mty8a4tOlMB1fE3TmJl8OUWHHKP5vVWzV 2jQKJOwTBCWM1mSDWmra40R0JGyVaqYDr7pp5js6PE50DuSHA+hVmxYbgchtZdEFgV nHqsi0uMYbhi6io5a6Lp8EwV00LANMel8vBB5M8mYczLRC0MLKA3zbl4bAYsFrUTTX Qzf/j1VWc65OugpaZvf7K/c3ZmISy4X0MNaWvMpcVxu81KAE1pMaEFNT39+7TCd8no mirpgRpxKaqxMbszIXYyBp6MAaZAlKERbhM3z7Emf5Iy+XYgvrZ5zOHFBZjwR1ueE+ AZVkXExSlI4tw== Date: Mon, 3 Jul 2023 10:05:07 +0200 From: Christian Brauner To: syzbot Cc: davem@davemloft.net, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [kernel?] net-next test error: UBSAN: array-index-out-of-bounds in alloc_pid Message-ID: <20230703-singt-zander-141e01ea4000@brauner> References: <00000000000018bd0d05ff8e8ab2@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <00000000000018bd0d05ff8e8ab2@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 02, 2023 at 10:35:50PM -0700, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 3a8a670eeeaa Merge tag 'net-next-6.5' of git://git.kernel... > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1391a15f280000 > kernel config: https://syzkaller.appspot.com/x/.config?x=924167e3666ff54c > dashboard link: https://syzkaller.appspot.com/bug?extid=f02ef87ef8bbb97026bd > 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/580f71d6d107/disk-3a8a670e.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/7d94a5879cd1/vmlinux-3a8a670e.xz > kernel image: https://storage.googleapis.com/syzbot-assets/4ef3ba2a581e/bzImage-3a8a670e.xz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+f02ef87ef8bbb97026bd@syzkaller.appspotmail.com #syz fix: pid: Replace struct pid 1-element array with flex-array