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 6262223F422 for ; Thu, 3 Apr 2025 07:19:28 +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=1743664769; cv=none; b=HdqRRpaMWnWWrKVa/k7InPDHsWMmYxWSCTZwXVJATtfuXwqW7XRtzPsbR0guAb4PW/AnbgepVlhm6FKzeJoqwtj0+LJ7lrhBFIg2qcKHRi45uuVszljm4X7pR/WTRsmJ1f7rtrb7cvtxHZcv0Lg1BflaRgp20K9lZ2EgZXW6xAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743664769; c=relaxed/simple; bh=lwfnGl7kp3eOit2cD3lVvpPNFuSgMbxNHv1COjKWiw0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K9jzn03ZnHraXMeMquX2z5a1Rdws9yuMSBULxOwmnQQEY0FDYLXM5OpqnY4KbKOAlCM5Va8dTytjj3fhNYNrFtJwEfJEfM/AQfHMDhlgm0XA0T+Q9qpLgaOPFa1hBS+s5OjUN7Whs7EaBj+uqpn1xZIoY0z+w0HaHHJa7DB+LBI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yPQPrnSH; 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="yPQPrnSH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47AF8C4CEE3; Thu, 3 Apr 2025 07:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743664768; bh=lwfnGl7kp3eOit2cD3lVvpPNFuSgMbxNHv1COjKWiw0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=yPQPrnSHO292oxJl72jCamtLOcjYWgbmPjz7TO63ED41tn6qFtS3QeNoYdrBopDO7 Dk7bKCu3c2W+caj+yta14JEnT/Phwy7KiazwxZt7fD9TfXWrdO4qOU4Cwm/CYJj/41 aKe2bJQZqXOiXUCsakCklTqJ2wkkNwcOhuE53B/o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22006: net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence Date: Thu, 3 Apr 2025 08:17:58 +0100 Message-ID: <2025040350-CVE-2025-22006-d1a7@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=2196; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lwfnGl7kp3eOit2cD3lVvpPNFuSgMbxNHv1COjKWiw0=; b=owGbwMvMwCRo6H6F97bub03G02pJDOnvzORqq6qSj8rsEfR4unlRXhqLw2MJw/l65xSss5LX/ rnxOLy3I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayuZ1hwYwYC8arwVMkzj7c 7rcuXsi41sYynmGettH7stI/U4q0OHySTJf0X9Uvb+oAAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence Registering the interrupts for TX or RX DMA Channels prior to registering their respective NAPI callbacks can result in a NULL pointer dereference. This is seen in practice as a random occurrence since it depends on the randomness associated with the generation of traffic by Linux and the reception of traffic from the wire. The Linux kernel CVE team has assigned CVE-2025-22006 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.14 with commit 82b44cdb0355b5061769ae51909d1c8a1b7f31f2 and fixed in 6.12.21 with commit d4bf956547c38c04fad8d72a961ac4dc00bad000 Issue introduced in 6.13.3 with commit faef4c2bebac3c6e4161e66c3d42b85e88013709 and fixed in 6.13.9 with commit 942557abed7f38b77a47d77b92d448802eefe185 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-22006 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/ti/am65-cpsw-nuss.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/d4bf956547c38c04fad8d72a961ac4dc00bad000 https://git.kernel.org/stable/c/942557abed7f38b77a47d77b92d448802eefe185 https://git.kernel.org/stable/c/5f079290e5913a0060e059500b7d440990ac1066