CVE-2026-68401 PUBLISHED

firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 to cf5708c9d78c98214c62b1e5d049cd527a543b8e (excl.)
  • affected from 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 to 27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b (excl.)
  • affected from 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 to 3383ffb7ef937317361713ffcc21921a7848511a (excl.)
  • Version 28ebfb74fbf513e0c7cd2674d8c2400ee0220d18 is affected
  • Version 22157f74458106c5900dbd938eb44623c22d97a0 is affected
  • Version b77ec23b6df41c48e88735230e11caec56163630 is affected
  • affected from 5.15.114 to 5.16 (excl.)
  • affected from 6.1.31 to 6.2 (excl.)
  • affected from 6.3.5 to 6.4 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.4 is affected
  • unaffected from 0 to 6.4 (excl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc4 to * (incl.)

References