| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-37758: ata: pata_pxa: Fix potential NULL pointer dereference in pxa_ata_probe() |
| |
| 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. |
| |
| The Linux kernel CVE team has assigned CVE-2025-37758 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 5.4.293 with commit a551f75401793ba8075d7f46ffc931ce5151f03f |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 5.10.237 with commit 17d5e6e915fad5a261db3698c9c5bbe702102d7c |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 5.15.181 with commit d0d720f9282839b9db625a376c02a1426a16b0ae |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.1.135 with commit 2dc53c7a0c1f57b082931facafa804a7ca32a9a6 |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.6.88 with commit 5b09bf6243b0bc0ae58bd9efdf6f0de5546f8d06 |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.12.24 with commit ee2b0301d6bfe16b35d57947687c664ecb815775 |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.13.12 with commit c022287f6e599422511aa227dc6da37b58d9ceac |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.14.3 with commit 2ba9e4c69207777bb0775c7c091800ecd69de144 |
| Issue introduced in 2.6.36 with commit 2dc6c6f15da97cb3e810963c80e981f19d42cd7d and fixed in 6.15 with commit ad320e408a8c95a282ab9c05cdf0c9b95e317985 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2025-37758 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| drivers/ata/pata_pxa.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/a551f75401793ba8075d7f46ffc931ce5151f03f |
| https://git.kernel.org/stable/c/17d5e6e915fad5a261db3698c9c5bbe702102d7c |
| https://git.kernel.org/stable/c/d0d720f9282839b9db625a376c02a1426a16b0ae |
| https://git.kernel.org/stable/c/2dc53c7a0c1f57b082931facafa804a7ca32a9a6 |
| https://git.kernel.org/stable/c/5b09bf6243b0bc0ae58bd9efdf6f0de5546f8d06 |
| https://git.kernel.org/stable/c/ee2b0301d6bfe16b35d57947687c664ecb815775 |
| https://git.kernel.org/stable/c/c022287f6e599422511aa227dc6da37b58d9ceac |
| https://git.kernel.org/stable/c/2ba9e4c69207777bb0775c7c091800ecd69de144 |
| https://git.kernel.org/stable/c/ad320e408a8c95a282ab9c05cdf0c9b95e317985 |