cve/2024/CVE-2024-49909.md
2025-09-29 21:09:30 +02:00

1.3 KiB

CVE-2024-49909

Description

In the Linux kernel, the following vulnerability has been resolved:drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_funcThis commit adds a null check for the set_output_gamma function pointerin the dcn32_set_output_transfer_func function. Previously,set_output_gamma was being checked for null, but then it was beingdereferenced without any null check. This could lead to a null pointerdereference if set_output_gamma is null.To fix this, we now ensure that set_output_gamma is not null beforedereferencing it. We do this by adding a null check for set_output_gammabefore the call to set_output_gamma.

POC

Reference

No PoCs from references.

Github