ACK: [SRU][J][PATCH 0/1] CVE-2024-43904

Yuxuan Luo yuxuan.luo at canonical.com
Wed Nov 20 19:07:34 UTC 2024


On Fri, Nov 15, 2024 at 02:03:04PM +0100, Massimiliano Pellizzer wrote:

Acked-by: Yuxuan Luo <yuxuan.luo at canonical.com>

> [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(+)
> 
> -- 
> 2.43.0
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list