Bug 1222278 (CVE-2023-52634)

Summary: VUL-0: CVE-2023-52634: kernel: drm/amd/display: Fix disable_otg_wa logic
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: osalvador, rfrohl
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/399957/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52634:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-03 12:41:03 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Fix disable_otg_wa logic

[Why]
When switching to another HDMI mode, we are unnecesarilly
disabling/enabling FIFO causing both HPO and DIG registers to be set at
the same time when only HPO is supposed to be set.

This can lead to a system hang the next time we change refresh rates as
there are cases when we don't disable OTG/FIFO but FIFO is enabled when
it isn't supposed to be.

[How]
Removing the enable/disable FIFO entirely.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52634
https://git.kernel.org/stable/c/ce29728ef6485a367934cc100249c66dd3cde5b6
https://www.cve.org/CVERecord?id=CVE-2023-52634
https://git.kernel.org/stable/c/2ce156482a6fef349d2eba98e5070c412d3af662
https://bugzilla.redhat.com/show_bug.cgi?id=2272806
Comment 4 Oscar Salvador 2024-04-17 03:42:34 UTC
@Thomas: Can you please have a look

./scripts/check-kernel-fix CVE-2023-52634
2ce156482a6f ("drm/amd/display: Fix disable_otg_wa logic") merged v6.8-rc1~111^2~13^2~51
Security fix for CVE-2023-52634 bsc#1222278 with CVSS 5.5
..............................
ACTION NEEDED!
SLE15-SP5: MANUAL: might need backport of 2ce156482a6fef349d2eba98e5070c412d3af662 ()
SLE12-SP5: MANUAL: might need backport of 2ce156482a6fef349d2eba98e5070c412d3af662 ()
SLE12-SP3-TD: MANUAL: might need backport of 2ce156482a6fef349d2eba98e5070c412d3af662 ()
Comment 5 Thomas Zimmermann 2024-04-17 11:58:50 UTC
Hi

> ACTION NEEDED!
> SLE15-SP5: MANUAL: might need backport of
> 2ce156482a6fef349d2eba98e5070c412d3af662 ()
> SLE12-SP5: MANUAL: might need backport of
> 2ce156482a6fef349d2eba98e5070c412d3af662 ()
> SLE12-SP3-TD: MANUAL: might need backport of
> 2ce156482a6fef349d2eba98e5070c412d3af662 ()

The affected code is in neither of these branches. Resolving as INVALID.