CVE-2022-49475

medium

Description

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.

References

https://git.kernel.org/stable/c/a2b331ac11e1cac56f5b7d367e9f3c5796deaaed

https://git.kernel.org/stable/c/9d9c84825c3ec359b165c762a424cfdefe87fdd7

https://git.kernel.org/stable/c/560dcbe1c7a78f597f2167371ebdbe2bca3d0735

https://git.kernel.org/stable/c/33dda87d04598ac5d9a849218a373443f7d3de66

https://git.kernel.org/stable/c/10f537219629769498ecb8515e096be213224c24

Details

Source: Mitre, NVD

Published: 2025-02-26

Updated: 2025-02-26

Risk Information

CVSS v2

Base Score: 4.9

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium