CVE-2022-49487Published Feb 26, 2025 · Feb 26Updated Oct 28
mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_probe()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's Intel raw NAND probe can dereference a null pointer if platform_get_resource() returns NULL. The input does not specify whether an attacker can trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with the Intel raw NAND driver should check their installations; affected versions are not specified.