Re: [PATCH] drm/mst: check connector state before dereference

2023-09-22 Thread Lyude Paul
(sorry if there's been discussion on the gitlab about this or related issues, I've been trying to let amd folks handle more issues like this) Warnings would be fine but - I'm pretty sure the solution to this is already mentioned in the documentation for these functions. Explanations below On Tue,

Re: [PATCH] drm/mst: check connector state before dereference

2023-09-19 Thread Mario Limonciello
On 9/19/2023 15:51, Fangzhi Zuo wrote: We are seeing the crash in the wild that we cannot repro ourselves. We want to be able to gather more data and the code should never be allowed to crash. [8.433306] BUG: kernel NULL pointer dereference, address: 0008 [8.433318] #PF: supe

[PATCH] drm/mst: check connector state before dereference

2023-09-19 Thread Fangzhi Zuo
We are seeing the crash in the wild that we cannot repro ourselves. We want to be able to gather more data and the code should never be allowed to crash. [8.433306] BUG: kernel NULL pointer dereference, address: 0008 [8.433318] #PF: supervisor read access in kernel mode [8.