CVE-2022-50503
mtd: lpddr2_nvm: Fix possible null-ptr-deref
Check your servers for CVE-2022-50503
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-50503 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:
mtd: lpddr2_nvm: Fix possible null-ptr-deref
It will cause null-ptr-deref when resource_size(add_range) invoked, if platform_get_resource() returns NULL.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.23% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before 4d10bd7416e8383340b5524b8d616b8ad01ef1e1 affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before bb9ccb6121ec4140d366147aa866ceb5a21a8d3d affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before e6aafb57d90ff2c1e18554f3a3c36247a59825ce affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before 8eb64dc5a790a529ef49ec94b3337af09dac15d3 affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before 0919982a1744346269320615615c7deb14106661 affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2 affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before f82f63b3911f1b2da68a14d9c4babf3b55feca55 affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before c4cc41e94d8357f5f02b8ef40257bb23931d8438 affected from 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25, before 6bdd45d795adf9e73b38ced5e7f750cd199499ff
Other versions: unaffected
|
| Linux |
affected 3.16 unaffected before 3.16 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 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-50503 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50503
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-50503
trivy image --scanners vuln IMAGE | grep CVE-2022-50503
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/4d10bd7416e8383340b5524b8d616b8ad01ef1e1 git.kernel.org
- https://git.kernel.org/stable/c/bb9ccb6121ec4140d366147aa866ceb5a21a8d3d git.kernel.org
- https://git.kernel.org/stable/c/e6aafb57d90ff2c1e18554f3a3c36247a59825ce git.kernel.org
- https://git.kernel.org/stable/c/8eb64dc5a790a529ef49ec94b3337af09dac15d3 git.kernel.org
- https://git.kernel.org/stable/c/0919982a1744346269320615615c7deb14106661 git.kernel.org
- https://git.kernel.org/stable/c/e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2 git.kernel.org
- https://git.kernel.org/stable/c/f82f63b3911f1b2da68a14d9c4babf3b55feca55 git.kernel.org
- https://git.kernel.org/stable/c/c4cc41e94d8357f5f02b8ef40257bb23931d8438 git.kernel.org
- https://git.kernel.org/stable/c/6bdd45d795adf9e73b38ced5e7f750cd199499ff git.kernel.org
Source: the record CVE-2022-50503 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