What’s Vulnerable › Vulnerabilities
CVE-2022-50503: mtd: lpddr2_nvm: Fix possible null-ptr-deref
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-04 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Linux kernel: from 3.16 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86 — fixed in 4.14.303, 4.19.270, 4.9.337, 5.10.163, 5.15.86, 5.4.229
How to fix
Upgrade to a fixed version: Linux kernel 4.14.303, 4.19.270, 4.9.337, 5.10.163. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0919982a1744346269320615615c7deb14106661
- https://git.kernel.org/stable/c/4d10bd7416e8383340b5524b8d616b8ad01ef1e1
- https://git.kernel.org/stable/c/6bdd45d795adf9e73b38ced5e7f750cd199499ff
- https://git.kernel.org/stable/c/8eb64dc5a790a529ef49ec94b3337af09dac15d3
- https://git.kernel.org/stable/c/bb9ccb6121ec4140d366147aa866ceb5a21a8d3d
- https://git.kernel.org/stable/c/c4cc41e94d8357f5f02b8ef40257bb23931d8438
- https://git.kernel.org/stable/c/e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2
- https://git.kernel.org/stable/c/e6aafb57d90ff2c1e18554f3a3c36247a59825ce
- https://git.kernel.org/stable/c/f82f63b3911f1b2da68a14d9c4babf3b55feca55
Get alerted when CVE-2022-50503 or the next vulnerability affects your stack