CVE-2022-50503Published Oct 4, 2025 · Oct 4Updated Oct 28
mtd: lpddr2_nvm: Fix possible null-ptr-deref
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 96ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25 · < e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's lpddr2_nvm driver can dereference a null pointer if platform_get_resource() returns NULL and the driver calls resource_size(add_range). The input does not establish whether an attacker can trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with the lpddr2_nvm driver should check whether their kernel is affected; no affected versions are specified.