CVE Catalog

CVE-2025-37801

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

In the SPI driver for i.MX (spi-imx), the return value of spi_imx_setupxfer() is not checked. This can lead to a NULL pointer dereference and system crash.

Risk Assessment

This vulnerability can be exploited to cause a denial of service (DoS) by sending malformed data to the SPI driver.

Recommendation

Apply the patch that adds a check for the return value of spi_imx_setupxfer() before using the rx/tx pointers.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: spi: spi-imx: Add check for spi_imx_setupxfer() Add check for the return value of spi_imx_setupxfer(). spi_imx->rx and spi_imx->tx function pointer can be NULL when spi_imx_setupxfer() return error, and make NULL pointer dereference. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 Call trace: 0x0 spi_imx_pio_transfer+0x50/0xd8 spi_imx_transfer_one+0x18c/0x858 spi_transfer_one_message+0x43c/0x790 __spi_pump_transfer_message+0x238/0x5d4 __spi_sync+0x2b0/0x454 spi_write_then_read+0x11c/0x200

Vulnerability data from NVD (NIST) · CISA KEV · EPSS