{"id":"CVE-2026-72456","state":"PUBLISHED","title":"apparmor: release exe file resources on path failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: release exe file resources on path failure\n\nget_current_exe_path() takes both an exe_file reference and a path\nreference before resolving the path name. If aa_path_name() failed, it\nreturned immediately and leaked both references.\n\nRoute the failure through the common cleanup path so fput() and path_put()\nalways run after the references are acquired.","publishedAt":"2026-08-15T05:57:02.864Z","updatedAt":"2026-08-17T05:15:00.310Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d34e16f7f2b51f880957f2caadaae731ee28867","status":"affected","lessThan":"393809a05cfb60309ad63ee09138db8296d6b97e","versionType":"git"},{"version":"8d34e16f7f2b51f880957f2caadaae731ee28867","status":"affected","lessThan":"7306c41672487a6c28430714be063bc6942c28f2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/apparmor/task.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/apparmor/task.c"]}],"references":["https://git.kernel.org/stable/c/393809a05cfb60309ad63ee09138db8296d6b97e","https://git.kernel.org/stable/c/7306c41672487a6c28430714be063bc6942c28f2"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72456.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72456","state":"PUBLISHED","datePublished":"2026-08-15T05:57:02.864Z","dateUpdated":"2026-08-17T05:15:00.310Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-09T03:40:39.932Z"},"containers":{"cna":{"title":"apparmor: release exe file resources on path failure","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: release exe file resources on path failure\n\nget_current_exe_path() takes both an exe_file reference and a path\nreference before resolving the path name. If aa_path_name() failed, it\nreturned immediately and leaked both references.\n\nRoute the failure through the common cleanup path so fput() and path_put()\nalways run after the references are acquired."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d34e16f7f2b51f880957f2caadaae731ee28867","status":"affected","lessThan":"393809a05cfb60309ad63ee09138db8296d6b97e","versionType":"git"},{"version":"8d34e16f7f2b51f880957f2caadaae731ee28867","status":"affected","lessThan":"7306c41672487a6c28430714be063bc6942c28f2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/apparmor/task.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.1.5","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["security/apparmor/task.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/393809a05cfb60309ad63ee09138db8296d6b97e"},{"url":"https://git.kernel.org/stable/c/7306c41672487a6c28430714be063bc6942c28f2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:15:00.310Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}