Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-37801

HIGH 7.8EPSS 15%

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

Mitigation

  • Upgrade Linux to 951a04ab3a2db4029debfa48d380ef834b93207e or later.

Who should check

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

Vulnerability facts

Affected
Linux >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 2fea0d6d7b5d27fbf55512d51851ba0a346ede52; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 2b4479eb462ecb39001b38dfb331fc6028dedac8; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 055ef73bb1afc3f783a9a13b496770a781964a07; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 951a04ab3a2db4029debfa48d380ef834b93207e; Linux 5.19
Fixed in
Linux 2fea0d6d7b5d27fbf55512d51851ba0a346ede52, Linux 2b4479eb462ecb39001b38dfb331fc6028dedac8, Linux 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399, Linux 055ef73bb1afc3f783a9a13b496770a781964a07, Linux 951a04ab3a2db4029debfa48d380ef834b93207e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 307c897db762d1e0feee9477276b08f6deca4a5b, < 2fea0d6d7b5d27fbf55512d51851ba0a346ede52; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 2b4479eb462ecb39001b38dfb331fc6028dedac8; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 055ef73bb1afc3f783a9a13b496770a781964a07; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 951a04ab3a2db4029debfa48d380ef834b93207e—cvelist
Linux5.19—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-37801. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37801.md
Affected: Linux >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 2fea0d6d7b5d27fbf55512d51851ba0a346ede52; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 2b4479eb462ecb39001b38dfb331fc6028dedac8; >= 307c897db762d1e0feee9477276b08f6deca4a5b, < 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399; >= 307c897db762d1e0feee947…
Fixed in: Linux 2fea0d6d7b5d27fbf55512d51851ba0a346ede52, Linux 2b4479eb462ecb39001b38dfb331fc6028dedac8, Linux 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399, Linux 055ef73bb1afc3f783a9a13b496770a781964a07, Linux 951a04ab3a2db4029debfa48d380ef834b93207e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-37801 being exploited?

There is no confirmed exploitation: CVE-2025-37801 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-37801?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-37801?

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

Is there a fix for CVE-2025-37801?

Yes. Fixed in Linux 2fea0d6d7b5d27fbf55512d51851ba0a346ede52, Linux 2b4479eb462ecb39001b38dfb331fc6028dedac8, Linux 185d376875ea6fb4256b9dc97ee0b4d2b0fdd399, Linux 055ef73bb1afc3f783a9a13b496770a781964a07, Linux 951a04ab3a2db4029debfa48d380ef834b93207e. Upgrade Linux to 951a04ab3a2db4029debfa48d380ef834b93207e or later.

How do I check if I'm affected by CVE-2025-37801?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors