CVE-2022-49475 Details
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.
A null pointer dereference vulnerability has been identified in the Linux kernel's SPI-FSL-QSPI component. This issue arises because the code does not properly check the return value of the 'platform_get_resource_byname()' function. If this function returns NULL, it can lead to a null pointer dereference, causing a potential crash or undefined behavior.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/10f537219629769498ecb8515e096be213224c24 | kernel.org | Patch |
| https://git.kernel.org/stable/c/33dda87d04598ac5d9a849218a373443f7d3de66 | kernel.org | Patch |
| https://git.kernel.org/stable/c/560dcbe1c7a78f597f2167371ebdbe2bca3d0735 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9d9c84825c3ec359b165c762a424cfdefe87fdd7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a2b331ac11e1cac56f5b7d367e9f3c5796deaaed | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.8, < 5.10.121 >= 5.11, < 5.15.46 >= 5.16, < 5.17.14 >= 5.18, < 5.18.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 17, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |