Bug 1222324 (CVE-2024-26662) - VUL-0: CVE-2024-26662: kernel: drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()'
Summary: VUL-0: CVE-2024-26662: kernel: drm/amd/display: Fix 'panel_cntl' could be nul...
Status: RESOLVED FIXED
Alias: CVE-2024-26662
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/399946/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26662:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-04 14:23 UTC by SMASH SMASH
Modified: 2024-07-02 07:23 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-04-04 14:23:05 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()'

'panel_cntl' structure used to control the display panel could be null,
dereferencing it could lead to a null pointer access.

Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn21/dcn21_hwseq.c:269 dcn21_set_backlight_level() error: we previously assumed 'panel_cntl' could be null (see line 250)

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26662
https://git.kernel.org/stable/c/e96fddb32931d007db12b1fce9b5e8e4c080401b
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-26662.mbox
https://git.kernel.org/stable/c/2e150ccea13129eb048679114808eb9770443e4d
https://git.kernel.org/stable/c/0c863cab0e9173f8b6c7bc328bee3b8625f131b5
https://www.cve.org/CVERecord?id=CVE-2024-26662
https://bugzilla.redhat.com/show_bug.cgi?id=2272786
Comment 4 Oscar Salvador 2024-04-17 03:50:04 UTC
@Thomas: Can you please check:

./scripts/check-kernel-fix CVE-2024-26662
e96fddb32931 ("drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()'") merged v6.8-rc4~21^2~1^2~15
Fixes: 474ac4a875ca ("drm/amd/display: Implement some asic specific abm call backs.") merged v5.9-rc1~134^2~19^2~484
Security fix for CVE-2024-26662 bsc#1222324 with CVSS 5.5
..............................
ACTION NEEDED!
SLE15-SP5: MANUAL: backport e96fddb32931d007db12b1fce9b5e8e4c080401b (Fixes 474ac4a875ca)
Comment 5 Thomas Zimmermann 2024-04-18 11:12:53 UTC
> ACTION NEEDED!
> SLE15-SP5: MANUAL: backport e96fddb32931d007db12b1fce9b5e8e4c080401b (Fixes
> 474ac4a875ca)

SLE15-SP5 is not affected. I blacklisted the fix.