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.
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:- Version 9838c182471ee5532824bae7f2669d3539719f78 and below 9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9 is affected.
- Version 9838c182471ee5532824bae7f2669d3539719f78 and below 2c538a0b3472e99c892c26f4940da38b7d87f632 is affected.
- Version 9838c182471ee5532824bae7f2669d3539719f78 and below 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891 is affected.
- Version 9838c182471ee5532824bae7f2669d3539719f78 and below cb9b2dc34a9eef0855edb00ae9c9b7f72394281b is affected.
- Version 9838c182471ee5532824bae7f2669d3539719f78 and below 888a0a802c467bbe34a42167bdf9d7331333440a is affected.
- Version 6.2 is affected.
- Before 6.2 is unaffected.
- Version 6.6.128, <= 6.6.* is unaffected.
- Version 6.12.75, <= 6.12.* is unaffected.
- Version 6.18.14, <= 6.18.* is unaffected.
- Version 6.19.4, <= 6.19.* is unaffected.
- Version 7.0, <= * is unaffected.