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

Published Feb 26, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

It will cause null-ptr-deref if platformgetresourcebyname() returns NULL, we need check the return value.

Affected Software

9 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.8<5.10.121
Linux Linux kernel>=5.11<5.15.46
Linux Linux kernel>=5.16<5.17.14
Linux Linux kernel>=5.18<5.18.3
debian/linux<5.18.5-1
5.18.5-1
debian/linux<5.18.5-1
5.18.5-1
debian/linux<5.18.5-1
5.18.5-1
debian/linux
5.10.127-15.18.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.18.5-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.127-1Fixed in 5.18.5-1

Event History

Feb 26, 2025
CVE Published
via MITRE·02:13 AM
Data Sourced
via MITRE·02:13 AM
Description
Data Sourced
via NVD·07:01 AM
Description
Data Sourced
via OSV·07:01 AM
DescriptionSeverityAffected Software
Mar 17, 2025
Data Sourced
via NVD·04:08 PM
RemedySeverityWeaknessAffected Software
Oct 1, 2025
Updated
via NVD·08:16 PM
SeverityWeaknessAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203