Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934309AbcJXHwQ (ORCPT ); Mon, 24 Oct 2016 03:52:16 -0400 Received: from mail.netline.ch ([148.251.143.178]:54361 "EHLO netline-mail3.netline.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932954AbcJXHwN (ORCPT ); Mon, 24 Oct 2016 03:52:13 -0400 X-Greylist: delayed 333 seconds by postgrey-1.27 at vger.kernel.org; Mon, 24 Oct 2016 03:52:13 EDT Subject: Re: radeon_connector_unregister NULL ptr deref To: Borislav Petkov , Alex Deucher , =?UTF-8?Q?Christian_K=c3=b6nig?= References: <20161024073402.3kz7h376vk7hwvvn@pd.tnic> Cc: lkml , "dri-devel@lists.freedesktop.org" From: =?UTF-8?Q?Michel_D=c3=a4nzer?= Message-ID: <390d15df-04d4-3c5a-a69a-b5f552b72d90@daenzer.net> Date: Mon, 24 Oct 2016 16:46:30 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161024073402.3kz7h376vk7hwvvn@pd.tnic> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1094 Lines: 37 On 24/10/16 04:34 PM, Borislav Petkov wrote: > Hi guys, > > I'm getting a NULL ptr deref splat when hibernating my box with > 4.9-rc1+. All I got so far is an ugly camera shot from the splat which > I'm typing in by hand. > > Any ideas or already a fix? > > The callstack looks like this: > > unable to handle kernel NULL pointer dereference at 00...0890 (I think it is 890) > IP: radeon_connector_unregister+0xc/0x40 > ... > > ? drm_connector_unregister.part > drm_connector_unregister_all > drm_modeset_unregister_all > drm_dev_unregister > drm_put_dev > radeon_pci_shutdown > pci_device_shutdown > device_shutdown > kernel_power_off > power_down > hibernate > ... Should be fixed in -rc2, specifically these commits: https://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=b0c80bd5d2e317f7596fe2badc1a3379fb3211e5 https://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=9305ee6fe52035f63d70d023235b792ba22107f0 -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer