{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "527851124d10f9c50b1c578e0a56fcd49922422d"
            },
            {
              "fixed": "7f4972601b3faa66524e44df9e929fd491e35bfd"
            },
            {
              "fixed": "73b0f3d5201f741125061d8559e9631f1af4cb39"
            },
            {
              "fixed": "83e0edb26d05515083784db26a02a809371ccdb3"
            },
            {
              "fixed": "66d1ce09ebd72709f8d739630c39f440445173fd"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99678.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: cap the block count of xfs_iomap_write_direct() at one extent\n\nxfs_iomap_write_direct() reserves blocks for the whole count in an\nunsigned int. For a pNFS layout the client chooses that count, and an\nRW LAYOUTGET for 16 TiB wraps the reservation and shuts XFS down.\n\nxfs_bmapi_write() maps at most XFS_MAX_BMBT_EXTLEN blocks here, so cap\nthe count at that. nfsd asks again for the rest. The other callers get\nthe same mapping as before.",
  "id": "CVE-2026-99678",
  "modified": "2026-11-20T06:45:36.863218848Z",
  "published": "2026-11-20T05:50:25.703Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/66d1ce09ebd72709f8d739630c39f440445173fd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/73b0f3d5201f741125061d8559e9631f1af4cb39"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7f4972601b3faa66524e44df9e929fd491e35bfd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83e0edb26d05515083784db26a02a809371ccdb3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99678.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99678"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "xfs: cap the block count of xfs_iomap_write_direct() at one extent"
}