Public bug reported:

On July 22, 2026, shortly after resuming from hibernation, the kernel
reported list corruption in the AMDGPU TTM memory-management code while
GNOME Shell was submitting work to the GPU.

System information:

* Hardware: Lenovo ThinkPad P16s Gen 4 AMD, model 21QRCTO1WW
* BIOS: R2XET39W 1.19, dated 2026-03-19
* Kernel: 7.0.0-28-generic #28-Ubuntu
* Desktop: GNOME Shell on Wayland

The relevant call trace is:

```
__list_del_entry_valid_or_report
ttm_resource_move_to_lru_tail
ttm_bo_move_to_lru_tail
amdgpu_cs_submit
amdgpu_cs_ioctl
drm_ioctl
```

The warning starts with:

```
list_del corruption. prev->next should be ffff88d7d35827c0,
but was ffff88d86ac7a400.
```

It is followed by:

```
slab kmalloc-rnd-02-192 start ffff88d7d3582780
pointer offset 64 size 192
```

The machine had just resumed from hibernation when this occurred. The
resume itself appeared to complete successfully and the GNOME desktop
became usable, but approximately shortly afterward the warning was
logged during normal desktop use.

This appears possibly related to upstream DRM/AMDGPU issue #5387:

https://gitlab.freedesktop.org/drm/amd/-/issues/5387

Related upstream patch discussion:

https://patchew.org/linux/20260615234922.151263-1-skainsworth%40gmail.com/

That report describes a hibernation-triggered TTM bulk_move cursor use-
after-free followed by LRU list corruption. Its call path and the
resulting "list_del corruption" warning appear very similar to this
report. However, I have not confirmed that the root cause is exactly the
same.

Expected result:

The system should resume from hibernation and continue normal desktop
operation without corruption warnings in the AMDGPU/TTM kernel code.

Actual result:

Shortly after resuming from hibernation, the kernel detected corruption
of a TTM LRU linked list during an AMDGPU command submission.

This is the first time I have observed this warning, so I do not yet
have reliable reproduction steps.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-28-generic 7.0.0-28.28
ProcVersionSignature: Ubuntu 7.0.0-28.28-generic 7.0.12
Uname: Linux 7.0.0-28-generic x86_64
ApportVersion: 2.34.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Jul 22 17:26:44 2026
HibernationDevice: RESUME=UUID=8f2c5b53-b1db-477c-860c-da344670b9fc
InstallationDate: Installed on 2026-07-15 (7 days ago)
InstallationMedia: Ubuntu 26.04 "Resolute Raccoon" - Release amd64 (20260423.1)
MachineType: LENOVO 21QRCTO1WW
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-7.0.0-28-generic 
root=/dev/mapper/vg0-root ro quiet splash ipv6.disable=1 
resume=UUID=8f2c5b53-b1db-477c-860c-da344670b9fc 
crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/19/2026
dmi.bios.release: 1.19
dmi.bios.vendor: LENOVO
dmi.bios.version: R2XET39W (1.19 )
dmi.board.asset.tag: Not Available
dmi.board.name: 21QRCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.11
dmi.modalias: 
dmi:bvnLENOVO:bvrR2XET39W(1.19):bd03/19/2026:br1.19:efr1.11:svnLENOVO:pn21QRCTO1WW:pvrThinkPadP16sGen4AMD:rvnLENOVO:rn21QRCTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_21QR_BU_Think_FM_ThinkPadP16sGen4AMD:pfaThinkPadP16sGen4AMD:
dmi.product.family: ThinkPad P16s Gen 4 AMD
dmi.product.name: 21QRCTO1WW
dmi.product.sku: LENOVO_MT_21QR_BU_Think_FM_ThinkPad P16s Gen 4 AMD
dmi.product.version: ThinkPad P16s Gen 4 AMD
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161538

Title:
  AMDGPU TTM list corruption after hibernate/resume on Lenovo ThinkPad
  P16s Gen 4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2161538/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to