Bug 1222602 (CVE-2024-26699)

Summary: VUL-0: CVE-2024-26699: kernel: drm/amd/display: array-index-out-of-bounds in dcn35_clkmgr
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andrea.mattiazzo, mhocko, thomas.leroy
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/400173/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26699:4.4:(AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-10 08:53:08 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix array-index-out-of-bounds in dcn35_clkmgr

[Why]
There is a potential memory access violation while
iterating through array of dcn35 clks.

[How]
Limit iteration per array size.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26699
https://www.cve.org/CVERecord?id=CVE-2024-26699
https://git.kernel.org/stable/c/46806e59a87790760870d216f54951a5b4d545bc
https://git.kernel.org/stable/c/ca400d8e0c1c9d79c08dfb6b7f966e26c8cae7fb
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-26699.mbox
https://bugzilla.redhat.com/show_bug.cgi?id=2273115
Comment 1 Thomas Leroy 2024-04-10 09:26:21 UTC
It seems that this is buggy since the commit adding the DCN35 code (8774029f76b9 drm/amd/display: Add DCN35 CLK_MGR) which is on stable and SLE15-SP6-GA.
Those 2 branches also have the fix, so I would say nothing to do except a changelog update