{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b1a3e925e4fecb4a4b58f38ec39b550f8c849fe9"
            },
            {
              "fixed": "7710dc49ae10d3493a18e5d53d7ef05913025e2d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5955e8a3e956721594d618ae3f50a1541ef0dd09"
            },
            {
              "fixed": "76688f427045ed2332bcd9fea6dac6e5b6117efa"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "9208c05f9fdfd927ea160b97dfef3c379049fff2"
            },
            {
              "fixed": "4971c6f821ff06a01c0779d0b1f9d0fd6452e3fe"
            },
            {
              "fixed": "8d41718618ed58bab0cce12811c6a62491988f45"
            },
            {
              "fixed": "7ccd884a5e5386f4c7d98625113f4924f70286b4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99837.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: avoid potential double free when remapping DFA tables\n\nWhen unpacking a DFA, aa_dfa_unpack() stores a table in dfa-\u003etables\nbefore attempting to remap a 16-bit table to 32-bit.\n\nHowever, remap_data16_to_data32() frees the original table when\nallocation of the new table fails. This leaves the corresponding\ndfa-\u003etables entry pointing to freed memory. If the unpacking then\nfails, dfa_free() attempts to free the same table again.\n\nOnly publish the table to dfa-\u003etables after any required remapping\nhas completed successfully, so that dfa-\u003etables never contains a\npointer to a table that has already been freed.",
  "id": "CVE-2026-99837",
  "modified": "2026-11-30T14:45:17.692180839Z",
  "published": "2026-11-30T13:17:30.853Z",
  "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/4971c6f821ff06a01c0779d0b1f9d0fd6452e3fe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/76688f427045ed2332bcd9fea6dac6e5b6117efa"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7710dc49ae10d3493a18e5d53d7ef05913025e2d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7ccd884a5e5386f4c7d98625113f4924f70286b4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8d41718618ed58bab0cce12811c6a62491988f45"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99837.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99837"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "apparmor: avoid potential double free when remapping DFA tables"
}