| 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-37755: net: libwx: handle page_pool_dev_alloc_pages error |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| net: libwx: handle page_pool_dev_alloc_pages error |
| |
| page_pool_dev_alloc_pages could return NULL. There was a WARN_ON(!page) |
| but it would still proceed to use the NULL pointer and then crash. |
| |
| This is similar to commit 001ba0902046 |
| ("net: fec: handle page_pool_dev_alloc_pages error"). |
| |
| This is found by our static analysis tool KNighter. |
| |
| The Linux kernel CVE team has assigned CVE-2025-37755 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.3 with commit 3c47e8ae113a68da47987750d9896e325d0aeedd and fixed in 6.6.88 with commit c17ef974bfcf1a50818168b47c4606b425a957c4 |
| Issue introduced in 6.3 with commit 3c47e8ae113a68da47987750d9896e325d0aeedd and fixed in 6.12.24 with commit ad81d666e114ebf989fc9994d4c93d451dc60056 |
| Issue introduced in 6.3 with commit 3c47e8ae113a68da47987750d9896e325d0aeedd and fixed in 6.13.12 with commit 1dd13c60348f515acd8c6f25a561b9c4e3b04fea |
| Issue introduced in 6.3 with commit 3c47e8ae113a68da47987750d9896e325d0aeedd and fixed in 6.14.3 with commit 90bec7cef8805f9a23145e070dff28a02bb584eb |
| Issue introduced in 6.3 with commit 3c47e8ae113a68da47987750d9896e325d0aeedd and fixed in 6.15 with commit 7f1ff1b38a7c8b872382b796023419d87d78c47e |
| |
| 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-37755 |
| 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/net/ethernet/wangxun/libwx/wx_lib.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/c17ef974bfcf1a50818168b47c4606b425a957c4 |
| https://git.kernel.org/stable/c/ad81d666e114ebf989fc9994d4c93d451dc60056 |
| https://git.kernel.org/stable/c/1dd13c60348f515acd8c6f25a561b9c4e3b04fea |
| https://git.kernel.org/stable/c/90bec7cef8805f9a23145e070dff28a02bb584eb |
| https://git.kernel.org/stable/c/7f1ff1b38a7c8b872382b796023419d87d78c47e |