CVE-2026-68401 (GCVE-0-2026-68401)
Vulnerability from cvelistv5
Published
2026-08-10 12:04
Modified
2026-10-30 12:28
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 22157f74458106c5900dbd938eb44623c22d97a0
Version: 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192
Version: 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192
Version: 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192
Version: 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192
Version: 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192
Version: 28ebfb74fbf513e0c7cd2674d8c2400ee0220d18
Version: b77ec23b6df41c48e88735230e11caec56163630
Version: 6.1.31   ≤
Version: 5.15.114   ≤
Version: 6.3.5   ≤
Create a notification for this product.
Show details on NVD website


{
  "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": "500f92f398c717aa515afd23c7a38c0e7f4a1dc9",
              "status": "affected",
              "version": "22157f74458106c5900dbd938eb44623c22d97a0",
              "versionType": "git"
            },
            {
              "lessThan": "d312a71b19bb83803c8d1372bc042bd36db657f7",
              "status": "affected",
              "version": "111a833dc5cbef3d05b2a796a7e23cb7f6ff2192",
              "versionType": "git"
            },
            {
              "lessThan": "00bef9d0f9e787f56ff4699d3b577983ff8b7f24",
              "status": "affected",
              "version": "111a833dc5cbef3d05b2a796a7e23cb7f6ff2192",
              "versionType": "git"
            },
            {
              "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": "b77ec23b6df41c48e88735230e11caec56163630",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.191",
              "status": "affected",
              "version": "6.1.31",
              "versionType": "semver"
            },
            {
              "lessThan": "5.16",
              "status": "affected",
              "version": "5.15.114",
              "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.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.114",
              "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.1.191",
                  "versionStartIncluding": "6.1.31",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.114",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "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.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-\u003ereserved can write out of bounds for FFA\n   versions \u003c 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\u0027s own RX/TX descriptor buffer and adjacent kernel memory, all within the kernel\u0027s 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-10-30T12:28:28.852Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/500f92f398c717aa515afd23c7a38c0e7f4a1dc9"
        },
        {
          "url": "https://git.kernel.org/stable/c/d312a71b19bb83803c8d1372bc042bd36db657f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/00bef9d0f9e787f56ff4699d3b577983ff8b7f24"
        },
        {
          "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-10-30T12:28:28.852Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…