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 AXPDESCRANGESDELAY macro and update AXPDESCRANGES macro to expand to AXPDESCRANGESDELAY with ramp_delay = 0
For DCDC4, steps is 100mv
Add a AXPDESCDELAY macro and update AXPDESC macro to expand to AXPDESCDELAY with rampdelay = 0
This patch fix crashes when using CPU DVFS.
[
{
"target": {
"file": "drivers/regulator/axp20x-regulator.c"
},
"digest": {
"line_hashes": [
"202493901501764673325352735891741133980",
"208713870045006559365361323226085208295",
"172381864445728100356953317024311876491",
"215770867273847824803597542460175030063",
"232050677633412816247052889369956686803",
"179341487232032098478874680873581312147",
"29622103104228702336513689985593209712",
"256474962444498207664360829658994138895",
"206119773671894526366263838304710645046",
"271899486383993712456693598372386361111",
"178196803367666296288743193417272172172",
"283272134440307204301652611554099299763",
"86227764431681383053641320749700533454",
"241897966393876678117375608285719248429",
"64263372836090566596465781540239386549",
"128637229845820194691338778663889893937",
"84066991361674800556893390249979808505",
"24882971254298981149020499854911284028",
"127443438705787413718736374789308832968",
"754874643245981622005190248846404400",
"289347223300134638986430627518336050589",
"86889679581309152448299800957004420785",
"8967429667725907501342298256983962759",
"127749592624657856561882767383658541932",
"43775709808106182692784487665617791362",
"120961511458100634390842594991904654635",
"22815060163083702553457478293879832083",
"87091814554424782861630474924565824158",
"148061866806552300542500308470116839120",
"100863596423494200558398563156933947455",
"178431338969015110588377382587161526419",
"29976274070358410562574009418732540173",
"285514328186424388462056326337704501368",
"118018061748878028636100085888775370701",
"145666305827109415556370134157913116333",
"270834915670196806036081258634823381571",
"74938481403540101469498036894946166458",
"157275847825937309338414531057149678384"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10eb845a87193ef922cd002e0ff4f4759c1e918d",
"deprecated": false,
"id": "CVE-2024-53682-0e580b94",
"signature_type": "Line"
},
{
"target": {
"file": "drivers/regulator/axp20x-regulator.c"
},
"digest": {
"line_hashes": [
"202493901501764673325352735891741133980",
"208713870045006559365361323226085208295",
"172381864445728100356953317024311876491",
"215770867273847824803597542460175030063",
"232050677633412816247052889369956686803",
"179341487232032098478874680873581312147",
"29622103104228702336513689985593209712",
"256474962444498207664360829658994138895",
"206119773671894526366263838304710645046",
"271899486383993712456693598372386361111",
"178196803367666296288743193417272172172",
"283272134440307204301652611554099299763",
"86227764431681383053641320749700533454",
"241897966393876678117375608285719248429",
"64263372836090566596465781540239386549",
"128637229845820194691338778663889893937",
"84066991361674800556893390249979808505",
"24882971254298981149020499854911284028",
"127443438705787413718736374789308832968",
"754874643245981622005190248846404400",
"289347223300134638986430627518336050589",
"86889679581309152448299800957004420785",
"8967429667725907501342298256983962759",
"127749592624657856561882767383658541932",
"43775709808106182692784487665617791362",
"120961511458100634390842594991904654635",
"22815060163083702553457478293879832083",
"87091814554424782861630474924565824158",
"148061866806552300542500308470116839120",
"100863596423494200558398563156933947455",
"178431338969015110588377382587161526419",
"29976274070358410562574009418732540173",
"285514328186424388462056326337704501368",
"118018061748878028636100085888775370701",
"145666305827109415556370134157913116333",
"270834915670196806036081258634823381571",
"74938481403540101469498036894946166458",
"157275847825937309338414531057149678384"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f07ae52f5cf6a5584fdf7c8c652f027d90bc8b74",
"deprecated": false,
"id": "CVE-2024-53682-499ea7a2",
"signature_type": "Line"
}
]