CVE-2022-50649
power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
Check your servers for CVE-2022-50649
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50649 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fe8e81b7e899968690e5e87c25727178921b5b9a, before 24a0be36e9a21f63de2e6088607e689e59ec15f4 affected from fe8e81b7e899968690e5e87c25727178921b5b9a, before 3376a0cf138dfc90b449fde541ca228a33e1c143 affected from fe8e81b7e899968690e5e87c25727178921b5b9a, before 89f305a71418591cdda18180f712f91c9820f03b affected from fe8e81b7e899968690e5e87c25727178921b5b9a, before 7c8bc374659de19d846f7cab3eda9ebdb005c4cc affected from fe8e81b7e899968690e5e87c25727178921b5b9a, before 038e4aa71281d0cbc8aeb56ba05ff7fc5653a106 affected from fe8e81b7e899968690e5e87c25727178921b5b9a, before dc52b73d3acd676ccbb440fcec617c547b903af2 affected from fe8e81b7e899968690e5e87c25727178921b5b9a, before 9d47e01b9d807808224347935562f7043a358054
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 4.19.262 up to and including 4.19.* unaffected from 5.4.220 up to and including 5.4.* unaffected from 5.10.150 up to and including 5.10.* unaffected from 5.15.75 up to and including 5.15.* unaffected from 5.19.17 up to and including 5.19.* unaffected from 6.0.3 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50649 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50649
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50649
trivy image --scanners vuln IMAGE | grep CVE-2022-50649
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/24a0be36e9a21f63de2e6088607e689e59ec15f4 git.kernel.org
- https://git.kernel.org/stable/c/3376a0cf138dfc90b449fde541ca228a33e1c143 git.kernel.org
- https://git.kernel.org/stable/c/89f305a71418591cdda18180f712f91c9820f03b git.kernel.org
- https://git.kernel.org/stable/c/7c8bc374659de19d846f7cab3eda9ebdb005c4cc git.kernel.org
- https://git.kernel.org/stable/c/038e4aa71281d0cbc8aeb56ba05ff7fc5653a106 git.kernel.org
- https://git.kernel.org/stable/c/dc52b73d3acd676ccbb440fcec617c547b903af2 git.kernel.org
- https://git.kernel.org/stable/c/9d47e01b9d807808224347935562f7043a358054 git.kernel.org
Source: the record CVE-2022-50649 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse