CVE-2022-49475: spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()
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.
Security readout for executives and security teams
Plain-English summary
CVE-2022-49475 is a Linux kernel flaw in the spi-fsl-qspi driver. If a named platform resource lookup fails, the driver could dereference a null pointer and crash the system. The impact is availability, not data theft or privilege escalation based on the supplied CVSS vector.
Executive priority
Treat as a moderate operational resilience issue. It is not described as remotely exploitable or data-exposing, but a kernel crash can disrupt affected systems. Patch during the next appropriate kernel maintenance window, faster for critical embedded or infrastructure hosts using this driver.
Technical view
The issue is CWE-476: missing return-value validation after platform_get_resource_byname(). A NULL return can trigger a null pointer dereference in the Linux kernel spi-fsl-qspi path. CVSS 3.1 is 5.5: local attack vector, low complexity, low privileges, no user interaction, high availability impact.
Likely exposure
Exposure is most relevant to Linux systems using the affected kernel versions and the spi-fsl-qspi driver. The source bundle lists Linux as affected, with version entries including 5.8 through 5.19-related stable lines, but does not fully describe downstream distribution package status.
Exploitation context
The bundle does not indicate CISA KEV listing or active exploitation. The CVSS vector requires local access with low privileges, so internet-facing remote exploitation is not supported by the provided evidence. Practical impact would likely be local denial of service on susceptible systems.
Researcher notes
Evidence is limited to the CVE record and kernel stable references. The root cause is straightforward defensive checking after platform_get_resource_byname(). Avoid overstating exploitability: supplied data supports local denial of service only, with no confidentiality or integrity impact and no KEV signal.
Mitigation direction
Update to a kernel or vendor package containing the referenced stable fixes.
Check Linux distribution advisories for exact fixed package versions.
Prioritize systems where spi-fsl-qspi hardware or driver support is enabled.
Apply normal change control because the fix is kernel-level.
Monitor vendor guidance if downstream status is unclear.
Validation and detection
Inventory Linux kernel versions across managed systems.
Check whether the spi-fsl-qspi driver is built, loaded, or needed.
Map installed kernels against vendor advisories and stable fix commits.
Confirm patched kernels are booted, not only installed.
Review local crash reports for null pointer dereferences in this driver.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.