spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe()
Summary
| CVE | CVE-2026-46261 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-03 18:16:27 UTC |
| Updated | 2026-06-05 20:51:20 UTC |
| 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. |
Risk And Classification
EPSS: 0.000180000 probability, percentile 0.049870000 (date 2026-06-05)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 9838c182471ee5532824bae7f2669d3539719f78 9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9 git | Not specified |
| CNA | Linux | Linux | affected 9838c182471ee5532824bae7f2669d3539719f78 2c538a0b3472e99c892c26f4940da38b7d87f632 git | Not specified |
| CNA | Linux | Linux | affected 9838c182471ee5532824bae7f2669d3539719f78 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891 git | Not specified |
| CNA | Linux | Linux | affected 9838c182471ee5532824bae7f2669d3539719f78 cb9b2dc34a9eef0855edb00ae9c9b7f72394281b git | Not specified |
| CNA | Linux | Linux | affected 9838c182471ee5532824bae7f2669d3539719f78 888a0a802c467bbe34a42167bdf9d7331333440a git | Not specified |
| CNA | Linux | Linux | affected 6.2 | Not specified |
| CNA | Linux | Linux | unaffected 6.2 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.128 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.75 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.14 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.4 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/888a0a802c467bbe34a42167bdf9d7331333440a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/cb9b2dc34a9eef0855edb00ae9c9b7f72394281b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2c538a0b3472e99c892c26f4940da38b7d87f632 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.