Description

In the Linux kernel, the following vulnerability has been resolved: apparmor: release exe file resources on path failure get_current_exe_path() takes both an exe_file reference and a path reference before resolving the path name. If aa_path_name() failed, it returned immediately and leaked both references. Route the failure through the common cleanup path so fput() and path_put() always run after the references are acquired.

Affected products

VendorProductVersions
LinuxLinux8d34e16f7f2b51f880957f2caadaae731ee28867 to <393809a05cfb60309ad63ee09138db8296d6b97e; 8d34e16f7f2b51f880957f2caadaae731ee28867 to <7306c41672487a6c28430714be063bc6942c28f2
LinuxLinux7.0; 0 to <7.0; 7.1.5 to <=7.1.*; 7.2-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 15 Aug 2026 07:05 UTC.