# CVE-2025-37758: ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 15% of CVEs (2026-11-30)
- Published: 2025-05-01T12:56:02.520Z
- Modified: 2026-06-17T09:15:22.943Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before a551f75401793ba8075d7f46ffc931ce5151f03f; from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before 17d5e6e915fad5a261db3698c9c5bbe702102d7c; from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before d0d720f9282839b9db625a376c02a1426a16b0ae; from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before 2dc53c7a0c1f57b082931facafa804a7ca32a9a6; from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before 5b09bf6243b0bc0ae58bd9efdf6f0de5546f8d06; from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before ee2b0301d6bfe16b35d57947687c664ecb815775; from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before c022287f6e599422511aa227dc6da37b58d9ceac; from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before 2ba9e4c69207777bb0775c7c091800ecd69de144; from 2dc6c6f15da97cb3e810963c80e981f19d42cd7d before ad320e408a8c95a282ab9c05cdf0c9b95e317985; 2.6.36 (not affected: before 2.6.36; from 5.4.293 up to 5.4.*; from 5.10.237 up to 5.10.*; from 5.15.181 up to 5.15.*; from 6.1.135 up to 6.1.*; from 6.6.88 up to 6.6.*; from 6.12.24 up to 6.12.*; from 6.13.12 up to 6.13.*; from 6.14.3 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 2.6.36 before 5.4.293; from 5.5 before 5.10.237; from 5.11 before 5.15.181; from 5.16 before 6.1.135; from 6.2 before 6.6.88; from 6.7 before 6.12.24; from 6.13 before 6.13.12; from 6.14 before 6.14.3; 6.15
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/a551f75401793ba8075d7f46ffc931ce5151f03f> (patch)
- <https://git.kernel.org/stable/c/17d5e6e915fad5a261db3698c9c5bbe702102d7c> (patch)
- <https://git.kernel.org/stable/c/d0d720f9282839b9db625a376c02a1426a16b0ae> (patch)
- <https://git.kernel.org/stable/c/2dc53c7a0c1f57b082931facafa804a7ca32a9a6> (patch)
- <https://git.kernel.org/stable/c/5b09bf6243b0bc0ae58bd9efdf6f0de5546f8d06> (patch)
- <https://git.kernel.org/stable/c/ee2b0301d6bfe16b35d57947687c664ecb815775> (patch)
- <https://git.kernel.org/stable/c/c022287f6e599422511aa227dc6da37b58d9ceac> (patch)
- <https://git.kernel.org/stable/c/2ba9e4c69207777bb0775c7c091800ecd69de144> (patch)
- <https://git.kernel.org/stable/c/ad320e408a8c95a282ab9c05cdf0c9b95e317985> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list)

## Sources

- CVE List: [CVE-2025-37758](https://www.cve.org/CVERecord?id=CVE-2025-37758), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37758](https://nvd.nist.gov/vuln/detail/CVE-2025-37758), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37758 · Whole record: https://cve.day/CVE-2025-37758.json · Rebuilt by cve.day 2026-11-25T22:58:57.298Z
