{"id":"CVE-2026-99838","aliases":[],"cve":{"records":[{"id":"CVE-2026-99838","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.437Z","published":"2026-11-30T13:17:31.392Z","modified":"2026-11-30T13:17:31.392Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-30T13:17:31.392Z"}],"references":[{"url":"https://git.kernel.org/stable/c/d8a4aac994f8497b20ace6c3ca33425c80ab7492","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/c70aba4b08a081cae49aaa7f94e76758b221b01b","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/d8bc7adff286996fd3e5e984e25eb2359eb5cd94","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/e89a7966686b80e9a0e4b49c6040b6a18c6c98aa","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/8c054c71d47d19472d2aa2efbae89d2c85e0b7cf","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/dabd6ac70acaa838e011df72286734faa318f99b","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/33ed50716251d5b2875706c40d0c8082d46be0b1","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.13","versionEndExcluding":"7.4-rc1"}]}]}]}],"prioritization":[]},"title":"apparmor: fix refcount leak in aa_get_newest_profile()","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: fix refcount leak in aa_get_newest_profile()\n\nThe labels_profile() macro is evaluating its argument twice\n\n  #define labels_profile(X) ((X)->vec[(X)->size - 1])\n\nunfortunately aa_get_newest_profile() passes\n   aa_get_newest_label(&p->label)\nso every call to aa_get_newest_profile results in 2 refcounts\nbeing taken with one being leaked.\n\nThere is no need for labels_profile() to be a macro. Convert it to\nan inline fn, which ensures all uses are passing the correct struct\nand removes the double evaluation.","score":null,"severity":"unknown","published":"2026-11-30T13:17:31.392Z","modified":"2026-11-30T13:17:31.392Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"637f688dc3dc304a89f441d76f49a0e35bc49c08","status":"affected","lessThan":"d8a4aac994f8497b20ace6c3ca33425c80ab7492","versionType":"git"},{"version":"637f688dc3dc304a89f441d76f49a0e35bc49c08","status":"affected","lessThan":"c70aba4b08a081cae49aaa7f94e76758b221b01b","versionType":"git"},{"version":"637f688dc3dc304a89f441d76f49a0e35bc49c08","status":"affected","lessThan":"52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a","versionType":"git"},{"version":"637f688dc3dc304a89f441d76f49a0e35bc49c08","status":"affected","lessThan":"d8bc7adff286996fd3e5e984e25eb2359eb5cd94","versionType":"git"},{"version":"637f688dc3dc304a89f441d76f49a0e35bc49c08","status":"affected","lessThan":"e89a7966686b80e9a0e4b49c6040b6a18c6c98aa","versionType":"git"},{"version":"637f688dc3dc304a89f441d76f49a0e35bc49c08","status":"affected","lessThan":"8c054c71d47d19472d2aa2efbae89d2c85e0b7cf","versionType":"git"},{"version":"637f688dc3dc304a89f441d76f49a0e35bc49c08","status":"affected","lessThan":"dabd6ac70acaa838e011df72286734faa318f99b","versionType":"git"},{"version":"637f688dc3dc304a89f441d76f49a0e35bc49c08","status":"affected","lessThan":"33ed50716251d5b2875706c40d0c8082d46be0b1","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99838"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"4.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.13","versionType":"semver"},{"version":"5.10.275","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.226","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99838"}],"remediation":[],"references":["https://git.kernel.org/stable/c/d8a4aac994f8497b20ace6c3ca33425c80ab7492","https://git.kernel.org/stable/c/c70aba4b08a081cae49aaa7f94e76758b221b01b","https://git.kernel.org/stable/c/52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a","https://git.kernel.org/stable/c/d8bc7adff286996fd3e5e984e25eb2359eb5cd94","https://git.kernel.org/stable/c/e89a7966686b80e9a0e4b49c6040b6a18c6c98aa","https://git.kernel.org/stable/c/8c054c71d47d19472d2aa2efbae89d2c85e0b7cf","https://git.kernel.org/stable/c/dabd6ac70acaa838e011df72286734faa318f99b","https://git.kernel.org/stable/c/33ed50716251d5b2875706c40d0c8082d46be0b1"],"sources":[{"name":"CVE","id":"CVE-2026-99838","modified":"2026-11-30T13:17:31.392Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99838"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-30T13:46:42.471Z","kev":{"status":"not-listed","checkedAt":"2026-11-30T22:55:31.926Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}