ACK: [SRU][J][PATCH 0/1] CVE-2024-43904
Magali Lemes
magali.lemes at canonical.com
Mon Nov 18 19:49:30 UTC 2024
Acked-by: Magali Lemes <magali.lemes at canonical.com>
On 15/11/2024 10:03, Massimiliano Pellizzer wrote:
> [Impact]
>
> drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing
> This commit adds null checks for the 'stream' and 'plane' variables in
> the dcn30_apply_idle_power_optimizations function. These variables were
> previously assumed to be null at line 922, but they were used later in
> the code without checking if they were null. This could potentially lead
> to a null pointer dereference, which would cause a crash.
>
> The null checks ensure that 'stream' and 'plane' are not null before
> they are used, preventing potential crashes.
>
> [Fix]
>
> Noble: Fixed
> Jammy: Cherry picked fix commit from mainline
> Focal: Not affected
> Bionic: Not affected
> Xenial: Not affected
>
> [Test Case]
>
> Compile tested only.
>
> [Where problems could occur]
>
> A regression here is unlikely due to the very limited
> scope of the patch.
>
> Srinivasan Shanmugam (1):
> drm/amd/display: Add null checks for 'stream' and 'plane' before
> dereferencing
>
> drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c | 3 +++
> 1 file changed, 3 insertions(+)
>
More information about the kernel-team
mailing list