NULL pointer dereference in Linux
CVE-2022-49475
In the Linux kernel, the following vulnerability has been resolved:
spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()
It will cause null-ptr-deref if platform_get_resource_byname() returns NULL,
we need check the return value.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 21.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 858e26a515c28df3ef542d9c09493b54a329d6cf, 5.8, 0
- Linux Kernel
Weakness classification (CWE)
References
- git.kernel.org/stable/c/560dcbe1c7a78f597f2167371ebdbe2bca3d0735 (Patch)
- git.kernel.org/stable/c/10f537219629769498ecb8515e096be213224c24 (Patch)
- git.kernel.org/stable/c/33dda87d04598ac5d9a849218a373443f7d3de66 (Patch)
- git.kernel.org/stable/c/9d9c84825c3ec359b165c762a424cfdefe87fdd7 (Patch)
- git.kernel.org/stable/c/a2b331ac11e1cac56f5b7d367e9f3c5796deaaed (Patch)