CVE-2026-46261

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

Published Jun 3, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability lies in the wpcm_fiu_probe() function of the Linux kernel’s SPI subsystem, where the code may dereference a NULL pointer returned by platform_get_resource_byname(). This null dereference leads to a kernel crash and consequently a system reboot or unresponsive state, resulting in a denial of service. The weakness is a classic pointer dereference without null check (CWE‑476).

Affected Systems

Linux kernel distributions that include the WPCM‑FIU SPI driver are affected. No specific kernel version information is provided, so any kernel containing the unpatched wpcm_fiu_probe() code is potentially vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates medium severity. The EPSS score is <1% and the issue is not listed in the CISA KEV catalog, indicating that it is not a known widely exploited vulnerability at this time. Based on the description, it is inferred that an attacker who has local or privileged access could load or configure the WPCM‑FIU driver (for example during boot or by executing modprobe) to trigger the crash. The likely attack vector therefore involves local kernel module manipulation. The lack of a public exploit and the requirement for kernel module control suggest a moderate risk, but the severity of a kernel crash warrants taking action even if exploitation probability is low.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Linux kernel patch that removes the NULL pointer dereference in wpcm_fiu_probe()
  • Restart the system to boot into the updated kernel
  • If the update is not immediately possible, disable or avoid loading the WPCM‑FIU SPI driver (e.g., set 'module_wpcm_fiu=0' in the boot configuration or remove the device handle)

Generated by OpenCVE AI on June 9, 2026 at 23:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8492-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8492-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8497-1 Linux kernel (Low Latency) vulnerabilities
Ubuntu USN Ubuntu USN USN-8498-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8499-1 Linux kernel (Xilinx) vulnerabilities
Ubuntu USN Ubuntu USN USN-8492-3 Linux kernel (Raspberry Pi Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-8492-4 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8492-5 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8606-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8607-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8609-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8619-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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.
Title spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Jun 3, 2026, 3:49 PM
Reserved
May 13, 2026, 3:03 PM
Status
Analyzed
Published
Jun 3, 2026, 6:16 PM
Modified
Jul 20, 2026, 8:10 PM
Severity
Public date
Jun 3, 2026, 12:00 AM