drm: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get()
This patch fixes a potential integer overflow in the zynqmp_dp_rate_get()
The issue comes up when the expression drm_dp_bw_code_to_link_rate(dp->test.bw_code) * 10000 is evaluated using 32-bit Now the constant is a compatible 64-bit type.
Resolves coverity issues: CID 1636340 and CID 1635811
From the CVE record · Linux
The Linux kernel's zynqmp_dp_rate_get() can overflow when it multiplies a link rate by 10000 using 32-bit arithmetic. The input does not specify an attacker action or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their version includes the zynqmp_dp_rate_get() fix; affected versions are not specified.