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

Greg KH gregkh at linuxfoundation.org
Wed Mar 5 12:59:28 UTC 2025


On Thu, Feb 27, 2025 at 11:26:33AM +0800, jianqi.ren.cn at windriver.com wrote:
> From: Sohaib Nadeem <sohaib.nadeem at amd.com>
> 
> [ 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 at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Cc: stable at vger.kernel.org
> Reviewed-by: Josip Pavic <josip.pavic at amd.com>
> Acked-by: Aurabindo Pillai <aurabindo.pillai at amd.com>
> Signed-off-by: Sohaib Nadeem <sohaib.nadeem at amd.com>
> Tested-by: Daniel Wheeler <daniel.wheeler at amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> [ 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


More information about the dri-devel mailing list