CVE-2022-50503

mtd: lpddr2_nvm: Fix possible null-ptr-deref

MEDIUM
5.5
CVSS Score
Published: October 4, 2025 at 03:43 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.16 ≤ v < 4.14.3033.16 ≤ v < 4.19.2703.16 ≤ v < 4.9.3373.16 ≤ v < 5.10.1633.16 ≤ v < 5.15.863.16 ≤ v < 5.4.2293.16 ≤ v < 6.0.163.16 ≤ v < 6.1.23.16 ≤ v < 6.24.10 ≤ v < 4.14.3034.15 ≤ v < 4.19.2704.20 ≤ v < 5.4.2295.11 ≤ v < 5.15.865.16 ≤ v < 6.0.165.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.23.1696ba9dd65788a0bd2a7d1e57ec78b7642f0ccc25
Vendor states this is fixed in 0919982a1744346269320615615c7deb14106661 (fixed)
Vendor states this is fixed in 4d10bd7416e8383340b5524b8d616b8ad01ef1e1 (fixed)
Vendor states this is fixed in 6bdd45d795adf9e73b38ced5e7f750cd199499ff (fixed)
Vendor states this is fixed in 8eb64dc5a790a529ef49ec94b3337af09dac15d3 (fixed)
Vendor states this is fixed in bb9ccb6121ec4140d366147aa866ceb5a21a8d3d (fixed)
Vendor states this is fixed in c4cc41e94d8357f5f02b8ef40257bb23931d8438 (fixed)
Vendor states this is fixed in e0d3e46ac6669cdf1b99bc7b7d92f1221b9a1ff2 (fixed)
Vendor states this is fixed in e6aafb57d90ff2c1e18554f3a3c36247a59825ce (fixed)
Vendor states this is fixed in f82f63b3911f1b2da68a14d9c4babf3b55feca55 (fixed)
Vendor states this is fixed in 3.16 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card