CVE-2025-37758

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

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 12:56 PM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.36 ≤ v < 5.10.2372.6.36 ≤ v < 5.15.1812.6.36 ≤ v < 5.4.2932.6.36 ≤ v < 6.1.1352.6.36 ≤ v < 6.12.242.6.36 ≤ v < 6.13.122.6.36 ≤ v < 6.14.32.6.36 ≤ v < 6.152.6.36 ≤ v < 6.6.885.11 ≤ v < 5.15.1815.16 ≤ v < 6.1.1355.5 ≤ v < 5.10.2376.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.2 ≤ v < 6.6.886.7 ≤ v < 6.12.242.6.362dc6c6f15da97cb3e810963c80e981f19d42cd7d6.15 rc1
Vendor states this is fixed in 17d5e6e915fad5a261db3698c9c5bbe702102d7c (fixed)
Vendor states this is fixed in 2ba9e4c69207777bb0775c7c091800ecd69de144 (fixed)
Vendor states this is fixed in 2dc53c7a0c1f57b082931facafa804a7ca32a9a6 (fixed)
Vendor states this is fixed in 5b09bf6243b0bc0ae58bd9efdf6f0de5546f8d06 (fixed)
Vendor states this is fixed in a551f75401793ba8075d7f46ffc931ce5151f03f (fixed)
Vendor states this is fixed in ad320e408a8c95a282ab9c05cdf0c9b95e317985 (fixed)
Vendor states this is fixed in c022287f6e599422511aa227dc6da37b58d9ceac (fixed)
Vendor states this is fixed in d0d720f9282839b9db625a376c02a1426a16b0ae (fixed)
Vendor states this is fixed in ee2b0301d6bfe16b35d57947687c664ecb815775 (fixed)
Vendor states this is fixed in 2.6.36 (unaffected)
Vendor states this is fixed in 5.10.237 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 5.4.293 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/17d5e6e915fad5a261db3698c9c5bbe702102d7c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2ba9e4c69207777bb0775c7c091800ecd69de144
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2dc53c7a0c1f57b082931facafa804a7ca32a9a6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5b09bf6243b0bc0ae58bd9efdf6f0de5546f8d06
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a551f75401793ba8075d7f46ffc931ce5151f03f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad320e408a8c95a282ab9c05cdf0c9b95e317985
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c022287f6e599422511aa227dc6da37b58d9ceac
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d0d720f9282839b9db625a376c02a1426a16b0ae

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card