What’s Vulnerable › Vulnerabilities

CVE-2022-49475: spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()

Description

In the Linux kernel, the following vulnerability has been resolved: spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname() It will cause null-ptr-deref if platform_get_resource_byname() returns NULL, we need check the return value.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.121, 5.15.46, 5.17.14, 5.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49475 or the next vulnerability affects your stack