CVE-2025-37801: spi: spi-imx: Add check for spi_imx_setupxfer()

Published May 8, 2025
·
Updated

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

spi: spi-imx: Add check for spiimxsetupxfer()

Add check for the return value of spiimxsetupxfer(). spiimx->rx and spiimx->tx function pointer can be NULL when spiimxsetupxfer() return error, and make NULL pointer dereference.

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 Call trace: 0x0 spiimxpiotransfer+0x50/0xd8 spiimxtransferone+0x18c/0x858 spitransferonemessage+0x43c/0x790 spipumptransfermessage+0x238/0x5d4 spisync+0x2b0/0x454 spiwritethenread+0x11c/0x200

Affected Software

10 affected componentsFixes available
Linux Linux kernel
Microsoft cbl2 kernel 5.15.186.1-1
Linux Linux kernel<6.1.136
Linux Linux kernel>=6.2<6.6.89
Linux Linux kernel>=6.7<6.12.26
Linux Linux kernel>=6.13<6.14.5
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Microsoft azl3 kernel 6.6.92.2-1<6.6.92.2-1
6.6.92.2-1
Microsoft azl3 kernel 6.6.85.1-4<6.6.92.2-1
6.6.92.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.92.2-1

Event History

May 8, 2025
CVE Published
via MITRE·06:26 AM
Data Sourced
via MITRE·06:26 AM
DescriptionSeverity
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Updated
via Microsoft·07:00 AM
SeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
WeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37801?

The severity of CVE-2025-37801 is considered high due to potential NULL pointer dereference risks in the Linux kernel.

2

How do I fix CVE-2025-37801?

To fix CVE-2025-37801, update to the patched version of the Linux kernel that includes the necessary checks for spi_imx_setupxfer().

3

What impact does CVE-2025-37801 have on system security?

CVE-2025-37801 could lead to system instability or crashes if NULL function pointers are dereferenced, posing potential security risks.

4

Is my system vulnerable to CVE-2025-37801?

Your system may be vulnerable to CVE-2025-37801 if it is running an affected version of the Linux kernel prior to the patch.

5

What systems are affected by CVE-2025-37801?

CVE-2025-37801 affects the Linux kernel, particularly implementations that utilize the spi-imx driver without the fix applied.

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