What’s Vulnerable › Vulnerabilities

CVE-2022-49487: mtd: rawnand: intel: fix possible null-ptr-deref in ebu_nand_probe()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.46, 5.17.14, 5.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49487 or the next vulnerability affects your stack