Re: [PATCH 6.1.y] drm/amd/display: fixed integer types and null check locations

From: Greg KH
Date: Wed Mar 05 2025 - 07:59:48 EST


On Thu, Feb 27, 2025 at 11:26:33AM +0800, jianqi.ren.cn@xxxxxxxxxxxxx wrote:
> From: Sohaib Nadeem <sohaib.nadeem@xxxxxxx>
>
> [ Upstream commit 0484e05d048b66d01d1f3c1d2306010bb57d8738 ]
>
> [why]:
> issues fixed:
> - comparison with wider integer type in loop condition which can cause
> infinite loops
> - pointer dereference before null check
>
> Cc: Mario Limonciello <mario.limonciello@xxxxxxx>
> Cc: Alex Deucher <alexander.deucher@xxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Josip Pavic <josip.pavic@xxxxxxx>
> Acked-by: Aurabindo Pillai <aurabindo.pillai@xxxxxxx>
> Signed-off-by: Sohaib Nadeem <sohaib.nadeem@xxxxxxx>
> Tested-by: Daniel Wheeler <daniel.wheeler@xxxxxxx>
> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
> [ To fix CVE-2024-26767, delete changes made in drivers/gpu/drm/amd/display/dc/link/link_validation.c
> for this file is deleted in linux-6.1 ]

It's not that the file is deleted, it is just not present yet, as it had
not shown up in the tree.

I've manually edited this changelog, please be more careful next time.
Also, no need to mention a CVE id, they don't mean anything here :)

thanks,

greg k-h