regulator: axp20x: AXP717: set ramp_delay
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:
regulator: axp20x: AXP717: set ramp_delay
AXP717 datasheet says that regulator ramp delay is 15.625 us/step, which is 10mV in our case.
Add a AXP_DESC_RANGES_DELAY macro and update AXP_DESC_RANGES macro to expand to AXP_DESC_RANGES_DELAY with ramp_delay = 0
For DCDC4, steps is 100mv
Add a AXP_DESC_DELAY macro and update AXP_DESC macro to expand to AXP_DESC_DELAY with ramp_delay = 0
This patch fix crashes when using CPU DVFS.
From the CVE record · Linux
The Linux kernel’s AXP717 regulator driver lacks the specified ramp delay, which can cause crashes when CPU DVFS is used. The input does not establish an attacker-triggered path or specify network access, authentication, or user-interaction requirements.
Engineers running Linux systems that use the AXP717 regulator and CPU DVFS should check their kernel; affected versions are not specified.