What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.75, 6.18.14, 6.19.4, 6.6.128. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-46261 or the next vulnerability affects your stack