{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4d1c09cef2c244bd19467c016a3e56ba28ecc59d"
            },
            {
              "fixed": "b8d15e85596ad8993d42e0703a9741961a2f03eb"
            },
            {
              "fixed": "18c67ecc5dafe14055edcea53f36f4e31df1816b"
            },
            {
              "fixed": "6c9d2e87df40d606f1c85143e9acb1ecff463d5e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80640.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/fwctl: Fix __fortify_panic\n\nFix a runtime assertion in cxlctl_get_supported_features(). Fortify\ncomplains that it is potentially overflowing the entries array per\n__counted_by_le(num_entries). Quiet the false positive by initializing\n@num_entries earlier.\n\n memcpy: detected buffer overflow: 48 byte write of buffer size 0\n WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398\n RIP: 0010:__fortify_report+0x50/0xa0\n Call Trace:\n  __fortify_panic+0xd/0xf\n  cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core]",
  "id": "CVE-2026-80640",
  "modified": "2026-08-30T03:30:47.190520417Z",
  "published": "2026-08-28T06:48:52.650Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/18c67ecc5dafe14055edcea53f36f4e31df1816b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6c9d2e87df40d606f1c85143e9acb1ecff463d5e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b8d15e85596ad8993d42e0703a9741961a2f03eb"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80640.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-80640"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "cxl/fwctl: Fix __fortify_panic"
}