[SRU][J][PATCH 0/1] CVE-2024-43904
Massimiliano Pellizzer
massimiliano.pellizzer at canonical.com
Fri Nov 15 13:03:04 UTC 2024
[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
More information about the kernel-team
mailing list