PoC Monitor
← All CVEs
CVE-2025-37801published 8 May 2025 06:26 UTCData: JSON · API

Linux

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

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

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-476
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 2fea0d6d7b5d27fbf55512d51851ba0a346ede52
  • >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 2b4479eb462ecb39001b38dfb331fc6028dedac8
  • >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399
  • >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 055ef73bb1afc3f783a9a13b496770a781964a07
  • >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 951a04ab3a2db4029debfa48d380ef834b93207e

Fixed in 2fea0d6d7b5d27fbf55512d51851ba0a346ede52, 2b4479eb462ecb39001b38dfb331fc6028dedac8, 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399, 055ef73bb1afc3f783a9a13b496770a781964a07, 951a04ab3a2db4029debfa48d380ef834b93207e

Linux Linux
  • 5.19

Fixed in 0, 6.1.136, 6.6.89, 6.12.26, 6.14.5, 6.15

Mitigation

Upgrade Linux to 2fea0d6d7b5d27fbf55512d51851ba0a346ede52 or 2b4479eb462ecb39001b38dfb331fc6028dedac8 or 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399 or 055ef73bb1afc3f783a9a13b496770a781964a07 or 951a04ab3a2db4029debfa48d380ef834b93207e or later.

Upgrade Linux to 0 or 6.1.136 or 6.6.89 or 6.12.26 or 6.14.5 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published8 May 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.