Public bug reported:
Summary
-------
While playing a game (S.T.A.L.K.E.R. 2 via Steam/Proton, vkd3d-proton), the
kernel
oopsed in TTM during an amdgpu command submission. The oopsing task held the TTM
lru_lock, which was never released; other GPU clients then soft-locked on it
and the
whole system hung (no input, no recovery). Hard power-off was required.
System
------
- Kubuntu 26.04 LTS, Wayland (KDE Plasma)
- Kernel: 7.0.0-43-generic #43-Ubuntu
- GPU: Sapphire Radeon RX 9070 XT Nitro+ 16 GB (RDNA4)
- CPU: AMD Ryzen 7 5800X, 32 GB RAM
- Mesa 26.0.8 (RADV)
- Board: ASUS ROG STRIX B550-E GAMING, BIOS 3645
What happened
-------------
1. Primary oops (vkd3d_queue thread):
Oops: general protection fault, probably for non-canonical address
0x7fff89a935d287c0
RIP: 0010:ttm_resource_move_to_lru_tail+0x1d7/0x330 [ttm]
Call Trace:
ttm_bo_move_to_lru_tail+0x1a/0x30 [ttm]
amdgpu_cs_submit+0x23b/0x6d0 [amdgpu]
amdgpu_cs_ioctl+0x235/0x390 [amdgpu]
drm_ioctl_kernel / drm_ioctl / amdgpu_drm_ioctl
note: vkd3d_queue[20557] exited with preempt_count 1
2. Secondary failure, repeating every ~26 s:
watchdog: BUG: soft lockup - CPU#2 stuck for 26s! [RHISubmissionTh:20563]
RIP: native_queued_spin_lock_slowpath
(other traces in amdgpu_cs_parser_bos / amdgpu_cs_get_threshold_for_moves and
amdgpu_info_ioctl)
Full kernel log of the affected boot is attached.
Possibly related upstream fix
-----------------------------
The signature (corrupt TTM LRU list -> fault in ttm_resource_move_to_lru_tail ->
leaked lru_lock -> soft lockups) looks like the known regression introduced by:
b2ed01e7ad3d "drm/ttm: Fix ttm_bo_swapout() infinite LRU walk on swapout
failure"
(backported to 7.0-stable in May 2026)
which leaves swapped-out resources in their bulk_move range, so a freed resource
can stay referenced and corrupt the LRU. Upstream fixes:
3db7d7d58341 "drm/ttm: fix swapped-out resources never leaving their
bulk_move range"
fcfe64715b42 (follow-up: cleanup condition after ttm_tt_swapout() changed from
"if (!ret)" to "if (ret > 0)")
See also drm/amd GitLab issue 5387 (same bug class reported on other AMD GPUs,
kernels 7.0-7.2).
I have not verified that 7.0.0-43 carries b2ed01e7ad3d; this is based on the
matching crash signature. If it does, please consider picking up both fix
commits
for the 26.04 kernel.
Reproducibility
---------------
Occurred once so far, during a heavy game session (GPU and RAM under load).
Not reproducible on demand. Happy to test proposed/-proposed kernels.
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: linux-image-7.0.0-43-generic 7.0.0-43.43
ProcVersionSignature: Ubuntu 7.0.0-43.43-generic 7.0.14
Uname: Linux 7.0.0-43-generic x86_64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Sat Nov 7 17:40:40 2026
InstallationDate: Installed on 2025-04-25 (561 days ago)
InstallationMedia: Kubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
IwDevWlp8s0Link: Not connected.
MachineType: ASUS System Product Name
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-43-generic
root=UUID=1959ab50-797f-4a29-8ece-90dd7f283667 ro quiet splash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
PulseAudio daemon running, or not running as session daemon.
SourcePackage: linux
UpgradeStatus: Upgraded to resolute on 2026-08-24 (75 days ago)
dmi.bios.date: 09/10/2026
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3645
dmi.board.asset.tag: Default string
dmi.board.name: ROG STRIX B550-E GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias:
dmi:bvnAmericanMegatrendsInc.:bvr3645:bd09/10/2026:br5.17:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnROGSTRIXB550-EGAMING:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU:pfaTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.version: System Version
dmi.sys.vendor: ASUS
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
** Attachment added: "kernel-oops-2026-11-07.txt"
https://bugs.launchpad.net/bugs/2173637/+attachment/6015822/+files/kernel-oops-2026-11-07.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173637
Title:
amdgpu/ttm: GPF in ttm_resource_move_to_lru_tail() from
amdgpu_cs_submit, leaked lru_lock causes full system hang (7.0.0-43,
RX 9070 XT)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2173637/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs