Bug 217587

Summary: amdgpu kernel NULL pointer dereference, address: 0000000000000054
Product: Drivers Reporter: moviuro (moviuro.kernel)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED ANSWERED    
Severity: low    
Priority: P3    
Hardware: AMD   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg (journalctl -k -b -1) & lspci -kkv

Description moviuro 2023-06-22 15:23:57 UTC
Created attachment 304471 [details]
dmesg (journalctl -k -b -1) & lspci -kkv

My 6.3.8 kernel says Oops, NULL pointer dereference, address: 0000000000000054, when I successfully unlock my Xorg session that is locked by xsecurelock (https://github.com/google/xsecurelock) when my screen(s) have not yet turned back on.

* Lock the screen with `xsecurelock(1)`
* Wait until the monitors go to sleep (I unplug my mouse and keyboard thanks to a little USB KVM)
* Quickly type my password and <enter> to unlock my session before the screens turn back on

Unexpected: machine ~freeze (X11 not responsive, machine won't reboot properly (`reboot`), but I can initiate a SSH session and `echo b > /proc/sysrq-target`)

The attached dmesg was obtained with `drm=debug=4` in cmdline.

`lspci -kkv` also attached.

Hardware list: B550 Phantom Gaming-ITX, 5800X, RX6950XT reference design card.
Comment 1 Artem S. Tashkinov 2023-06-23 06:08:27 UTC
Please report here instead:

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