CVE-2022-49475: Null Pointer Dereference in Linux kernel spi-fsl-qspi
- Vendor
- Linux
A vulnerability in the Linux kernel's spi-fsl-qspi driver was identified where the return value of platform_get_resource_byname() was not checked. If this function returns NULL, subsequent dereferencing leads to a null pointer dereference. This could result in a kernel crash or denial of service when the driver is initialized with missing or misconfigured resources.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation of this vulnerability can lead to a kernel panic or denial of service, as the kernel may attempt to dereference a NULL pointer during device initialization. This is a local issue and would typically require the attacker to have the ability to trigger the driver initialization with crafted device tree or platform data.
Mitigation
If you can’t patch tonight, do this now.
As a temporary mitigation, avoid using or loading the spi-fsl-qspi driver on systems where the platform resources may be missing or misconfigured. Ensure that device tree or platform data is correctly configured to provide the required resources.
Remediation
Patch, then assume compromise.
Upgrade to a version of the Linux kernel that includes the patch which checks the return value of platform_get_resource_byname() in the spi-fsl-qspi driver. The patch ensures that the driver gracefully handles the case where the resource is missing.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-49475 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2022-49475 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-49475?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2022-49475.
- Is there a patch for CVE-2022-49475?
- Upgrade to a version of the Linux kernel that includes the patch which checks the return value of platform_get_resource_byname() in the spi-fsl-qspi driver. The patch ensures that the driver gracefully handles the case where the resource is missing.
- What products are affected by CVE-2022-49475?
- Linux Kernel.
- How severe is CVE-2022-49475?
- CVE-2022-49475 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.28% (21st percentile) as of Sep 25, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.