Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2145560pxj; Sat, 5 Jun 2021 14:39:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1oWOaUfkAzIOwQll658T6+FDviE2mkfbGQKgF5zzfg7jd07O4aqLET+8pCbv/3XFt9cR2 X-Received: by 2002:a17:907:94c3:: with SMTP id dn3mr10399555ejc.26.1622929157722; Sat, 05 Jun 2021 14:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622929157; cv=none; d=google.com; s=arc-20160816; b=vUBjx5XIpQnAtNug7GQUles/Lt9UVC/y420f5BvwwJRCDSLk57cOc3VuXhU+g9WvMb Me51y2NMCQY1WM8EPX4C6Cyw4jqopGjtMZyhgo+wW8YZxhRPjdBytnIkxLkaSyahBEmN AwxF0VEnfbbDo7OiPOyTNtVW8ynSzY0mejHqsYNd/gscM319LilznaAS3PA1ny+O1Rpf Ei1z4qO98w/1w9MmTMaipuW5I9FqoluIMVmscBYrJsPH0Ak/kTTY8XpgjpVLemDhD0Ch RAe4lrA1YivB0n9I1mE9+y8FsIr6GQw5idRa5NEFKyVb0Gpo5+wLh2MxfLBeFtEeQu41 MZbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:content-disposition :content-transfer-encoding:mime-version:in-reply-to:references:cc :user-agent:date:subject:to:from; bh=syINQs0/nbUlrx0EI4dTsBavCFn/cMrft1ZznxEOyjU=; b=JmL8PoxeQ4pOL+WX0XLW5PHDeLWXZBWoocYofN9FIDLNh0L6vR8LAVzuXo4DFXEyOW ddfsbKi3ykOU31GpWJ6sJihFYqpO9931/6YJkDbFZLgTbbQVbxU+IS7OhwtGomFIFuNE lzNagudO3SUZKwGODWRe2GRs0uHc779M0lRXlN6LzcbCJbNMvhgvgmArwX6D0M7XiVhh yKIdy+PriPImBM/nmBOeTgxLg1VkO3NIqcMVTafvxevEa1jPJy1xyQMfzGg+PGdnglsa UWSb45Ej79KUFIidmY9/dBWRfk2UFxaZKT9NRztQ/aoNxBjrh6pwEz9ndiKp9P4WwzUp ouhg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t7si8763139ejj.44.2021.06.05.14.38.55; Sat, 05 Jun 2021 14:39:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230029AbhFEVgQ (ORCPT + 99 others); Sat, 5 Jun 2021 17:36:16 -0400 Received: from hosting.gsystem.sk ([212.5.213.30]:48694 "EHLO hosting.gsystem.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230010AbhFEVgQ (ORCPT ); Sat, 5 Jun 2021 17:36:16 -0400 Received: from [192.168.0.2] (188-167-68-178.dynamic.chello.sk [188.167.68.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hosting.gsystem.sk (Postfix) with ESMTPSA id B0A8B7A00E6; Sat, 5 Jun 2021 23:34:26 +0200 (CEST) From: Ondrej Zary To: Ben Skeggs Subject: Re: nouveau broken on Riva TNT2 in 5.13.0-rc4: NULL pointer dereference in nouveau_bo_sync_for_device Date: Sat, 5 Jun 2021 23:34:23 +0200 User-Agent: KMail/1.9.10 Cc: dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <202106052143.52488.linux@zary.sk> In-Reply-To: <202106052143.52488.linux@zary.sk> X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <202106052334.23943.linux@zary.sk> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Saturday 05 June 2021 21:43:52 Ondrej Zary wrote: > Hello, > I'm testing 5.13.0-rc4 and nouveau crashes with NULL pointer dereference in nouveau_bo_sync_for_device. > Found various reports like this but that was back in februaryso that should be fixed now. So it is the same bug. Broken since 5.11. This revert fixes it in 5.11: https://lists.freedesktop.org/archives/dri-devel/2021-February/298531.html Added some debug printks to nouveau_bo_sync_for_device: [ 22.225048] ttm_dma=fc33b500 [ 22.225066] ttm_dma->num_pages=18 [ 22.225071] i=0 num_pages=16 [ 22.225077] ttm_dma->dma_address=00000000 [ 22.225094] BUG: kernel NULL pointer dereference, address: 00000000 So ttm->dma_address is NULL. -- Ondrej Zary