NULL pointer dereference in Linux
CVE-2025-37801
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.002 · 11.8th percentile
- Published
- 2025-05-08
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
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 11.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 307c897db762d1e0feee9477276b08f6deca4a5b, 5.19, 0
- Linux Kernel — versions 6.15
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/2fea0d6d7b5d27fbf55512d51851ba0a346ede52 (Patch)
- git.kernel.org/stable/c/2b4479eb462ecb39001b38dfb331fc6028dedac8 (Patch)
- git.kernel.org/stable/c/185d376875ea6fb4256b9dc97ee0b4d2b0fdd399 (Patch)
- git.kernel.org/stable/c/055ef73bb1afc3f783a9a13b496770a781964a07 (Patch)
- git.kernel.org/stable/c/951a04ab3a2db4029debfa48d380ef834b93207e (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html