Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 EF57C38E8CA for ; Sun, 19 Jul 2026 14:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470048; cv=none; b=gbmfE0vbEIcYrJTi1+s6ywBL6L87VwpC3ntEhtM2/6eGJTBc5f4iKg/3JHwfUJ1+F2BSiXF1INUjbuwP4/1UyzqJub22GLcv/XMXig4DjBcABUXl27Gg4odeF1LW0ZFL9X9wvc2/JngRS3fSSYVmrXoLnxrsPBHkSsRb9vSx5NE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470048; c=relaxed/simple; bh=SrHEDYxxmrrt+MmDeIAAYvkOj9hiHSLxvTlRxTsiFDE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=h2DY9h9i5TJF8tlgoAhxlms/bAg/rHNxqxlHR5NruUnyqfVGwIGnoUcUzvnAZCr3ufCa3LQo77FnxldufbD5Ct6tl1IXm67pOe/IA4jfHQpbUZhmVxcVstrRPgGLXsbloTkMwCKDgL3YdyUaYPV2DM6sfEJgytEotmwD7ooaa18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n+YSFF3i; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="n+YSFF3i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C62E1F000E9; Sun, 19 Jul 2026 14:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784470046; bh=LwVRj6MCqbEeadO2lN8otuQpCywcBZvEnNfmnWkW1+M=; h=From:To:Cc:Subject:Date:Reply-To; b=n+YSFF3iSBfCk7o7ks1VNUl/32/UA4MbOdoZOLK/Zj9bMtFE+hAGsxzYuKBMHD+lC 5n2mxU0XkccEKA6mSnDqfnFWJJmEohXcgkeksbJFlI4wwJTdyzPfNarkLdtUzaGt4G f6kU7RcRNWs9P8ZqRTear0qgzuu3DDFOQNx4hhik= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63857: net: airoha: Do not read uninitialized fragment address in airoha_dev_xmit() Date: Sun, 19 Jul 2026 16:03:47 +0200 Message-ID: <2026071932-CVE-2026-63857-2bda@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2583; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=elyhjiJpeKr9NMBX/Tg1O+Ti/m47SYpGTYWQYY/q76k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxN03z7k+1uL507raWuNln456Kuhg6L574+maKgfvZG AvFG7/CO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiP7YxzHcXdrZRSbpRI7el Y0HzlN37e58z2DMsOKLi6lKQued7wXzHbYof1J80chSUAgA= 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: airoha: Do not read uninitialized fragment address in airoha_dev_xmit() The transmit loop in airoha_dev_xmit() reads fragment address and length during its final iteration, when the loop index equals skb_shinfo(skb)->nr_frags, at which point the fragment data is uninitialized. While these values are never consumed, the read itself is unsafe and may trigger a page fault. Fix this by avoiding the fragment read on the last iteration. Additionally, move the skb pointer from the first to the last used packet descriptor, so that airoha_qdma_tx_napi_poll() defers freeing the skb until the final descriptor is processed. The Linux kernel CVE team has assigned CVE-2026-63857 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 23020f04932701d5c8363e60756f12b43b8ed752 and fixed in 6.18.33 with commit f670fa4b19ceddc6d215dda4997888ccba9bbc61 Issue introduced in 6.11 with commit 23020f04932701d5c8363e60756f12b43b8ed752 and fixed in 7.0.10 with commit d78c8ab7bd84952e053d0c622b7fc1b4ad8a19a3 Issue introduced in 6.11 with commit 23020f04932701d5c8363e60756f12b43b8ed752 and fixed in 7.1 with commit bde34e84edc8b5571fbde7e941e175a4293ee1eb 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-2026-63857 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/airoha/airoha_eth.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/f670fa4b19ceddc6d215dda4997888ccba9bbc61 https://git.kernel.org/stable/c/d78c8ab7bd84952e053d0c622b7fc1b4ad8a19a3 https://git.kernel.org/stable/c/bde34e84edc8b5571fbde7e941e175a4293ee1eb