{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c84bf6dd2b836b49bb2662668ff1692350d28236"
            },
            {
              "fixed": "fb5400bff669c8bad3d4ec09287d9b461e89e5f1"
            },
            {
              "fixed": "8fdc521d438fbf0d22c13d51d55d5dd82d7202b2"
            },
            {
              "fixed": "6cc27d82196385fe06853319f74312a7d8019726"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "6.18.54"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98224.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/vma: correctly unaccount on mmap_prepare() failure\n\n__mmap_setup() accounts memory for relevant mappings via:\n\nsecurity_vm_enough_memory_mm()\n  -\u003e __vm_enough_memory()\n    -\u003e vm_acct_memory()\n\nIf __mmap_setup() fails, this indicates that this accounting did not take\nplace, and thus it's appropriate for __mmap_region() to jump to\nabort_munmap.\n\nHowever if call_mmap_prepare() fails, it also jumps there and any accounted\nmemory is not correctly unaccounted.\n\nFix this by handling each error separately.",
  "id": "CVE-2026-98224",
  "modified": "2026-10-08T02:30:15.508970125Z",
  "published": "2026-10-06T08:44:59.349Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6cc27d82196385fe06853319f74312a7d8019726"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8fdc521d438fbf0d22c13d51d55d5dd82d7202b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fb5400bff669c8bad3d4ec09287d9b461e89e5f1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98224.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98224"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "mm/vma: correctly unaccount on mmap_prepare() failure"
}