CVE-2025-37758 ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()
A missing NULL check in the Linux kernel's pata_pxa driver can cause a crash when memory mapping fails, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-37758?
CVE-2025-37758 is a medium-severity vulnerability in Debian Debian Linux, published on 1 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()
devm_ioremap() returns NULL on error. Currently, pxa_ata_probe() does not check for this case, which can result in a NULL pointer dereference.
Add NULL check after devm_ioremap() to prevent this issue.
Weakness: CWE-476
Which versions are affected by CVE-2025-37758?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2025-37758?
Apply the vendor's patch.
Is CVE-2025-37758 being exploited?
There is no known exploitation of CVE-2025-37758 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2025-37758, DEBIAN-CVE-2025-37758, GHSA-fx77-mj6g-j23r, ROOT-OS-DEBIAN-11-CVE-2025-37758, ROOT-OS-DEBIAN-12-CVE-2025-37758, ROOT-OS-UBUNTU-2204-CVE-2025-37758 and 2 more.