{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c28b1fc70390df32e29991eedd52bd86e7aba080"
            },
            {
              "fixed": "89eed2a8f389d09d75d90633d879e0f5825f9376"
            },
            {
              "fixed": "666516c935a353eda4dd43fbbd063d39b7f743bb"
            },
            {
              "fixed": "063cd7c398fb837d811a72e19a6f71df9f104d9b"
            },
            {
              "fixed": "21a3888d3d2f87b7f15ccea1f0befd57346fe899"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "bcb0f647c1fae9496e6ce499618a8da003c56088"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.10.4"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.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-99661.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/gup: check for overflow when converting nr_pages to bytes in GUP-fast\n\nThe overflow check in gup_fast_fallback() only covers the addition to\nstart. The preceding nr_pages \u003c\u003c PAGE_SHIFT can already have truncated\nthe length on 32bit.\n\nUsers such as RapidIO's rio_dma_transfer() can derive such page counts\nfrom a 64-bit userspace length.\n\nLet's just check_shl_overflow() to reject any such overflow with\n-EOVERFLOW early.",
  "id": "CVE-2026-99661",
  "modified": "2026-11-20T06:45:48.000294529Z",
  "published": "2026-11-20T05:50:12.495Z",
  "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/063cd7c398fb837d811a72e19a6f71df9f104d9b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/21a3888d3d2f87b7f15ccea1f0befd57346fe899"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/666516c935a353eda4dd43fbbd063d39b7f743bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/89eed2a8f389d09d75d90633d879e0f5825f9376"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99661.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99661"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mm/gup: check for overflow when converting nr_pages to bytes in GUP-fast"
}