clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 99cbd064b059f222c8839ba433a68b2d6ee33066 · < 58922910add18583d5273c2edcdb9fd7bf4eca02| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
The display pixel clock has a requirement on certain newer platforms to support M/N as (2/3) and the final D value calculated results in underflow errors. As the current implementation does not check for D value is within the accepted range for a given M & N value. Update the logic to calculate the final D value based on the range.
From the CVE record · Linux
The Linux kernel's Qualcomm clk-rcg2 clock logic can calculate an out-of-range D value, causing an underflow when a display pixel clock requires an M/N ratio of 2/3. The input does not describe an attacker action, access requirements, or user interaction.
Teams running Linux kernels on affected newer platforms should check whether their kernel includes the vulnerable clk-rcg2 logic; affected versions are not specified.