[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061829-CVE-2025-38043-d75b@gregkh>
Date: Wed, 18 Jun 2025 11:33:39 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38043: firmware: arm_ffa: Set dma_mask for ffa devices
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists