CVE-2026-46261

spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe()

MEDIUM
5.5
CVSS Score
Published: June 3, 2026 at 03:49 PM UTC
Updated: July 20, 2026 at 08:28 PM 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.1%

Description

In the Linux kernel, the following vulnerability has been resolved: spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe() platform_get_resource_byname() can return NULL, which would cause a crash when passed the pointer to resource_size(). Move the fiu->memory_size assignment after the error check for devm_ioremap_resource() to prevent the potential NULL pointer dereference.

Affected

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

6.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.2 ≤ v < 6.12.756.2 ≤ v < 6.18.146.2 ≤ v < 6.19.46.2 ≤ v < 6.6.1286.2 ≤ v < 7.06.7 ≤ v < 6.12.756.29838c182471ee5532824bae7f2669d3539719f78
Vendor states this is fixed in 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891 (fixed)
Vendor states this is fixed in 2c538a0b3472e99c892c26f4940da38b7d87f632 (fixed)
Vendor states this is fixed in 888a0a802c467bbe34a42167bdf9d7331333440a (fixed)
Vendor states this is fixed in 9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9 (fixed)
Vendor states this is fixed in cb9b2dc34a9eef0855edb00ae9c9b7f72394281b (fixed)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)
Vendor states this is fixed in 6.6.128 (unaffected)
Vendor states this is fixed in 7.0 (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