← Back to CVE List

CVE-2022-49494

Published: 2025-02-26T07:01Z
Last Modified: 2025-03-17T16:52Z
Source: MITRE CVE List
License: MITRE-CVE-TOS
In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: cadence: fix possible null-ptr-deref in cadence_nand_dt_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. And use devm_platform_get_and_ioremap_resource() to simplify code. > MITRE Terms of Use apply – see LICENSE‑MITRE.txt