spi: wpcm-fiu: Fix potential NULL pointer dereference in wpcm_fiu_probe()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891, Kernel 2c538a0b3472e99c892c26f4940da38b7d87f632, Kernel 888a0a802c467bbe34a42167bdf9d7331333440a and 2 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.2, >=9838c182471ee5532824bae7f2669d3539719f78 <0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891, >=9838c182471ee5532824bae7f2669d3539719f78 <2c538a0b3472e99c892c26f4940da38b7d87f632, >=9838c182471ee5532824bae7f2669d3539719f78 <888a0a802c467bbe34a42167bdf9d7331333440a, >=9838c182471ee5532824bae7f2669d3539719f78 <9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9, >=9838c182471ee5532824bae7f2669d3539719f78 <cb9b2dc34a9eef0855edb00ae9c9b7f72394281b | 0f93a80eb3fd596ddc5730d05e0e8c88e1aa2891, 2c538a0b3472e99c892c26f4940da38b7d87f632, 888a0a802c467bbe34a42167bdf9d7331333440a, 9e5cb7e67fbdb8320d68d87db882a92b36f6a1d9, cb9b2dc34a9eef0855edb00ae9c9b7f72394281b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket