Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3889971pxy; Tue, 4 May 2021 12:13:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnxhn1P/aMkRicAFjqKWVlzQyR/+YkGpTQ6AhsCLCdl0iT+6hyIqHAJYggp5u3zkwB8YGY X-Received: by 2002:a05:6a00:87:b029:28d:f62f:a749 with SMTP id c7-20020a056a000087b029028df62fa749mr18947680pfj.54.1620155617931; Tue, 04 May 2021 12:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620155617; cv=none; d=google.com; s=arc-20160816; b=RxnA9V4qd5saSoD8VZr2enIVpPf5S4ogrO/Sdj46zaZrKuKT3pc+eJb4OSx+Uybrv5 8iVeTkXGUIk/I2eRwGNM1TpBgHf2FHfqiPZLxSbifhR7Jzp0B/qPf94XTuCF7yJuEr8w IPAvj4MzAA+XiWMa5vmbFciCYJVwW3O8TbjKYDWngHJ5fpT9/YZ31lZ8s/MdATuonUV+ gkiya6FE5OP6turPkDIhYJ91LVCw4O0bVNFsmaKlwyVb09qsHBf38A02/FQVPMvh2j5h voDz400/htJgBYhknNH49QDbriMY6gfo0OnEdJC6bDa2feyee+Jx1LqIAqgwN5kqvaJS wxXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=TPDeFE2c5Z76UvfNrVUjfTjEKbAvB781/8qEcRhYZ1A=; b=LUHkIIZvnhUApFPts3qB/1p2RiFPVT6+bfd1p/mGUJDTDhU91BjiBIqzOuBX4PIs+V hV//PvG71hdXsnryQLmaoIATkFZeQrGrRMuW9XfcQhgiuugLK9RFKXrDJ5ZQ1+0oRniq fkTQWg/cSx0OIPnlMPzUlm2bIMXihRm+lXTHixU6bNTvVcyHJiaeDvvHLb+XZinY80mH eTyL8DaS9KMIQ1TYtv5oKqJUj9dGMg7XlIwIKCkotoLzw7Q1vA/VIS8ywXjHTVjJe01k eZyxjqK3IeXEUJCo7Wlg8piLIicCAGOgbs3LFlos+Hh02CyKy4NTKSguUkAT8JVrrYBc DIag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m7JXTIDz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si4669726ply.364.2021.05.04.12.13.26; Tue, 04 May 2021 12:13:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=m7JXTIDz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232217AbhEDTNa (ORCPT + 99 others); Tue, 4 May 2021 15:13:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232049AbhEDTN0 (ORCPT ); Tue, 4 May 2021 15:13:26 -0400 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AE80C061574 for ; Tue, 4 May 2021 12:12:29 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id d21so7749373oic.11 for ; Tue, 04 May 2021 12:12:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TPDeFE2c5Z76UvfNrVUjfTjEKbAvB781/8qEcRhYZ1A=; b=m7JXTIDzCRbD7Q0oeh8pOdJ5IV8K1Iq6vnxUIO2HTHoH8Grv+ZS8GntIPA+88v8FkJ qgn/EEMFJdPXK7sdH89yo6MHyHis/YtR62DpdPytSG6DXdd4lCLrJPhivSf8FFRDisG6 95vg7J+aA8RPYLRbaICbd+62mjAVbK2+p6/OxyCPxXdfaRCAzi0JPUDW34+yii56dmj6 QphCg8AnPHGX+LQnfGcDHXM7oOAA56UnDRC9BshzzVAwvy7WjFzikBYjuVUrJXHYZlLr wWYEJIGyY9hTRPVzM759mZ/9mt/z6zVeXhes4qEH6Wj+9o3oEkkIysdREvnCirpvQhv0 pFIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TPDeFE2c5Z76UvfNrVUjfTjEKbAvB781/8qEcRhYZ1A=; b=pvBjglAIpxrQRaf/OQZzncjr1oM6/tdGeXbmJiGPfgy+hZVcg1RuK1jfoCWc/Hr11/ gtRP8vmg2MeJstx3guQxj6aFZm1C1axkkvzvEcWEDkhgXRmWMZIYqxoVBO7bua94jtlA KRmu7HewjxgqwgC7aIbXoiENn/vujtDpbJS91mnbjpN+0DU3IEH8iv8NEktcjLfclSjr AaZjWxGCOQJr8Ipzf3qmQ0M9Asmzn2sDY/d5Ps6w6ceKDmgSYxIHAnFtzpBqOaEqMXz4 I9+hi8Ow0LnGw5A97PMULY+qCQefnDKmX/kkvct8SgkE/hy0TpjM5ZGpWgr7zK+8vxU5 dzxg== X-Gm-Message-State: AOAM5307iEit1tRlZnFMw8YhP24wzs04dGMPit8bbzxfukyPozZe/T73 QmPYm3DfhFYJ32GMlz08VmILJ0wzL94WGsj5r5U= X-Received: by 2002:aca:fc50:: with SMTP id a77mr13095451oii.123.1620155549069; Tue, 04 May 2021 12:12:29 -0700 (PDT) MIME-Version: 1.0 References: <20210503050608.2158996-1-keescook@chromium.org> In-Reply-To: <20210503050608.2158996-1-keescook@chromium.org> From: Alex Deucher Date: Tue, 4 May 2021 15:12:17 -0400 Message-ID: Subject: Re: [PATCH 0/2] drm/radeon: Fix off-by-one power_state index heap overwrite To: Kees Cook Cc: Alex Deucher , "Erhard F." , David Airlie , LKML , amd-gfx list , Maling list - DRI developers , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 3, 2021 at 1:06 AM Kees Cook wrote: > > Hi, > > This is an attempt at fixing a bug[1] uncovered by the relocation of > the slab freelist pointer offset, as well as some related clean-ups. > > I don't have hardware to do runtime testing, but it builds. ;) > > -Kees > > [1] https://bugzilla.kernel.org/show_bug.cgi?id=211537 > > Kees Cook (2): > drm/radeon: Fix off-by-one power_state index heap overwrite > drm/radeon: Avoid power table parsing memory leaks Applied. Thanks! Alex > > drivers/gpu/drm/radeon/radeon_atombios.c | 26 ++++++++++++++++-------- > 1 file changed, 18 insertions(+), 8 deletions(-) > > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel