Linux Kernel SPI wpcm-fiu NULL Pointer Deref in wpcm_fiu_probe
CVE-2026-46261 Published on June 3, 2026

spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe()
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.

NVD


Products Associated with CVE-2026-46261

Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.

 

Affected Versions

Linux: Linux: