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 21702C4332F for ; Sun, 27 Feb 2022 18:55:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231266AbiB0Szt (ORCPT ); Sun, 27 Feb 2022 13:55:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229750AbiB0Szr (ORCPT ); Sun, 27 Feb 2022 13:55:47 -0500 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91E465A0AF for ; Sun, 27 Feb 2022 10:55:10 -0800 (PST) Received: by mail-pf1-x42e.google.com with SMTP id l19so9135027pfu.2 for ; Sun, 27 Feb 2022 10:55:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=BUutuHj2Y4sBYwPZrJt3gLoK5iq9Xx8GjQfOHIMA2K4=; b=LssERTi7+6Oc9GsiOtykaNrIGp0U5bK2BuY/HFdPIvYfzS4lKrCtJPutZwYXtfGgi7 NhOfUN4u5XVvksPllEuJM3X0YaL3u+W0zL2LSDOTflQEbi4ODxmT7SyggMv8NE08FghK 6W81GWSdkfZbjNqYrry1cPcRifymCajTrSOyg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BUutuHj2Y4sBYwPZrJt3gLoK5iq9Xx8GjQfOHIMA2K4=; b=TTCD7BvqkHrq77bPU7DbUagfRKq6hz70dLy+b+mVNAaXAKlCi128mW+rEeaBLRQdZo iffIWNweK2vYiy5bZgb4RtFrH7/suF10X4cfY2N5puEZqCZKnnvjFEl5tcePn8Wr7vQI ErMFyMyRwJKl/HaJvt3SI0FJcU0cC3/euTQmWNzcxx2BuBf3Gxc8GcojYVpfJZtO9L8V n9EVojy5cJ3aYpTgP50ZNWPQAU3ydjSXoZr1I+STZT878UIhsgNbiHwNhN4xc7UxIPji cGEIvGMD3249l0ri652XkDf45z7Ux0mfhnI2Sdus0P589QiRsAbTv1j6fBcMPgg929a4 P4Rg== X-Gm-Message-State: AOAM530rtkw1PQ3Q1IQ6IhhNF7azWOmseqaEfJ+yyaYTEn92Yhv2lvYC b91eziPi0NsRAEwfScQ8wnHhsA== X-Google-Smtp-Source: ABdhPJy00TjfcczrXbPQJOZnPgE7hz1pTHrH+oGIaH1lig5NQe0zrVzrE1l1NTv6ss5VmpjLSU6PFA== X-Received: by 2002:a63:1350:0:b0:378:7fb4:63eb with SMTP id 16-20020a631350000000b003787fb463ebmr4139383pgt.457.1645988109770; Sun, 27 Feb 2022 10:55:09 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id z12-20020aa7888c000000b004f3fc6d95casm2909273pfe.20.2022.02.27.10.55.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Feb 2022 10:55:09 -0800 (PST) Date: Sun, 27 Feb 2022 10:55:08 -0800 From: Kees Cook To: Thierry Reding Cc: Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , "Gustavo A. R. Silva" , Jani Nikula , Jonathan Hunter , Lyude Paul , Ville =?iso-8859-1?Q?Syrj=E4l=E4?= , Dave Airlie , Douglas Anderson , Ankit Nautiyal , Uma Shankar , Philipp Zabel , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH v3 0/2] drm/dp: Fix out-of-bounds reads Message-ID: <202202271053.91D3CE109@keescook> References: <20220225035610.2552144-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 25, 2022 at 10:30:19AM +0100, Thierry Reding wrote: > On Thu, Feb 24, 2022 at 07:56:08PM -0800, Kees Cook wrote: > > Hi, > > > > I'm sending these again, as they still need fixing. They have been > > rebased due to the drm_dp_helper code being moved into a subdirectory. > > Yeah, I noticed the other day that this had been partially reverted by > the DP code move. I've applied this now, though it didn't apply cleanly, > so I'll do a couple of test builds to make sure my resolution is correct > and will push this out later on. Awesome; thank you! Yeah, I had based on drm/drm-next rather than drm-misc/drm-misc-next. I wasn't sure which tree I needed to base on after the files moved. FWIW, the resulting patches look good to me. Thanks for fixing them up! -Kees -- Kees Cook