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 ACD011422D3 for ; Mon, 24 Jun 2024 13:57:10 +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=1719237430; cv=none; b=jTzlp9yoYH/XCx8QndbMYMn1SBN7AcU9xD2a1qrEycHOYZ4VJZnhNLj7+BwqRaycai1HV/KrHNMJ9D1XMKXt2g8Bm3/lK/I6+930kCGFVdGpRL304tjHvHxWmjPtb8rVXy2/lvcV986inkgrNlM6r3SY3HQ9381eU9WkNd3qbMI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719237430; c=relaxed/simple; bh=Vt/XtHAGVhsbu2ieljryKztNn/DuJIJv5ltISygd8j8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lzcJVE7kzJX9m2gCRJH9pknvTYgu61hpzn/i3YGVgbNhKy/T9uZn+2WQvVOseE6hJ9rPVVfM04X7/TJPdEMNklbaEzasawSoC8x5sZTwDaMplr6O5GkfHYYTJONI/A2GKeUDzuXtCQ1Fy6jBdSMwSPj6MAlAfylL1DAx1ge4paw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DBeveG5L; 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="DBeveG5L" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C170DC32782; Mon, 24 Jun 2024 13:57:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1719237430; bh=Vt/XtHAGVhsbu2ieljryKztNn/DuJIJv5ltISygd8j8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DBeveG5LhaejoCmmZ0MzkM/OF4ZO35WbmhknMa/WJbJWB/omGsDi1twUBKiHjfkAR w49j1EZRGagbE8sIOKLSbSZC2jE0vR5V20G1aR7ZEzKaacOZU6jacID/dBFwj8xXnw AjMReK8g7zi6sw/OcEH3QeguVRv6j2xt9ElY02Mg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-32936: media: ti: j721e-csi2rx: Fix races while restarting DMA Date: Mon, 24 Jun 2024 15:56:58 +0200 Message-ID: <2024062458-CVE-2024-32936-b157@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=1943; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Vt/XtHAGVhsbu2ieljryKztNn/DuJIJv5ltISygd8j8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmV1VrfnWf/1Jl2yE/55J3mNTF9wrwzGWK35LcJKuco1 RqtPHG+I4aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayo4RhwZLjT8qjJ+yRue4v fev0vJ/Hzjq1BjLM+O6f8Hvde8Nb6ysfrdl/dLpjrvN/AA== 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: media: ti: j721e-csi2rx: Fix races while restarting DMA After the frame is submitted to DMA, it may happen that the submitted list is not updated soon enough, and the DMA callback is triggered before that. This can lead to kernel crashes, so move everything in a single lock/unlock section to prevent such races. The Linux kernel CVE team has assigned CVE-2024-32936 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit b4a3d877dc92 and fixed in 6.9.4 with commit 80a8b92950f8 Issue introduced in 6.7 with commit b4a3d877dc92 and fixed in 6.10-rc1 with commit ad79c9ecea5b 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-32936 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/media/platform/ti/j721e-csi2rx/j721e-csi2rx.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/80a8b92950f8ee96582dba6187e3c2deca3569ea https://git.kernel.org/stable/c/ad79c9ecea5baa7b4f19677e4b1c881ed89b0c3b