In the Linux kernel, the following vulnerability has been resolved:
spi: spi-fsl-qspi: check return value after calling platformgetresource_byname()
It will cause null-ptr-deref if platformgetresource_byname() returns NULL, we need check the return value.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2022/49xxx/CVE-2022-49475.json"
}