Received: by 10.223.148.5 with SMTP id 5csp5945175wrq; Wed, 17 Jan 2018 07:33:12 -0800 (PST) X-Google-Smtp-Source: ACJfBouQ35tIrBQzoeRepsSScPtHrVrI2Acw+HLJgtV7ZPcloMcChMOghyWwPrN83pO58Hm4dtBf X-Received: by 10.84.202.194 with SMTP id q2mr2594626plh.260.1516203192272; Wed, 17 Jan 2018 07:33:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516203192; cv=none; d=google.com; s=arc-20160816; b=ZRlkSFQiZ/jsPKZGtpfBRz8hY5FybLIhNhgVEqX9NRXFzsfzGpsWy85SpABaqYJqvU TQxRok/V2gPjlyw2060NLCa2zw06n5xjR3OzrpOtU6DJYYEY/DpTXTYEF+pG29FWb6K5 nQcbx60afFgNwRAKtTMx+z2qTzySsxGwiqmVfWqsDywqyfLHUiZeX2y/AZJiHwC371fo VwUIzd5obpQa1U4F+MeLkBO13jZuRVz9d2tnB4kAILDewSiAXfHyltwxshDQHiX8d5ad OejyfuURxuYg243r52h0duEjMWiJSONyaoUVdlJCwavv0eYVm/sSxuJaw96fSiWhYPf/ Al6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=41bn9v3RDyEXpkGvZnsQ+xTG6OfcPrV+lcKRHVG2eSI=; b=TJl74BF6m+vC/I2PE6oapu+nZ5fjs1RhL7kzntfhrYzRLm4lVNODGztp/j3+Oh0d9r 005/q2mLImapL/uS07QZF8WBoU7A22484I6MvFCBb92oPKWglNQQz3HTFc2E2sbZoiRI OESHYYVFN1liH9qzryHGNs00OxpZLJv623sDFJxT8OR/7dP5r31PxxAeqXwbQkd3RakH /D32DKpgFqi/pzE5OeOmJjo+/O+qAXnqq/+6HFW7cM1CrvmXCl1MIL+czKNCIGnNfC4v 6PbCKVXDj8M4dRtRsS4mSla2ATp9NNrj4/w/SONe5LLXGKl5ttoAWmekU6q5zPPmR8xX QVlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@onevmw.onmicrosoft.com header.s=selector1-vmware-com header.b=seFb63VW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k133si4007860pgc.672.2018.01.17.07.32.57; Wed, 17 Jan 2018 07:33:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@onevmw.onmicrosoft.com header.s=selector1-vmware-com header.b=seFb63VW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932089AbeAQPcH (ORCPT + 99 others); Wed, 17 Jan 2018 10:32:07 -0500 Received: from mail-bl2nam02on0047.outbound.protection.outlook.com ([104.47.38.47]:9088 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753158AbeAQPcD (ORCPT ); Wed, 17 Jan 2018 10:32:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=41bn9v3RDyEXpkGvZnsQ+xTG6OfcPrV+lcKRHVG2eSI=; b=seFb63VWfad8H/tzhp4/a/fbdZLdAvWiQPCX/Br4MPWY32aOeBdtqErRYqwBj+aLYjwaLfxw0NH7TuNpEbOB2n32OGwd5QknTcjMWlAPMjLKRjnnMR3xqAVLJLQkt49eUIjEO6f06LgmgsekuNRj1PznilQJJPHcsKDF4w22570= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=thellstrom@vmware.com; Received: from linlap1.host.shipmail.org (155.4.205.56) by BY2PR05MB757.namprd05.prod.outlook.com (10.141.224.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.9; Wed, 17 Jan 2018 15:31:56 +0000 Subject: Re: [PATCH] drm/vmwgfx: fix memory corruption with legacy/sou connectors To: Rob Clark , dri-devel@lists.freedesktop.org Cc: Rob Clark , stable@vger.kernel.org, VMware Graphics , Sinclair Yeh , David Airlie , linux-kernel@vger.kernel.org References: <20180117151629.27423-1-robdclark@gmail.com> From: Thomas Hellstrom Message-ID: <1706f2da-1349-4461-3a16-7287dbf12958@vmware.com> Date: Wed, 17 Jan 2018 16:31:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180117151629.27423-1-robdclark@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [155.4.205.56] X-ClientProxiedBy: AM4PR0202CA0021.eurprd02.prod.outlook.com (10.171.80.31) To BY2PR05MB757.namprd05.prod.outlook.com (10.141.224.15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dfb82f04-337f-4a3c-6ca7-08d55dbf7287 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060)(7193020);SRVR:BY2PR05MB757; X-Microsoft-Exchange-Diagnostics: 1;BY2PR05MB757;3:etDfEvs2spSR+4inDdvHPj4RhutpGGCMccfvz8x98QVm/bgyMhQoYcEASWPsSYZejpxWSNT+k78l4h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nTREEP2Nctdg9uzSNZIDQDoCqysFsagAGh/OI7Arvn9wbLXbrDD7bVKrxm9saWxwEKtiDzSik+pcWZ0OlW/4I4djeJ6Yakc6Bo2LxGDRDWCd3pEthb6Zi8cmbL5k94zXhQddYVvhwem/aU0m4Pr1rD+PJv9rdtzufz0nA4HQHnt+bi+V8X9jXAzPSdNDWD7v4AZJ7oP1KuKB3WpuTVxnVGOCK2flTNs/zX+H2nX2TJJY9nZ7QfC88lKsOXCZlMViJCRX8q1U5qHTBy7iZaRkA6OcPZcpJfNZNo3JcTEs4BonXWZp0wXHQxmgBhWzo;4:O5cs2qihdR9oBudQkeQSUzwvlhQ/Td40Hvstq/i7IxVp7DKZmlECGI3yJEo/AK6FhoXg2SJMV/YoSWWl1ZTM0Ly2SrmmxLw4V17IAzDJZxEMtvrrO6I+BNOciLdMP+mpacTq9t0H/0doG5wWDAzT95C03xtnMwTpe5w4haup+AhlL7e3XAvY2sXYQmLB2uUw2yN23tSVU+p4iga89SyWoypkiYwlcs8ATUDM2Oj9czDnXRe0XIXaS402Lgz6s11kKMHYYohgLuaPxDM03p/3GhwWin4wRILqzR3SHNYFxJ8q2iiE/lSvGZFnIlrOVck64yHHrW8YQKpAbZh5wjanC98bHHEJ8MbzkXhxiwA2FrQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(61668805478150)(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231023)(944501161)(10201501046)(6041268)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011);SRVR:BY2PR05MB757;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:BY2PR05MB757; X-Forefront-PRVS: 0555EC8317 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(366004)(376002)(39860400002)(346002)(39380400002)(189003)(199004)(24454002)(66066001)(65956001)(65806001)(64126003)(47776003)(31696002)(86362001)(50466002)(36756003)(97736004)(67846002)(305945005)(7736002)(6246003)(25786009)(6666003)(39060400002)(65826007)(2950100002)(53936002)(68736007)(81156014)(81166006)(5660300001)(8676002)(8936002)(31686004)(58126008)(229853002)(54906003)(83506002)(26005)(16526018)(76176011)(4326008)(52116002)(2486003)(23676004)(52146003)(316002)(6512007)(106356001)(105586002)(6506007)(478600001)(53546011)(230700001)(2906002)(386003)(6486002)(6116002)(3846002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR05MB757;H:linlap1.host.shipmail.org;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjA1TUI3NTc7MjM6eVM3aDIzc2lTbkVVTVVzQTRIS2VPcDlOYkZF?= =?utf-8?B?N0hiVnk2OGFjVjJnQWU4UWQ3UENldzMrOUt6ZzRadnBEQ0MzV2k4emVVTDdx?= =?utf-8?B?VUQ3eURVSVAvNkltM0lvMjVpR2NIbkwwU0U3d1l2Sm5EaGlKZUdBVEk2VGVY?= =?utf-8?B?Zm1jRWpCRmdtRHNpcjBFS2VUc0JtUlFWZ2JTdytaWk5aOVFDb0dPVGJhTktB?= =?utf-8?B?dFhRWWRLVTk4RWdzQmtoaGcvemVMQis3b2tFWlU4VFJBajd6Qndxd2dXTW9I?= =?utf-8?B?MnRRcjV4QzUwS3E5WkY1T0VTZW5vbC9mcUJRMDNKdVdCNDhFWGo0MGxpOGpW?= =?utf-8?B?eXRIYTgvUWNHajgyQ3VudkNyNkJnSHlLeTdwYlkxWHR4SlQ0YW5WK3BsNjRI?= =?utf-8?B?ZjlJTXdFaVZvalY3L1hKYTJmRzRrMEc1czJoeVQyWHhhUmd1YkUzenJzNUVu?= =?utf-8?B?R3h3M2MrTjcrOUh5QVhqa3dLbDlTL1AyQ0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8rDNpJmiWudGGDyrsQB2ldbz2Q4Kp1ERybOUp9pHIWRb3uo3PuW+xlOUYXJ47OlXjhcPf3Il4fLW3Z4tyoAYhgDh0qUrQ2BkIiZ8PdP6Z0=;24:a1DtTNnOY53kFYYwanUPng30MMy840zhM5iv2WXkiUELwQYJcBSUVh2j7vg6boRBfgCU1Ozpnu1VdArfj5uAEtD4RAbrsnbgpZV0A5CBzsM=;7:6yHzU1RJQDr25b1ozyZaICSZr8ds9b0LoUDZF/xqkSv08ZiC7/4s/0EQDGKUp7h2rboyUOrxtVD3ZRQ34IuwLA0j5K0B1gdK/gsOHKlelMTZ5Y+P7SdOE8fMrFkN5SOeg6ePwWfBgeb+OAFg6I94oC2S0luRCGONBVT2YqxHh2iOwAPnsThzxWGhdmi+NyARomA9fKHRKbnlaI9HWpF4O00efmPFokDZu103TOAWeHskIwtYfJTDqc+QE6CTjDci SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY2PR05MB757;20:0d/GRXS3cCAAGwfxmVgHzZzIeIz1m+S81jWTkuP7gfcJjztLKVO+foRLYSqOE+FZHx69orv1XnGuJTgRHEuBBVMzxcbserup9Ei+s+WPaJ2R5Ym7rbCnmgXIMgPuyV+UZYyizU45AT6T+xhuquGc27wuDWoFPnXTVjUBYo3KCRI= X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jan 2018 15:31:56.2688 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dfb82f04-337f-4a3c-6ca7-08d55dbf7287 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR05MB757 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/17/2018 04:16 PM, Rob Clark wrote: > From: Rob Clark > > It looks like in all cases 'struct vmw_connector_state' is used. But > only in stdu connectors, was atomic_{duplicate,destroy}_state() properly > subclassed. Leading to writes beyond the end of the allocated connector > state block and all sorts of fun memory corruption related crashes. > > Fixes: d7721ca71126 "drm/vmwgfx: Connector atomic state" > Cc: > Signed-off-by: Rob Clark Reviewed-by: Thomas Hellstrom Thanks, Rob! /Thomas > --- > drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 4 ++-- > drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c > index b8a09807c5de..3824595fece1 100644 > --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c > +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c > @@ -266,8 +266,8 @@ static const struct drm_connector_funcs vmw_legacy_connector_funcs = { > .set_property = vmw_du_connector_set_property, > .destroy = vmw_ldu_connector_destroy, > .reset = vmw_du_connector_reset, > - .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, > - .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, > + .atomic_duplicate_state = vmw_du_connector_duplicate_state, > + .atomic_destroy_state = vmw_du_connector_destroy_state, > .atomic_set_property = vmw_du_connector_atomic_set_property, > .atomic_get_property = vmw_du_connector_atomic_get_property, > }; > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > index bc5f6026573d..63a4cd794b73 100644 > --- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c > @@ -420,8 +420,8 @@ static const struct drm_connector_funcs vmw_sou_connector_funcs = { > .set_property = vmw_du_connector_set_property, > .destroy = vmw_sou_connector_destroy, > .reset = vmw_du_connector_reset, > - .atomic_duplicate_state = drm_atomic_helper_connector_duplicate_state, > - .atomic_destroy_state = drm_atomic_helper_connector_destroy_state, > + .atomic_duplicate_state = vmw_du_connector_duplicate_state, > + .atomic_destroy_state = vmw_du_connector_destroy_state, > .atomic_set_property = vmw_du_connector_atomic_set_property, > .atomic_get_property = vmw_du_connector_atomic_get_property, > };