{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99837","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.437Z","datePublished":"2026-11-30T13:17:30.853Z","dateUpdated":"2026-11-30T13:17:30.853Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:17:30.853Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/apparmor/match.c"],"versions":[{"version":"b1a3e925e4fecb4a4b58f38ec39b550f8c849fe9","lessThan":"7710dc49ae10d3493a18e5d53d7ef05913025e2d","status":"affected","versionType":"git"},{"version":"5955e8a3e956721594d618ae3f50a1541ef0dd09","lessThan":"76688f427045ed2332bcd9fea6dac6e5b6117efa","status":"affected","versionType":"git"},{"version":"9208c05f9fdfd927ea160b97dfef3c379049fff2","lessThan":"4971c6f821ff06a01c0779d0b1f9d0fd6452e3fe","status":"affected","versionType":"git"},{"version":"9208c05f9fdfd927ea160b97dfef3c379049fff2","lessThan":"8d41718618ed58bab0cce12811c6a62491988f45","status":"affected","versionType":"git"},{"version":"9208c05f9fdfd927ea160b97dfef3c379049fff2","lessThan":"7ccd884a5e5386f4c7d98625113f4924f70286b4","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/apparmor/match.c"],"versions":[{"version":"6.13","status":"affected"},{"version":"0","lessThan":"6.13","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7710dc49ae10d3493a18e5d53d7ef05913025e2d"},{"url":"https://git.kernel.org/stable/c/76688f427045ed2332bcd9fea6dac6e5b6117efa"},{"url":"https://git.kernel.org/stable/c/4971c6f821ff06a01c0779d0b1f9d0fd6452e3fe"},{"url":"https://git.kernel.org/stable/c/8d41718618ed58bab0cce12811c6a62491988f45"},{"url":"https://git.kernel.org/stable/c/7ccd884a5e5386f4c7d98625113f4924f70286b4"}],"title":"apparmor: avoid potential double free when remapping DFA tables","x_generator":{"engine":"bippy-1.2.0"}}}}