{
  "id": "CVE-2026-64074",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64074",
  "published_at": "2026-07-19T15:39:49.076Z",
  "title": "fs/statmount: fix slab out-of-bounds write in statmount_mnt_idmap",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/statmount: fix slab out-of-bounds write in statmount_mnt_idmap\n\nstatmount_mnt_idmap() writes one mapping with seq_printf() and then\nmanually advances seq-\u003ecount to include the NUL separator.\n\nIf seq_printf() overflows, seq_set_overflow() sets seq-\u003ecount to\nseq-\u003esize. The manual seq-\u003ecount++ changes this to seq-\u003esize + 1.\nseq_has_overflowed() then no longer detects the overflow. The corrupted\ncount returns to statmount_string(), which later executes:\n\n    seq-\u003ebuf[seq-\u003ecount++] = '\\0';\n\nThis causes a 1-byte NULL out-of-bounds write on the dynamically\nallocated seq buffer.\n\nFix this by checking for overflow immediately after seq_printf().",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 37c4a9590e1efcae7749682239fc22a330d2d325, \u003c e37ea2c6f17f273813ea4e8e94c102591d598ce1",
          "\u003e= 37c4a9590e1efcae7749682239fc22a330d2d325, \u003c 93614949dc86f068e3c32c32cf1ee2a2323177a7",
          "\u003e= 37c4a9590e1efcae7749682239fc22a330d2d325, \u003c a3bf0f28d4ba16e1f35f8c983bb04426b87e2a78"
        ],
        "fixed_in": [
          "e37ea2c6f17f273813ea4e8e94c102591d598ce1",
          "93614949dc86f068e3c32c32cf1ee2a2323177a7",
          "a3bf0f28d4ba16e1f35f8c983bb04426b87e2a78"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.15"
        ],
        "fixed_in": [
          "0",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e37ea2c6f17f273813ea4e8e94c102591d598ce1 or 93614949dc86f068e3c32c32cf1ee2a2323177a7 or a3bf0f28d4ba16e1f35f8c983bb04426b87e2a78 or later.",
      "Upgrade Linux to 0 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
