From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43E75A34 for ; Mon, 3 Jul 2023 08:01:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEA67C433CA; Mon, 3 Jul 2023 08:01:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688371265; bh=agzuLGwMJnoQtsjjF+lM4RGUEzreGKDMB0+SK3+E2dw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nDhYQVpMiT85jIQKoUXuGF472rR33W+PW/sHjB5DocAzcEeLuQP70RZVV7H9oBVgn ufvAHUIA9najPFqYMerpqkw51QccC6fghwHNtMN2pyshFKnrndj3u0j/outTdRY9md QM1OKcjhdKtPhZzIH6ngfp2oOL3VizuCP1X2rQMf8tF92m4bUlZUO3WgtXBXdwqRTK J5/wkimdQaVbP7AEewXCRh4Wt53vkuagKM3dhhdT8EUoKXDBNcZoPebShf1G7efe4e ATxsEhVHY9Wkos2gPduAeCRlrCj+fvqVEIKk3GlddUZgKgiHQ/00/6AsGwJcm27wz2 WF6vunKfVlTeQ== Date: Mon, 3 Jul 2023 10:01:01 +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-finte-einundzwanzig-64713a7d6dda@brauner> References: <00000000000018bd0d05ff8e8ab2@google.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <00000000000018bd0d05ff8e8ab2@google.com> 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