firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()
Summary
| CVE | CVE-2026-68401 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-10 13:20:33 UTC |
| Updated | 2026-08-17 06:17:48 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit() Sashiko (locally) reports multiple out-of-bound issues in ffa_setup_and_transmit: 1) Writing ep_mem_access->reserved can write out of bounds for FFA versions < 1.2 as ffa_emad_size_get() returns 16 bytes in that case while reserved has an offset of 24. Instead of zeroing fields, memset the struct to zero first based on the FFA version. 2) Make sure there is enough size to write constituents. While at it, convert the only sizeof() in the driver that uses a type instead of variable. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001360000 probability, percentile 0.035430000 (date 2026-08-17)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 cf5708c9d78c98214c62b1e5d049cd527a543b8e git | Not specified |
| CNA | Linux | Linux | affected 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b git | Not specified |
| CNA | Linux | Linux | affected 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 3383ffb7ef937317361713ffcc21921a7848511a git | Not specified |
| CNA | Linux | Linux | affected 28ebfb74fbf513e0c7cd2674d8c2400ee0220d18 git | Not specified |
| CNA | Linux | Linux | affected 22157f74458106c5900dbd938eb44623c22d97a0 git | Not specified |
| CNA | Linux | Linux | affected b77ec23b6df41c48e88735230e11caec56163630 git | Not specified |
| CNA | Linux | Linux | affected 5.15.114 5.16 semver | Not specified |
| CNA | Linux | Linux | affected 6.1.31 6.2 semver | Not specified |
| CNA | Linux | Linux | affected 6.3.5 6.4 semver | Not specified |
| CNA | Linux | Linux | affected 6.4 | Not specified |
| CNA | Linux | Linux | unaffected 6.4 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.42 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.6 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/cf5708c9d78c98214c62b1e5d049cd527a543b8e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/3383ffb7ef937317361713ffcc21921a7848511a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.