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 212F513E02C for ; Fri, 12 Jul 2024 12:37:57 +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=1720787878; cv=none; b=CrHUT6B+REs0rzN6smpNRDfCfdofB+xibJCY1xHg5Jy6IGie+KFB04AtTUMxHruo6G3LWzwSEG2t78AQnQajRQshW77F4RJ8g3MVlrZ8wnmVvbitrZNz2p8iV3MWhbVQ0rKMqQxOXeJC2k/3Pkd3d9YxQ8XQ0Ngee9UCZ5grsQY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720787878; c=relaxed/simple; bh=ej4P5e4QJ7Z3us9wknZ1T9DNOPaPJzEP0nvIebYpSac=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WZ6lcnwfZF05ZyS75Gb+5BG+OAUnJshbkytLLhkqAO8vlgXoWwEgyUCdo0dZi+H/l/qF8yxy2Z126vltVtrLrOVK/GbRGeB8RqkKSlWIQY+vnRGGfG+vrZX3x4DYJP4r+4jyy3L9gYl83sASEjjb/oyrBgprFtmXpcfFa+r2/jU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PTA99txd; 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="PTA99txd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 206BFC32782; Fri, 12 Jul 2024 12:37:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1720787877; bh=ej4P5e4QJ7Z3us9wknZ1T9DNOPaPJzEP0nvIebYpSac=; h=From:To:Cc:Subject:Date:Reply-to:From; b=PTA99txdAb2hYlu24BBVSNTPGWM0b3WvHMSEA1aGRKXOi4rqF/UU2SzNCt15tyax8 8BWD1sBe/ebkzPs7UXf9opbHKRuDcIVE8CKLsr1bJnTrdIqDj2j8/4r3eOec2jVRGb XdiEtGdyhKhfVp0kCJPBYuzjDN4sOXBKNhpO7Sn0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-40986: dmaengine: xilinx: xdma: Fix data synchronisation in xdma_channel_isr() Date: Fri, 12 Jul 2024 14:37:50 +0200 Message-ID: <2024071248-CVE-2024-40986-f31c@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=1778; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ej4P5e4QJ7Z3us9wknZ1T9DNOPaPJzEP0nvIebYpSac=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkTleeEB7PsjOXK4ajz31peVB7oJp845xLD35dJgrLzt Rm+69/riGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlsO8wwV2rD3YbPYZN3/Tlx /Fv3J8XZfT9lLzEsuLl2r9vWeMcWG8s8xhfnhS17khf5AgA= 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: xilinx: xdma: Fix data synchronisation in xdma_channel_isr() Requests the vchan lock before using xdma->stop_request. The Linux kernel CVE team has assigned CVE-2024-40986 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 6a40fb824596 and fixed in 6.9.7 with commit 8e1f54e4a3f3 Issue introduced in 6.9 with commit 6a40fb824596 and fixed in 6.10-rc5 with commit 462237d2d93f Issue introduced in 6.8.9 with commit 582ce5d73419 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-40986 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/xilinx/xdma.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/8e1f54e4a3f3207c9dc68bb5000603b75802e7f0 https://git.kernel.org/stable/c/462237d2d93fc9e9221d1cf9f773954d27da83c0