CVE-2022-50503 Details
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.
A null pointer dereference vulnerability has been identified in the Linux kernel's LPDDR2 NVM driver. This issue arises in versions of the kernel prior to the fix, when the 'platform_get_resource()' function returns NULL. The vulnerability occurs because the 'resource_size(add_range)' function is called with a NULL value, leading to a dereference error.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the latest kernel can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0919982a1744346269320615615c7deb14106661 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4d10bd7416e8383340b5524b8d616b8ad01ef1e1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6bdd45d795adf9e73b38ced5e7f750cd199499ff | kernel.org | Patch |
| https://git.kernel.org/stable/c/8eb64dc5a790a529ef49ec94b3337af09dac15d3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bb9ccb6121ec4140d366147aa866ceb5a21a8d3d | kernel.org | Patch |
| https://git.kernel.org/stable/c/c4cc41e94d8357f5f02b8ef40257bb23931d8438 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e6aafb57d90ff2c1e18554f3a3c36247a59825ce | kernel.org | Patch |
| https://git.kernel.org/stable/c/f82f63b3911f1b2da68a14d9c4babf3b55feca55 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.16, < 4.9.337 >= 4.10, < 4.14.303 >= 4.15, < 4.19.270 >= 4.20, < 5.4.229 >= 5.5, < 5.10.163 >= 5.11, < 5.15.86 >= 5.16, < 6.0.16 >= 6.1, < 6.1.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jan 22, 2026 | Initial Analysis | [email protected] |
| Oct 4, 2025 | New CVE Received | kernel.org |