{"api_version":"1","generated_at":"2026-08-22T18:40:14+00:00","cve":"CVE-2026-68401","urls":{"html":"https://cve.report/CVE-2026-68401","api":"https://cve.report/api/cve/CVE-2026-68401.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-68401","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68401"},"summary":{"title":"firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()\n\nSashiko (locally) reports multiple out-of-bound issues in\nffa_setup_and_transmit:\n1) Writing ep_mem_access->reserved can write out of bounds for FFA\n   versions < 1.2 as ffa_emad_size_get() returns 16 bytes in that case\n   while reserved has an offset of 24.\n   Instead of zeroing fields, memset the struct to zero first based on\n   the FFA version.\n\n2) Make sure there is enough size to write constituents.\n\nWhile at it, convert the only sizeof() in the driver that uses a\ntype instead of variable.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-10 13:20:33","updated_at":"2026-08-17 06:17:48"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/cf5708c9d78c98214c62b1e5d049cd527a543b8e","name":"https://git.kernel.org/stable/c/cf5708c9d78c98214c62b1e5d049cd527a543b8e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3383ffb7ef937317361713ffcc21921a7848511a","name":"https://git.kernel.org/stable/c/3383ffb7ef937317361713ffcc21921a7848511a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b","name":"https://git.kernel.org/stable/c/27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68401","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68401","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 cf5708c9d78c98214c62b1e5d049cd527a543b8e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 3383ffb7ef937317361713ffcc21921a7848511a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 28ebfb74fbf513e0c7cd2674d8c2400ee0220d18 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 22157f74458106c5900dbd938eb44623c22d97a0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b77ec23b6df41c48e88735230e11caec56163630 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.114 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.31 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.3.5 6.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.4","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.4 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.42 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.6 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"68401","cve":"CVE-2026-68401","epss":"0.001360000","percentile":"0.035430000","score_date":"2026-08-17","updated_at":"2026-08-18 00:11:47"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/firmware/arm_ffa/driver.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"cf5708c9d78c98214c62b1e5d049cd527a543b8e","status":"affected","version":"111a833dc5cbef3d05b2a796a7e23cb7f6ff2192","versionType":"git"},{"lessThan":"27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b","status":"affected","version":"111a833dc5cbef3d05b2a796a7e23cb7f6ff2192","versionType":"git"},{"lessThan":"3383ffb7ef937317361713ffcc21921a7848511a","status":"affected","version":"111a833dc5cbef3d05b2a796a7e23cb7f6ff2192","versionType":"git"},{"status":"affected","version":"28ebfb74fbf513e0c7cd2674d8c2400ee0220d18","versionType":"git"},{"status":"affected","version":"22157f74458106c5900dbd938eb44623c22d97a0","versionType":"git"},{"status":"affected","version":"b77ec23b6df41c48e88735230e11caec56163630","versionType":"git"},{"lessThan":"5.16","status":"affected","version":"5.15.114","versionType":"semver"},{"lessThan":"6.2","status":"affected","version":"6.1.31","versionType":"semver"},{"lessThan":"6.4","status":"affected","version":"6.3.5","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/firmware/arm_ffa/driver.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.4"},{"lessThan":"6.4","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.42","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.42","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.6","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"6.4","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.114","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.31","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3.5","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()\n\nSashiko (locally) reports multiple out-of-bound issues in\nffa_setup_and_transmit:\n1) Writing ep_mem_access->reserved can write out of bounds for FFA\n   versions < 1.2 as ffa_emad_size_get() returns 16 bytes in that case\n   while reserved has an offset of 24.\n   Instead of zeroing fields, memset the struct to zero first based on\n   the FFA version.\n\n2) Make sure there is enough size to write constituents.\n\nWhile at it, convert the only sizeof() in the driver that uses a\ntype instead of variable."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The FF-A memory transaction code is reached only from local kernel clients, in practice from userspace via TEE_IOC_SHM_REGISTER/protmem allocation on /dev/tee0 (OP-TEE over FF-A) or /dev/tee_ts0 (Arm TS TEE). There is no network or adjacent-network path to ffa_setup_and_transmit().\nAC:L - The out-of-bound EMAD write occurs deterministically on every memory share/lend whenever the negotiated FF-A version is below 1.2 (the common case, since ffa_emad_size_get() returns 16 while the reserved field sits at offset 24), and the attacker fully controls the registered buffer size and page layout that drive the constituent/fragment loop. No race or unknown state is involved.\nPR:L - An unprivileged local user with access to the TEE device node (typically world- or tee-group-accessible on Android and Arm embedded/automotive systems) can call TEE_IOC_SHM_REGISTER and reach ffa_setup_and_transmit(); no capability check exists along the path.\nUI:N - The attacker triggers the memory-sharing path entirely through its own ioctl calls on the TEE device; no action by another user or administrator is needed.\nS:U - The corruption occurs in the kernel's own RX/TX descriptor buffer and adjacent kernel memory, all within the kernel's security authority; no hypervisor, IOMMU, or secure-world boundary is crossed by the overflow itself.\nC:H - The out-of-bounds writes corrupt kernel memory neighbouring the FF-A descriptor buffer (a page allocated with alloc_pages_exact() whose neighbours are arbitrary kernel objects); such heap corruption can be shaped into a read primitive, and it also leaves adjacent kernel data reflected in the descriptor handed to the secure world.\nI:H - This is a kernel out-of-bounds write: 8 zero bytes past each 16-byte EMAD slot, plus a full 16-byte constituent entry containing attacker-influenced physical addresses and page counts written past the end of the TX buffer due to the missing sizeof() in the bound check, giving a controlled heap overwrite usable for privilege escalation.\nA:H - Writing past the descriptor buffer corrupts adjacent kernel allocations and the memory descriptor passed to the secure world, readily causing kernel oops/panic or an aborted secure-world transaction, and the overflow is triggerable repeatedly by an unprivileged user."}]}],"providerMetadata":{"dateUpdated":"2026-08-17T05:04:50.055Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/cf5708c9d78c98214c62b1e5d049cd527a543b8e"},{"url":"https://git.kernel.org/stable/c/27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b"},{"url":"https://git.kernel.org/stable/c/3383ffb7ef937317361713ffcc21921a7848511a"}],"title":"firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-68401","datePublished":"2026-08-10T12:04:21.020Z","dateReserved":"2026-07-30T09:28:09.389Z","dateUpdated":"2026-08-17T05:04:50.055Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-10 13:20:33","lastModifiedDate":"2026-08-17 06:17:48","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"68401","Ordinal":"1","Title":"firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_tran","CVE":"CVE-2026-68401","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"68401","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()\n\nSashiko (locally) reports multiple out-of-bound issues in\nffa_setup_and_transmit:\n1) Writing ep_mem_access->reserved can write out of bounds for FFA\n   versions < 1.2 as ffa_emad_size_get() returns 16 bytes in that case\n   while reserved has an offset of 24.\n   Instead of zeroing fields, memset the struct to zero first based on\n   the FFA version.\n\n2) Make sure there is enough size to write constituents.\n\nWhile at it, convert the only sizeof() in the driver that uses a\ntype instead of variable.","Type":"Description","Title":"firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_tran"}]}}}