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 432E2F9CB for ; Wed, 18 Jun 2025 09:34:19 +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=1750239260; cv=none; b=eBLLa2kxsiMm4j8N3gzn6zvR5k0jS+I8Ju6F65u1c0CZ/Y77czDjVzXfVeQsLA86wES/i2lx8O9H9xzsT2Nx7q9WJrRYu2eAAYrvuUNuom4HXCikRdR3yC4Nxv1mJYpsVH5w8KwIXMw1BIGRGwfnuVP/uTqCzS/3+JRHRN9aWOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750239260; c=relaxed/simple; bh=NRqUZFgcXc1rc1+Pwa1EJ24wD5CXaY6YIAlOVPLu8Ew=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fckiIYgnYEnm8Y7QQyHbF+1b8m/TxuqJi45iN3rLim2F8/ztL6ozquzTuMaXCRy2ttIKT1ahVzV8zF0m+KSy6623DM3ApdT/KYjKnffFkola4KVYrG3g75vGTa3B+VRxf2DcWiFqIK9EN+ItfvLdxsUHsyd3Cz+Q+CRlJAAZX3g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Lj6gvplk; 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="Lj6gvplk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B398C4CEE7; Wed, 18 Jun 2025 09:34:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750239259; bh=NRqUZFgcXc1rc1+Pwa1EJ24wD5CXaY6YIAlOVPLu8Ew=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Lj6gvplkWgC979w774PdRspxwFLdPi+rF/3SHi3LwxMjHLaYV4BrGWRBFqlwp18CM o+iT2Fr7KGf+8agTYcUkm5XLB6Hz8OdbkZA7aunBMKeNic961aSN/Kaqf2AF0GJLVL 0wdlV8gAypvdqw2mmgvNmOjLz+ltqOzWDGMLRHoE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38043: firmware: arm_ffa: Set dma_mask for ffa devices Date: Wed, 18 Jun 2025 11:33:39 +0200 Message-ID: <2025061829-CVE-2025-38043-d75b@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=2373; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6glqsy4K+6Go/KexrEsDD3qSIptvslkDTOIoBqPdDMU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlB7S8f8Erp17n7PuNW+LHP6+lEj+tdbZvXfE5V4ggTS Cl4Ybi2I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbikcGwYEqt9c1FiRW/86OY zCXiN97jsm4vYpjNVrH4Yk9rRAand36imlW4J9MHjZsA 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: firmware: arm_ffa: Set dma_mask for ffa devices Set dma_mask for FFA devices, otherwise DMA allocation using the device pointer lead to following warning: WARNING: CPU: 1 PID: 1 at kernel/dma/mapping.c:597 dma_alloc_attrs+0xe0/0x124 The Linux kernel CVE team has assigned CVE-2025-38043 to this issue. Affected and fixed versions =========================== Fixed in 5.15.185 with commit 97bab02f0b64ba6bcdf6a8fae561db07f509aee9 Fixed in 6.1.141 with commit c6aa1d6bd6ccff4ecdf064d288817657ec8532f0 Fixed in 6.6.93 with commit e2de76c34a8a925efe80fccae4810427bc144ed0 Fixed in 6.12.31 with commit 3a3efeef64364c2a028cf0d03d68c831813a97fd Fixed in 6.14.9 with commit 2e62c803feec1ef5847d8fa47dd0de039abfa378 Fixed in 6.15 with commit cc0aac7ca17e0ea3ca84b552fc79f3e86fd07f53 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-38043 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/firmware/arm_ffa/bus.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/97bab02f0b64ba6bcdf6a8fae561db07f509aee9 https://git.kernel.org/stable/c/c6aa1d6bd6ccff4ecdf064d288817657ec8532f0 https://git.kernel.org/stable/c/e2de76c34a8a925efe80fccae4810427bc144ed0 https://git.kernel.org/stable/c/3a3efeef64364c2a028cf0d03d68c831813a97fd https://git.kernel.org/stable/c/2e62c803feec1ef5847d8fa47dd0de039abfa378 https://git.kernel.org/stable/c/cc0aac7ca17e0ea3ca84b552fc79f3e86fd07f53