Bug 2320493 (CVE-2024-50016) - CVE-2024-50016 kernel: drm/amd/display: Avoid overflow assignment in link_dp_cts
Summary: CVE-2024-50016 kernel: drm/amd/display: Avoid overflow assignment in link_dp_cts
Keywords:
Status: NEW
Alias: CVE-2024-50016
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: 2320971
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:05 UTC by OSIDB Bzimport
Modified: 2024-10-22 12:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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

drm/amd/display: Avoid overflow assignment in link_dp_cts

sampling_rate is an uint8_t but is assigned an unsigned int, and thus it
can overflow. As a result, sampling_rate is changed to uint32_t.

Similarly, LINK_QUAL_PATTERN_SET has a size of 2 bits, and it should
only be assigned to a value less or equal than 4.

This fixes 2 INTEGER_OVERFLOW issues reported by Coverity.


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