CVE-2026-46261

MEDIUM

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

Title source: cna
STIX 2.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.

Scores

CVSS v3 5.5
EPSS 0.0011
EPSS Percentile 1.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (13)
Linux/Linux < 6.2
Linux/Linux 6.12.75 - 6.12.*
Linux/Linux 6.18.14 - 6.18.*
Linux/Linux 6.19.4 - 6.19.*
Linux/Linux 6.2
Linux/Linux 6.6.128 - 6.6.*
Linux/Linux 7.0
Linux/Linux 9838c182471ee5532824bae7f2669d3539719f78 - 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891
Linux/Linux 9838c182471ee5532824bae7f2669d3539719f78 - 2c538a0b3472e99c892c26f4940da38b7d87f632
Linux/Linux 9838c182471ee5532824bae7f2669d3539719f78 - 888a0a802c467bbe34a42167bdf9d7331333440a
... and 3 more
Published Jun 03, 2026
Tracked Since Jun 03, 2026