Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A90D73D6F for ; Thu, 1 May 2025 12:58:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104313; cv=none; b=gL60s/D39k4MOfBP3OpcTbjsBYg/ETdmcJClaMWnYsCV0Q8ULKiq3LzvnrxsTHivDAP/BOEL+tk3OBLB78apaRAGLotjbN03p4MMs95F3lEke0MvKUizhUx4ypOKk9jm19uGBCTnlyS4BCdRZ5irU5cJg2mU3S1Xfkz56rtAOyY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104313; c=relaxed/simple; bh=jdTlYKdZVhENwqKSsuYUXaqsJDVqb9oNC92gkPfLc7A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pnVMAn4SZnBeCuNsvGtibe3Z6F1vdlCb734PAaI7rRJs9aNZX3FH2HRm0jIO7lmau9WZAgy6NpdEVo6RxHA916wzmnPISd0WFiysO2IVHsEkP5uc6SuROb9IE5g67rxJ3dnsF/TmJx+WeErnRqar2pZUxCebX8SvtBepez0DJ1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wRX79N5J; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wRX79N5J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37EAFC4CEE3; Thu, 1 May 2025 12:58:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104313; bh=jdTlYKdZVhENwqKSsuYUXaqsJDVqb9oNC92gkPfLc7A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wRX79N5Jrho2p58bU/B4e9IJoi5G3qDzfVPzjUsrPzWS4YHuwOXZ/rFZLd8i97F7U aY60fpiqY3/K7pbxO1LIjWdNitSUPjVMuoHhlCmGB2KtJz7IfPiWuNK++6+Tiesmrh xEVvKZtW7nXl8AkKBtkMO4emtyichQJgJR+m8KCA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37755: net: libwx: handle page_pool_dev_alloc_pages error Date: Thu, 1 May 2025 14:57:01 +0200 Message-ID: <2025050138-CVE-2025-37755-00b5@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2753; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gSPOBpNgxZtydbA22gaYrkTCQlC5kzFCh1zyCY3YRYY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnC+W3/qoQXdq+/bCuq0Jp6/EC6nFL0l8JI1dMvXnxs8 o9mfDKrI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYyt4JhQbv/j7IV1hnCzWo/ Cj2XJ5scNnNayDC/INq+fcXsHmmBYO4XkXL2nL0zaw4CAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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-rc2 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