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 6DCBC16F0EF for ; Fri, 12 Jul 2024 12:38:20 +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=1720787900; cv=none; b=EaMSrmAruP55kEu3XPRjvFSjnF7podJgbyn4rD8CoHCVsQ8kPw1YdtQR05pqcOLjidenFlbK3oxSebkkffbfoGHdp7610AdIxm2BjvJhdASGTV8aTtdCSCuWIC/qBq9lwbRrZ/A2uAWdksxVDWtQP8I23UW580elU2oFmhgFNSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787900; c=relaxed/simple; bh=cHCGsLS1hAcLbIlL6MtvlrCoNrq35xkll/ZLBRfXRqU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bEtxOjcQFTf114c0iCNiFY/rUYhGtsuryVEo67rbrTJz74+GN6EOGA0IwPxYx6kkh4hYUCxupU0UflWM7rId1YJCorhR6fR+Y2LobqoistRAz/iG7XU0wNZx0Q0krKF6FUOepm6sVcHIgc9+CdLtW2G5UHd6AYBH0kdT+sgD0wc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ptxydHsQ; 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="ptxydHsQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6254C32786; Fri, 12 Jul 2024 12:38:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787900; bh=cHCGsLS1hAcLbIlL6MtvlrCoNrq35xkll/ZLBRfXRqU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ptxydHsQU3VTKzgSRHOhKp3oAzwiqLozf7ud210CCdW+ZNY3GEZV3HH1MQ0OFuxnt XgIT3iKuUarJuD3szxqaM2sXIohespMGHX4PQ9xvPEm9w8rA9QGmARDcuifNMHgjyv QfPWD5EWFEbVu3U8Icg35vuyi0vG7Y8iAc2VfgSA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40991: dmaengine: ti: k3-udma-glue: Fix of_k3_udma_glue_parse_chn_by_id() Date: Fri, 12 Jul 2024 14:37:55 +0200 Message-ID: <2024071250-CVE-2024-40991-34b6@gregkh> X-Mailer: git-send-email 2.45.2 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=1872; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cHCGsLS1hAcLbIlL6MtvlrCoNrq35xkll/ZLBRfXRqU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTledlTNrkuurj4rO8TWtPM2vP9Dhb1rJ7zb1pB/ruT 3leo8i/pCOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmYivDsGDadJ0J+nn3b7ip s+9pLpu+M/ivwwaG+clr5M4snvPihnLkstDb9ns3n1j16QUA 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: dmaengine: ti: k3-udma-glue: Fix of_k3_udma_glue_parse_chn_by_id() The of_k3_udma_glue_parse_chn_by_id() helper function erroneously invokes "of_node_put()" on the "udmax_np" device-node passed to it, without having incremented its reference count at any point. Fix it. The Linux kernel CVE team has assigned CVE-2024-40991 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 81a1f90f20af and fixed in 6.9.7 with commit a5ab5f413d1e Issue introduced in 6.9 with commit 81a1f90f20af and fixed in 6.10-rc5 with commit ba27e9d22077 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-2024-40991 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/dma/ti/k3-udma-glue.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/a5ab5f413d1e4c7ed5f64271b025f0726374509e https://git.kernel.org/stable/c/ba27e9d2207784da748b19170a2e56bd7770bd81