CVE-2022-50503

Source
https://cve.org/CVERecord?id=CVE-2022-50503
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50503.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50503
Downstream
Related
Published
2025-10-04T15:43:52.845Z
Modified
2026-07-15T01:48:50.267319468Z
Summary
mtd: lpddr2_nvm: Fix possible null-ptr-deref
Details

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 resourcesize(addrange) invoked, if platformgetresource() returns NULL.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50503.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Fixed
4d10bd7416e8383340b5524b8d616b8ad01ef1e1
Fixed
bb9ccb6121ec4140d366147aa866ceb5a21a8d3d
Fixed
e6aafb57d90ff2c1e18554f3a3c36247a59825ce
Fixed
8eb64dc5a790a529ef49ec94b3337af09dac15d3
Fixed
0919982a1744346269320615615c7deb14106661
Fixed
e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2
Fixed
f82f63b3911f1b2da68a14d9c4babf3b55feca55
Fixed
c4cc41e94d8357f5f02b8ef40257bb23931d8438
Fixed
6bdd45d795adf9e73b38ced5e7f750cd199499ff

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50503.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.16.0
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50503.json"