CVE-2022-49487 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_probe() It will cause null-ptr-deref when using 'res', if platform_get_resource() returns NULL, so move using 'res' after devm_ioremap_resource() that will check it to avoid null-ptr-deref.
A null pointer dereference vulnerability has been identified in the Linux kernel's MTD (Memory Technology Device) subsystem, specifically within the Intel Rawnand driver. The issue arises in the 'ebu_nand_probe()' function when 'platform_get_resource()' returns NULL. This oversight can lead to a null pointer dereference by improperly using the 'res' variable before it is validated. The vulnerability has been addressed by rearranging the code to ensure 'res' is only used after 'devm_ioremap_resource()' has confirmed its validity, thus preventing the null pointer dereference.
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/daa5166450b447415aeeaac0199e445bae7bd0f2 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ddf66aefd685fd46500b9917333e1b1e118276dc | kernel.org | Patch |
| https://git.kernel.org/stable/c/e5b1e419cdb6dd8709eb05ed34039a3ded8e6003 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f8e262eb7575a4a2412f30f7a1b293875aceba80 | 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.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 |