{"id":"CVE-2026-99837","aliases":["CVE-2026-99837"],"related":[],"kind":"vulnerability","state":"published","title":"apparmor: avoid potential double free when remapping DFA tables","summary":"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->tables\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->tables 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->tables after any required remapping\nhas completed successfully, so that dfa->tables never contains a\npointer to a table that has already been freed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->tables\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->tables 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->tables after any required remapping\nhas completed successfully, so that dfa->tables never contains a\npointer to a table that has already been freed.","source":"cvelist"}],"published":"2026-11-30T13:17:30.853Z","modified":"2026-12-01T06:17:52.880Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b1a3e925e4fecb4a4b58f38ec39b550f8c849fe9","fixed":"7710dc49ae10d3493a18e5d53d7ef05913025e2d","status":"affected"},{"type":"git","introduced":"5955e8a3e956721594d618ae3f50a1541ef0dd09","fixed":"76688f427045ed2332bcd9fea6dac6e5b6117efa","status":"affected"},{"type":"git","introduced":"9208c05f9fdfd927ea160b97dfef3c379049fff2","fixed":"4971c6f821ff06a01c0779d0b1f9d0fd6452e3fe","status":"affected"},{"type":"git","introduced":"9208c05f9fdfd927ea160b97dfef3c379049fff2","fixed":"8d41718618ed58bab0cce12811c6a62491988f45","status":"affected"},{"type":"git","introduced":"9208c05f9fdfd927ea160b97dfef3c379049fff2","fixed":"7ccd884a5e5386f4c7d98625113f4924f70286b4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7710dc49ae10d3493a18e5d53d7ef05913025e2d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/76688f427045ed2332bcd9fea6dac6e5b6117efa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4971c6f821ff06a01c0779d0b1f9d0fd6452e3fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d41718618ed58bab0cce12811c6a62491988f45","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ccd884a5e5386f4c7d98625113f4924f70286b4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99837","url":"https://www.cve.org/CVERecord?id=CVE-2026-99837","licence":"CVE Terms of Use","modified":"2026-12-01T05:43:41.590Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99837","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99837","licence":"Public domain","modified":"2026-12-01T06:17:52.880Z"}],"updatedAt":"2026-12-01T06:32:24.156Z","epss":{"score":0.00177,"percentile":0.07573,"date":"2026-12-01T12:00:22.000Z"}}