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 A7D432D238B for ; Thu, 3 Jul 2025 08:36:36 +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=1751531797; cv=none; b=Dn2xXsl8sRFb46MJR2PkDNcwp2HG4U/mCEevJ3a/2cj1bEEtjJVTQ5jtkOkz9FHoFM0mWyYNZl8uRwQ8nTlr9otmujNWKrgjc2UZ518ckb2ltS3FVsy0TCh7Wgu8Hoj5dOX2A0sVVEwxX2xAms7ptPKa92W570PBvw9HJEdo28k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531797; c=relaxed/simple; bh=ewNEZm0Xpj+vmFUu+KBoqaZxbyjJ9w70iamTGKaK7Ww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hLEhD91J7VdWnfHDnl7OoXj3dw6hk8pfLFpErVB20Fn/ZBEdCOqCcg6knU+2OV2eA/ywE8DwR8AV1nD1FJoeQGA9OvxiKrmZsVHh+2Foy+SZtFky2WhuvyiiNUvLFW57RHbJpVGlRiTtA7uMW2Ky+bTBjrY98Hr5sdJc1LuE55k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0+YQqKI7; 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="0+YQqKI7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0A6AC4CEE3; Thu, 3 Jul 2025 08:36:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751531796; bh=ewNEZm0Xpj+vmFUu+KBoqaZxbyjJ9w70iamTGKaK7Ww=; h=From:To:Cc:Subject:Date:Reply-to:From; b=0+YQqKI7iFuBvkyGUGjOrLFxoxIvDNmEkjGOi4Y7XE6temwWuGA4n9dtl5X19xqz1 Ncg39Ihj35I4jCFHnbx0oYqWrSCniRqo7MGEpbpMzmpmHtnX8lGLeIiCX01hLnGToi 4nIFqJdVsasBfTiXaW5IroHGcYG+811mjtBk1KNM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38123: net: wwan: t7xx: Fix napi rx poll issue Date: Thu, 3 Jul 2025 10:35:40 +0200 Message-ID: <2025070328-CVE-2025-38123-3e20@gregkh> X-Mailer: git-send-email 2.50.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=3128; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vA8vkBR9kN+zSlvriU2+jf47KcPX3KtviNuy3MRSu2w=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlpDhf+urW0/RZ6L3tbQF75x/b8qNsbYs/aHXpTxbXYi Y/79Yk1HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR20kM80t3n7phVfzq9Aet 1S+2VYs47fJmm8Uw3zE3zu3Btwt13dWxvYaXN2u6rD3kCAA= 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: wwan: t7xx: Fix napi rx poll issue When driver handles the napi rx polling requests, the netdev might have been released by the dellink logic triggered by the disconnect operation on user plane. However, in the logic of processing skb in polling, an invalid netdev is still being used, which causes a panic. BUG: kernel NULL pointer dereference, address: 00000000000000f1 Oops: 0000 [#1] PREEMPT SMP NOPTI RIP: 0010:dev_gro_receive+0x3a/0x620 [...] Call Trace: ? __die_body+0x68/0xb0 ? page_fault_oops+0x379/0x3e0 ? exc_page_fault+0x4f/0xa0 ? asm_exc_page_fault+0x22/0x30 ? __pfx_t7xx_ccmni_recv_skb+0x10/0x10 [mtk_t7xx (HASH:1400 7)] ? dev_gro_receive+0x3a/0x620 napi_gro_receive+0xad/0x170 t7xx_ccmni_recv_skb+0x48/0x70 [mtk_t7xx (HASH:1400 7)] t7xx_dpmaif_napi_rx_poll+0x590/0x800 [mtk_t7xx (HASH:1400 7)] net_rx_action+0x103/0x470 irq_exit_rcu+0x13a/0x310 sysvec_apic_timer_interrupt+0x56/0x90 The Linux kernel CVE team has assigned CVE-2025-38123 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 5545b7b9f294de7f95ec6a7cb1de0db52296001c and fixed in 6.6.94 with commit cc89f457d9133a558d4e8ef26dc20843c2d12073 Issue introduced in 6.2 with commit 5545b7b9f294de7f95ec6a7cb1de0db52296001c and fixed in 6.12.34 with commit e2df04e69c3f10b412f54be036dd0ed3b14756cf Issue introduced in 6.2 with commit 5545b7b9f294de7f95ec6a7cb1de0db52296001c and fixed in 6.15.3 with commit 66542e9430c625f878a5b5dc0fe41e3458d614bf Issue introduced in 6.2 with commit 5545b7b9f294de7f95ec6a7cb1de0db52296001c and fixed in 6.16-rc1 with commit 905fe0845bb27e4eed2ca27ea06e6c4847f1b2b1 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-38123 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/wwan/t7xx/t7xx_netdev.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/cc89f457d9133a558d4e8ef26dc20843c2d12073 https://git.kernel.org/stable/c/e2df04e69c3f10b412f54be036dd0ed3b14756cf https://git.kernel.org/stable/c/66542e9430c625f878a5b5dc0fe41e3458d614bf https://git.kernel.org/stable/c/905fe0845bb27e4eed2ca27ea06e6c4847f1b2b1