CVE-2025-37758
JSON

5.5medium

ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.30% (higher than 15% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 2 more
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.*
CVE List
linux linux_kernelfrom 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 and 1 moreNVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ata: pata_pxa: Se corrige la posible desreferencia de punteros nulos en pxa_ata_probe(). Devm_ioremap() devuelve NULL en caso de error. Actualmente, pxa_ata_probe() no verifica este caso, lo que puede provocar una desreferencia de punteros nulos. Agregue la comprobación de NULL después de devm_ioremap() para evitar este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37758 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-37758 changed 2026-06-17Public domain