CVE-2026-46261

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

State
Published
Severity
Not scored
Published
Jun 3, 2026
Updated
Jun 3, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9838c182471ee5532824bae7f2669d3539719f78 to before 9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9Affected
  • 9838c182471ee5532824bae7f2669d3539719f78 to before 2c538a0b3472e99c892c26f4940da38b7d87f632Affected
  • 9838c182471ee5532824bae7f2669d3539719f78 to before 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891Affected
  • 9838c182471ee5532824bae7f2669d3539719f78 to before cb9b2dc34a9eef0855edb00ae9c9b7f72394281bAffected
  • 9838c182471ee5532824bae7f2669d3539719f78 to before 888a0a802c467bbe34a42167bdf9d7331333440aAffected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.14 through 6.18.*Not affected
  • 6.19.4 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.