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 8813A14BFA2 for ; Thu, 1 May 2025 13:08:25 +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=1746104905; cv=none; b=Pltc4vGLIoXrzCEOTyjEjSI6UCq+BAPNZ5ycPoOX5C5Cc6MaotD/LIM6l+JP9iSrPrZdOg0PqqCzrtOCcRgqmTWdHkdj+QXPKzGBhMf2dasPf83ivrTg/tEb/hfN0yUnYDWZqmlfgJaehvCrSHrgwn3PsXm7cPn6IRk3QiVvkbs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104905; c=relaxed/simple; bh=wIFEodsxwWxxAJ+Ll6nn+uJCm+J3FpRX5dVeGuM9ka0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OsjlDYznt9L8n9XoF66TAHdYy+r9xn93nTdlIfTnWgeJTRbHpxRwv6Z8zqZ85hqWiE8Yv+NiB5nHVL5vgegSugosUOsapAeVsc82FzShyiGDduftrcJce+9RY+nUBuO3gMs0RB4NNq1389pF2WPd05kfGyixZnwidRzRWX0bto8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k1dmdMD1; 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="k1dmdMD1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C7DEC4CEE3; Thu, 1 May 2025 13:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104905; bh=wIFEodsxwWxxAJ+Ll6nn+uJCm+J3FpRX5dVeGuM9ka0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=k1dmdMD1RkWorfAD2EwJWSlzESgjzaS2lPcjwHv0x70OnjFNK/2mg1cd+vAQAKvzG y4HPN4TCnsOnMhyNNBu2KUx1hon/t14bfMSyjSmyHEcjitNcCsBsx0d63h2Is1q85V G/j4Ov9YmDFz9cXLosbzllIfMzNn6bObj239lK+M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37784: net: ti: icss-iep: Fix possible NULL pointer dereference for perout request Date: Thu, 1 May 2025 15:07:32 +0200 Message-ID: <2025050118-CVE-2025-37784-159b@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=2725; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=raSWvkYoFtbi7lVdQzYhVCu6qnNh0hQkMfbijiLZ9kk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRWxL96aYzP184ebm6x5m8dJKG64s/XCO26qUVYpfb muIIbtIRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkdwHD/PRnr3ek6dw8N/P5 NU6Tb0u+3dGuMWSYZ8rzpvTSj13/ZFymvVyxQpyrXMXGBwA= 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: ti: icss-iep: Fix possible NULL pointer dereference for perout request The ICSS IEP driver tracks perout and pps enable state with flags. Currently when disabling pps and perout signals during icss_iep_exit(), results in NULL pointer dereference for perout. To fix the null pointer dereference issue, the icss_iep_perout_enable_hw function can be modified to directly clear the IEP CMP registers when disabling PPS or PEROUT, without referencing the ptp_perout_request structure, as its contents are irrelevant in this case. The Linux kernel CVE team has assigned CVE-2025-37784 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.70 with commit d6b130fabfe197935346fe9f1e50a0947b2b1be7 and fixed in 6.6.88 with commit 7891619d21f07a88e0275d6d43db74035aa74f69 Issue introduced in 6.12.9 with commit 4ac8e8bf70b436294534d06e5d500e950e20c13d and fixed in 6.12.25 with commit da5035d7aeadcfa44096dd34689bfed6c657f559 Issue introduced in 6.13 with commit 9b115361248dc6cce182a2dc030c1c70b0a9639e and fixed in 6.14.4 with commit eeec66327001421531b3fb1a2ac32efc8a2493b0 Issue introduced in 6.13 with commit 9b115361248dc6cce182a2dc030c1c70b0a9639e and fixed in 6.15-rc3 with commit 7349c9e9979333abfce42da5f9025598083b59c9 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-37784 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/icssg/icss_iep.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/7891619d21f07a88e0275d6d43db74035aa74f69 https://git.kernel.org/stable/c/da5035d7aeadcfa44096dd34689bfed6c657f559 https://git.kernel.org/stable/c/eeec66327001421531b3fb1a2ac32efc8a2493b0 https://git.kernel.org/stable/c/7349c9e9979333abfce42da5f9025598083b59c9