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

Summary

CVECVE-2026-46261
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-03 18:16:27 UTC
Updated2026-06-05 20:51:20 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.000180000 probability, percentile 0.049870000 (date 2026-06-05)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 9838c182471ee5532824bae7f2669d3539719f78 9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9 git Not specified
CNA Linux Linux affected 9838c182471ee5532824bae7f2669d3539719f78 2c538a0b3472e99c892c26f4940da38b7d87f632 git Not specified
CNA Linux Linux affected 9838c182471ee5532824bae7f2669d3539719f78 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891 git Not specified
CNA Linux Linux affected 9838c182471ee5532824bae7f2669d3539719f78 cb9b2dc34a9eef0855edb00ae9c9b7f72394281b git Not specified
CNA Linux Linux affected 9838c182471ee5532824bae7f2669d3539719f78 888a0a802c467bbe34a42167bdf9d7331333440a git Not specified
CNA Linux Linux affected 6.2 Not specified
CNA Linux Linux unaffected 6.2 semver Not specified
CNA Linux Linux unaffected 6.6.128 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.75 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.14 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.4 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/888a0a802c467bbe34a42167bdf9d7331333440a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cb9b2dc34a9eef0855edb00ae9c9b7f72394281b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2c538a0b3472e99c892c26f4940da38b7d87f632 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report