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 C615D67C53 for ; Thu, 4 Apr 2024 08:23:24 +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=1712219004; cv=none; b=bLoJYavXNn24ZMXsSLiHE0b3TG0XQNhgLC5fFkVDq+kLOqn8D2g62YtMwGbiZ5a3hUg98N8R+U6HcIjDDO8f5YtesClenn2+8yT2FVgrfYm2yaBP3Qb7GGnh72kjQZA9pryr/fRvzC2u/dfyYtmYMvOeSdD2FOxU0ff5M7eAGMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712219004; c=relaxed/simple; bh=dwmXzP4caYgPYBOPA/2BocfhtOlgG0wFuiY8aQfN44I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hOrRaUqCvFVZJhw7h8mx2Q2CeiOegfNJvcj+G8HOtI+19V0UGG9DpOO2TjWjInm/H3p3ee9Weg9VLAxkWiFPBW1+wlD+HG3z/sGkcFPYMzBV6+4AZ6qcYUfKCoNK/k9NCCIyHS/DarNFeyyUJoxl9znCYvpPGjqvvinWj7r8L8I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZoS9MeJ9; 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="ZoS9MeJ9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED6BBC433F1; Thu, 4 Apr 2024 08:23:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712219004; bh=dwmXzP4caYgPYBOPA/2BocfhtOlgG0wFuiY8aQfN44I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZoS9MeJ9S2u/C7mGza1/ChuOhj0zqwVkuozAhsr2v1bIuXDDQGc2WIiw1k0dtqR2P HuKFCUPiZpNoIw9uHOUkxwiL/C7afv04GXI86CnG6BkjGwvMBApxpYCF+sxOdMyXId Hrgo8ZHw0Wp23gwIv0cb6kJc8wLZjwG1OhVrkOoc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26790: dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read Date: Thu, 4 Apr 2024 10:23:07 +0200 Message-ID: <2024040400-CVE-2024-26790-a4a4@gregkh> X-Mailer: git-send-email 2.44.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=2936; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dwmXzP4caYgPYBOPA/2BocfhtOlgG0wFuiY8aQfN44I=; b=owGbwMvMwCRo6H6F97bub03G02pJDGl8ySnNLt43VGpK3x/ra3520O0byz/Oh/mfb6b8iLU/q aF0U0GiI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZycxfDgguPp1aXaTYzSuy0 8S8+KvFZQfEeUPTSuoK9oexxHqsNvlxctGVbRULw5XAA 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: fsl-qdma: fix SoC may hang on 16 byte unaligned read There is chip (ls1028a) errata: The SoC may hang on 16 byte unaligned read transactions by QDMA. Unaligned read transactions initiated by QDMA may stall in the NOC (Network On-Chip), causing a deadlock condition. Stalled transactions will trigger completion timeouts in PCIe controller. Workaround: Enable prefetch by setting the source descriptor prefetchable bit ( SD[PF] = 1 ). Implement this workaround. The Linux kernel CVE team has assigned CVE-2024-26790 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit b092529e0aa0 and fixed in 5.4.271 with commit 518d78b4fac6 Issue introduced in 5.1 with commit b092529e0aa0 and fixed in 5.10.212 with commit bb3a06e9b9a3 Issue introduced in 5.1 with commit b092529e0aa0 and fixed in 5.15.151 with commit 106c1ac953a6 Issue introduced in 5.1 with commit b092529e0aa0 and fixed in 6.1.81 with commit 237ecf1afe6c Issue introduced in 5.1 with commit b092529e0aa0 and fixed in 6.6.21 with commit 5b696e9c3882 Issue introduced in 5.1 with commit b092529e0aa0 and fixed in 6.7.9 with commit ad2f8920c314 Issue introduced in 5.1 with commit b092529e0aa0 and fixed in 6.8 with commit 9d739bccf261 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-26790 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/fsl-qdma.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/518d78b4fac68cac29a263554d7f3b19da99d0da https://git.kernel.org/stable/c/bb3a06e9b9a30e33d96aadc0e077be095a4f8580 https://git.kernel.org/stable/c/106c1ac953a66556ec77456c46e818208d3a9bce https://git.kernel.org/stable/c/237ecf1afe6c22534fa43abdf2bf0b0f52de0aaa https://git.kernel.org/stable/c/5b696e9c388251f1c7373be92293769a489fd367 https://git.kernel.org/stable/c/ad2f8920c314e0a2d9e984fc94b729eca3cda471 https://git.kernel.org/stable/c/9d739bccf261dd93ec1babf82f5c5d71dd4caa3e