CVE-2026-46261
Analyzed Analyzed - Analysis Complete
NULL Pointer Dereference in Linux Kernel SPI FIU Driver

Publication date: 2026-06-03

Last updated on: 2026-06-09

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-03
Last Modified
2026-06-09
Generated
2026-06-14
AI Q&A
2026-06-03
EPSS Evaluated
2026-06-12
NVD
EUVD
Affected Vendors & Products
Showing 4 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.13 (inc) to 6.18.14 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.4 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.128 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.75 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's spi: wpcm-fiu driver, specifically in the wpcm_fiu_probe() function.

The issue arises because the function platform_get_resource_byname() can return NULL, and if this NULL pointer is passed to resource_size(), it causes a crash.

The fix involves moving the assignment of fiu->memory_size to occur only after checking for errors from devm_ioremap_resource(), thereby preventing a potential NULL pointer dereference.

Impact Analysis

This vulnerability can cause the Linux kernel to crash due to a NULL pointer dereference in the spi: wpcm-fiu driver.

A kernel crash can lead to system instability, unexpected reboots, or denial of service conditions on affected systems.

Mitigation Strategies

To mitigate this vulnerability, update the Linux kernel to a version where the issue in the wpcm-fiu driver has been fixed. This fix involves proper error checking to prevent a NULL pointer dereference in the wpcm_fiu_probe() function.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46261. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart