From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796421008; b=dTJKpaUWPsdF6UtPWO1TeJiQN27IGn3FYU5ZbxteHTNbGgRSYBOdfug18mhIeFYkW+4d YlYspKkOB8gh4gZhaToXfyhS6dGADB2rDtzSKkqFK9KbxTxpbXa61zMFWxv3qi3wMHwuK KPDYhUSTlDdDI3cS2CLA7t5SeLk1/CI6wachpguBQtRBS9u9P0GhANmc3IxIYll8Gp35X JITFGcUGRNF+CHSVx3NJ9b7/iwI71+nfmaS8yz+xifu7icvQIGIYCj/Oq4bM3MLSIk+7S viEoscT2p6gRbhXkBSQxxx/DkbKDiC+Z0Hc12ecfTchwvrnVBBfL3BsWxmVDuqbkA2g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796421008; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=1UtDl3g88vyzbGHSvG5tFWuSR1JfIfnxBBlh4v5QCIU=; b=5b1cbf7Pwbo3LDcfCVhk1pTCvJP+2o3UeXCZNcaA05qXuFRCmXEds426FoivTR9DFCFi MXhbBxJTqsMwYVvt1fJSePriovV9ZXEkzrLBkBATFt9bWFvCqBDf9BEyWYXcilc/uxCFI DrsTpkOiuzabDC6btOZZNRW+oh6sI4EIw7wse89td+dqidzb5eaZGa67R0BzUaFAHYj0L XjaLLXcLkZz2O1aLwHBeKypxohmdSVWW/MSiZwbmPzvloUT4UwX96Da1eqUwH9CaJqYXs hJdn4npknsbV1u0gZcIad/B4KzfN8CkMBo2TcCn6o4NEy5SQMRedOZqw0O6TfYBz0Wg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h0feUa3q; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17219606A33D; Fri, 4 Dec 2026 21:50:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=h0feUa3q Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6D361F0093B; Fri, 4 Dec 2026 21:50:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796421007; bh=1UtDl3g88vyzbGHSvG5tFWuSR1JfIfnxBBlh4v5QCIU=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=h0feUa3q6el8t/N9MuREPzUADW5/QyeDWuWogSaI8oWvwCYvipRCBpKPTE0fUS2H2 fLhk/IG505JKxZt7HaOjjSTFaOfOrr8VVbb1EachY+EUtRXDPNZWVDC90/Qu0DGHha GWTyfNqUPXF+OA1J5DyDPk368c88bFxNSOk+h9rEiJ0lPoXBCVxwC6H5nGgtwWvCXX pLxZyBIxqsb1ibeLSgNV2NCHdUrWbMApXHafxwoDQ/pRc9KEfGqn8BlRRBmcJ9pwx/ rtEH7mII6FO9tDlgNS7H8kOjhyuZfhrhcnwvNCP9SIdn5GfeVHyK7e3o3BOlWvrt75 wp7riBEt6hoJQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 96BF53808236; Fri, 4 Dec 2026 21:50:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH bpf 0/4] lib/buildid: fix a few bugs From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179642100615.1910026.16065177291973387011.git-patchwork-notify@kernel.org> Date: Fri, 04 Dec 2026 21:50:06 +0000 References: <20261203163126.48697-1-mason@kernel.org> In-Reply-To: <20261203163126.48697-1-mason@kernel.org> To: Chris Mason Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, akpm@linux-foundation.org, eddyz87@gmail.com, memxor@gmail.com, martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev, jolsa@kernel.org, emil@etsalapatis.com, ihor.solodrai@linux.dev, linux-kernel@vger.kernel.org Hello: This series was applied to bpf/bpf.git (master) by Andrii Nakryiko : On Thu, 3 Dec 2026 11:31:22 -0500 you wrote: > Hi everyone, > > These are AI generated fixes for a few buildid bugs. > > Patches 1-3 add the checks that freader_fetch() needs before it calls > __kernel_read(). Without them, we can trigger a warning, overflow the > kernfs read buffer, or read from a socket. > > [...] Here is the summary with links: - [bpf,1/4] lib/buildid: check FMODE_READ before __kernel_read() https://git.kernel.org/bpf/bpf/c/cb634df2b91e - [bpf,2/4] lib/buildid: check the offset before __kernel_read() https://git.kernel.org/bpf/bpf/c/adfc32b685e8 - [bpf,3/4] lib/buildid: check the file type before __kernel_read() https://git.kernel.org/bpf/bpf/c/03b365971313 - [bpf,4/4] lib/buildid: limit the number of ELF notes per parse https://git.kernel.org/bpf/bpf/c/12af212c4ffa You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html