CVE-2026-46261 spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe()
A NULL pointer dereference in the Linux kernel's wpcm-fiu SPI driver can cause a system crash during device probing.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-46261?
CVE-2026-46261 is a medium-severity vulnerability in Linux kernel, published on 3 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2026-46261?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-46261?
Apply the vendor's patch.
Is CVE-2026-46261 being exploited?
There is no known exploitation of CVE-2026-46261 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-46261, DEBIAN-CVE-2026-46261, GHSA-86fj-8698-3qp6, UBUNTU-CVE-2026-46261.