[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1108168: linux-image-6.12.32-amd64: black screen, then crash in nouveau when rebooting



On Sun, 2025-06-22 at 13:47 +0200, Vincent Lefevre wrote:
> Package: src:linux
> Version: 6.12.32-1
> Severity: important
> X-Debbugs-Cc: debian-amd64@lists.debian.org
> User: debian-amd64@lists.debian.org
> Usertags: amd64
> 
> I got a permanent black screen this morning. And after I rebooted
> via ssh (as I couldn't have any other access to the machine), the
> logs show issues with nouveau (see attached file).
[...]

The logs show a lot of WARNINGs, so I've filtered and categorised those:

     30 WARNING: CPU: x PID: 1551 at drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c:35 g84_bar_flush+0x102/0x110 [nouveau]
     24 WARNING: CPU: x PID: 1551 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c:45 tu102_vmm_flush+0x167/0x170 [nouveau]
      1 WARNING: CPU: x PID: 1551 at drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c:251 nvkm_runl_preempt_wait+0xf6/0x110 [nouveau]

Timeout waiting for a register to change (I think).

     16 WARNING: CPU: x PID: 1551 at drivers/gpu/drm/nouveau/nouveau_gem.c:85 nouveau_gem_object_del+0x56/0x70 [nouveau]
     15 WARNING: CPU: x PID: 1551 at drivers/gpu/drm/nouveau/nouveau_gem.c:207 nouveau_gem_object_close+0x253/0x2c0 [nouveau]

pm_runtime_get_sync() failed in a cleanup function which can't return an
error, and the error code was not EACCES (which seems to be condisdered
acceptable).

      1 WARNING: CPU: x PID: 1551 at lib/refcount.c:87 refcount_dec_not_one+0x4c/0x50

The driver attempted to decrement a reference count that was already 0.
This quite likely indicates a use-after-free, which is very bad news.

On Sun, 2025-06-22 at 19:02 +0200, Vincent Lefevre wrote:
[...]
> It is known that after the dock is temporarily disconnected, then the
> external monitors (connected to the dock) remain black (together with
> the laptop screen). This is bad, but this has always been like that:
[...]

Does this mean that you have a reliable way to reproduce this problem,
including the WARNINGs?  If so that would help a lot with testing any
possible fix.

Ben.

-- 
Ben Hutchings
73.46% of all statistics are made up.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: