CVE-2026-68401 (GCVE-0-2026-68401)

Vulnerability from cvelistv5 – Published: 2026-08-10 12:04 – Updated: 2026-08-17 05:04
VLAI
Title
firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()
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 CPE status
Linux Linux Affected: 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 , < cf5708c9d78c98214c62b1e5d049cd527a543b8e (git)
Affected: 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 , < 27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b (git)
Affected: 111a833dc5cbef3d05b2a796a7e23cb7f6ff2192 , < 3383ffb7ef937317361713ffcc21921a7848511a (git)
Affected: 28ebfb74fbf513e0c7cd2674d8c2400ee0220d18 (git)
Affected: 22157f74458106c5900dbd938eb44623c22d97a0 (git)
Affected: b77ec23b6df41c48e88735230e11caec56163630 (git)
Affected: 5.15.114 , < 5.16 (semver)
Affected: 6.1.31 , < 6.2 (semver)
Affected: 6.3.5 , < 6.4 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 6.4
Unaffected: 0 , < 6.4 (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed 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": "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-\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-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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68401",
      "date": "2026-08-20",
      "epss": "0.00136",
      "percentile": "0.03545"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68401\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:33.600\",\"lastModified\":\"2026-08-17T06:17:48.880\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/firmware/arm_ffa/driver.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"111a833dc5cbef3d05b2a796a7e23cb7f6ff2192\",\"lessThan\":\"cf5708c9d78c98214c62b1e5d049cd527a543b8e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"111a833dc5cbef3d05b2a796a7e23cb7f6ff2192\",\"lessThan\":\"27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"111a833dc5cbef3d05b2a796a7e23cb7f6ff2192\",\"lessThan\":\"3383ffb7ef937317361713ffcc21921a7848511a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"28ebfb74fbf513e0c7cd2674d8c2400ee0220d18\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"22157f74458106c5900dbd938eb44623c22d97a0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"b77ec23b6df41c48e88735230e11caec56163630\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"5.15.114\",\"lessThan\":\"5.16\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.1.31\",\"lessThan\":\"6.2\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"6.3.5\",\"lessThan\":\"6.4\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/firmware/arm_ffa/driver.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.4\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.4\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"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}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3383ffb7ef937317361713ffcc21921a7848511a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cf5708c9d78c98214c62b1e5d049cd527a543b8e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-13T23:29:36+00:00",
      "cve": "CVE-2026-68401",
      "id": "CVE-2026-68401",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "275",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68401.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-08-13T16:22:18Z",
      "cve": "CVE-2026-68401",
      "id": "CVE-2026-68401",
      "initial_release_date": "2026-08-13T16:22:18Z",
      "product_status:known_affected": "217",
      "product_status:known_not_affected": "79",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68401",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68401.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…