medium5.5
CVE-2022-49487
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…
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 5.11 before 5.15.46 from 5.16 before 5.17.14 from 5.18 before 5.18.3 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/daa5166450b447415aeeaac0199e445bae7bd0f2
- https://git.kernel.org/stable/c/ddf66aefd685fd46500b9917333e1b1e118276dc
- https://git.kernel.org/stable/c/e5b1e419cdb6dd8709eb05ed34039a3ded8e6003
- https://git.kernel.org/stable/c/f8e262eb7575a4a2412f30f7a1b293875aceba80