CVE-2022-49494
MEDIUMLinux Kernel 5.5-5.10.121 5.11-5.15.46 5.16-5.17.14 5.18-5.18.3 - Null Pointer Dereference in cadence_nand_dt_probe
Title source: llmDescription
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.
References (5)
Core 5
Core References
Scores
CVSS v3
5.5
EPSS
0.0025
EPSS Percentile
15.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-476
Status
published
Products (17)
linux/Kernel
5.11.0 - 5.15.46linux
linux/Kernel
5.16.0 - 5.17.14linux
linux/Kernel
5.18.0 - 5.18.3linux
linux/Kernel
5.5.0 - 5.10.121linux
Linux/Linux
< 5.5
Linux/Linux
5.10.121 - 5.10.*
Linux/Linux
5.15.46 - 5.15.*
Linux/Linux
5.17.14 - 5.17.*
Linux/Linux
5.18.3 - 5.18.*
Linux/Linux
5.19
... and 7 more
Published
Feb 26, 2025
Tracked Since
Feb 18, 2026