{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "111a833dc5cbef3d05b2a796a7e23cb7f6ff2192"
            },
            {
              "fixed": "cf5708c9d78c98214c62b1e5d049cd527a543b8e"
            },
            {
              "fixed": "27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b"
            },
            {
              "fixed": "3383ffb7ef937317361713ffcc21921a7848511a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "28ebfb74fbf513e0c7cd2674d8c2400ee0220d18"
            },
            {
              "last_affected": "22157f74458106c5900dbd938eb44623c22d97a0"
            },
            {
              "last_affected": "b77ec23b6df41c48e88735230e11caec56163630"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.15.114"
            },
            {
              "fixed": "5.16"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.1.31"
            },
            {
              "fixed": "6.2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.3.5"
            },
            {
              "fixed": "6.4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.4.0"
            },
            {
              "fixed": "6.18.42"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68401.json"
  },
  "details": "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.",
  "id": "CVE-2026-68401",
  "modified": "2026-08-12T03:51:37.120825267Z",
  "published": "2026-08-10T12:04:21.020Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/27abdaf0c5c89b06694e4c3d8318e8d6a60c1d1b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3383ffb7ef937317361713ffcc21921a7848511a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cf5708c9d78c98214c62b1e5d049cd527a543b8e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68401.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-68401"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()"
}