Bug 2320464 (CVE-2024-49892) - CVE-2024-49892 kernel: drm/amd/display: Initialize get_bytes_per_element's default to 1
Summary: CVE-2024-49892 kernel: drm/amd/display: Initialize get_bytes_per_element'...
Keywords:
Status: NEW
Alias: CVE-2024-49892
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320805
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:03 UTC by OSIDB Bzimport
Modified: 2024-10-21 23:20 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:03:45 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/amd/display: Initialize get_bytes_per_element's default to 1

Variables, used as denominators and maybe not assigned to other values,
should not be 0. bytes_per_element_y & bytes_per_element_c are
initialized by get_bytes_per_element() which should never return 0.

This fixes 10 DIVIDE_BY_ZERO issues reported by Coverity.


Note You need to log in before you can comment on or make changes to this bug.