power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type() (Linux Linux)

CVE-2022-50649
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type() ADP5061_CHG_STATUS_1_CHG_STATUS is masked with 0x07, which means a length of 8, but adp5061_chg_type array size is 4, may end up reading 4 elements beyond the end of the adp5061_chg_type[] array.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected fe8e81b7e899968690e5e87c25727178921b5b9a < 24a0be36e9a21f63de2e6088607e689e59ec15f4 ; affected fe8e81b7e899968690e5e87c25727178921b5b9a < 3376a0cf138dfc90b449fde541ca228a33e1c143 ; affected fe8e81b7e899968690e5e87c25727178921b5b9a < 89f305a71418591cdda18180f712f91c9820f03b ; affected fe8e81b7e899968690e5e87c25727178921b5b9a < 7c8bc374659de19d846f7cab3eda9ebdb005c4cc ; affected fe8e81b7e899968690e5e87c25727178921b5b9a < 038e4aa71281d0cbc8aeb56ba05ff7fc5653a106 ; affected fe8e81b7e899968690e5e87c25727178921b5b9a < dc52b73d3acd676ccbb440fcec617c547b903af2
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 4.19.262 ≤ 4.19.* ; unaffected 5.4.220 ≤ 5.4.* ; unaffected 5.10.150 ≤ 5.10.* ; unaffected 5.15.75 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD