CVE-2022-49475

spi: spi-fsl-qspi: check return value after calling platform_get_resource_byname()

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:13 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.8 ≤ v < 5.10.1215.8 ≤ v < 5.15.465.8 ≤ v < 5.17.145.8 ≤ v < 5.18.35.8 ≤ v < 5.195.8858e26a515c28df3ef542d9c09493b54a329d6cf
Vendor states this is fixed in 10f537219629769498ecb8515e096be213224c24 (fixed)
Vendor states this is fixed in 33dda87d04598ac5d9a849218a373443f7d3de66 (fixed)
Vendor states this is fixed in 560dcbe1c7a78f597f2167371ebdbe2bca3d0735 (fixed)
Vendor states this is fixed in 9d9c84825c3ec359b165c762a424cfdefe87fdd7 (fixed)
Vendor states this is fixed in a2b331ac11e1cac56f5b7d367e9f3c5796deaaed (fixed)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/10f537219629769498ecb8515e096be213224c24
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/33dda87d04598ac5d9a849218a373443f7d3de66
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/560dcbe1c7a78f597f2167371ebdbe2bca3d0735
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9d9c84825c3ec359b165c762a424cfdefe87fdd7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a2b331ac11e1cac56f5b7d367e9f3c5796deaaed

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card