CVE-2024-49892: drm/amd/display: Initialize get_bytes_per_element's default to 1
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Initialize getbytesperelement's default to 1
Variables, used as denominators and maybe not assigned to other values, should not be 0. bytesperelementy & bytesperelementc are initialized by getbytesperelement() which should never return 0.
This fixes 10 DIVIDEBYZERO issues reported by Coverity.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-49892?
CVE-2024-49892 is classified as a moderate severity vulnerability in the Linux kernel.
How do I fix CVE-2024-49892?
To remediate CVE-2024-49892, update your Linux kernel to version 6.1.123-1 or later.
Which versions of the Linux kernel are affected by CVE-2024-49892?
CVE-2024-49892 affects Linux kernel versions from 5.10.0 up to 6.11.3, excluding 5.10.227, 5.15.168, 6.1.113, 6.6.55, 6.10.14, and 6.11.
What components of the Linux kernel are impacted by CVE-2024-49892?
CVE-2024-49892 impacts the drm/amd/display component of the Linux kernel.
Is there a specific mitigation for CVE-2024-49892?
The primary mitigation for CVE-2024-49892 is to ensure that the affected Linux kernel is updated to a patched version.