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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 68901C83F1D for ; Sat, 12 Jul 2025 13:11:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DEA2610E02B; Sat, 12 Jul 2025 13:11:33 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="AdOw9usO"; dkim-atps=neutral Received: from nyc.source.kernel.org (nyc.source.kernel.org [147.75.193.91]) by gabe.freedesktop.org (Postfix) with ESMTPS id 412FE10E02B for ; Sat, 12 Jul 2025 13:11:33 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id DA209A54BA7; Sat, 12 Jul 2025 13:11:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87EE1C4CEEF; Sat, 12 Jul 2025 13:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752325891; bh=BBo/M80dahd5Oiw3ZWnLkUh/N4K3vOWKJzh7Vz5cAfc=; h=Date:Cc:To:From:Subject:References:In-Reply-To:From; b=AdOw9usOZGB8sIhzhihXnUqLjI4YinlY10s777FTPmi3B6Mmogein/J2lI5Q1BW0E YLsDhjzWcrJeLAEPlcMh2givDrsdsepOOHoVh3JqQpxDhv7xNnhlLkKzrhZZUChhLG rvyzQVkfVr8WYnbeppGVlkX6pAcWdv0M4r5LL3nzGYB7RhqhPF3H6/OPbKzqC/BSw7 TrXXz1vOf9klRSgXLy8Vl12AD0fS0m/67EsekgRI1dNlnOADpiuwPywcDb627y3wcM 1kXBCljoCSA86rrJ7m9z/D8x6n6JpJmOpn2CkItEo6xcjCKfqnCSCpgisSopY0qQ0A IUJHJb+MD/CVg== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 12 Jul 2025 15:11:28 +0200 Message-Id: Cc: , To: "Rhys Lloyd" From: "Danilo Krummrich" Subject: Re: [PATCH] gpu: nova-core: fix bounds check In PmuLookupTableEntry::new, data is sliced from 2..6, but the bounds check data.len() < 5 does not satisfy those bounds. References: <20250711093015.28785-1-krakow20@gmail.com> In-Reply-To: X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" On Sat Jul 12, 2025 at 3:30 AM CEST, Rhys Lloyd wrote: > Hi Danilo, > I didn't understand the maintainers list yesterday, so all the patches > I sent are missing mailing lists and recipients. I sent a second copy > as requested in > https://gitlab.freedesktop.org/drm/nova/-/merge_requests/4#note_3003142, > and my mailing list mistakes were pointed out in detail. I also sent > a fixed up v2 to the rust-for-linux mailing list only. If I need to > send out another copy let me know, thanks. Can you please send a v2 following the instructions I linked in my previous reply? For your patch, scripts/get_maintainer.pl should give you Danilo Krummrich (maintainer:CORE DRIVER FOR NVIDIA GPUS= [RUST]) Alexandre Courbot (maintainer:CORE DRIVER FOR NVIDIA= GPUS [RUST]) David Airlie (maintainer:DRM DRIVERS) Simona Vetter (maintainer:DRM DRIVERS) nouveau@lists.freedesktop.org (open list:CORE DRIVER FOR NVIDIA GPUS [RUST= ]) dri-devel@lists.freedesktop.org (open list:DRM DRIVERS) linux-kernel@vger.kernel.org (open list) Additionally, it makes sense to also add rust-for-linux@vger.kernel.org. - Danilo