Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 8d34e16f7f2b51f880957f2caadaae731ee28867 before 393809a05cfb60309ad63ee09138db8296d6b97e; affected 8d34e16f7f2b51f880957f2caadaae731ee28867 before 7306c41672487a6c28430714be063bc6942c28f2 |
| Linux / Linux | affected 7.0; unaffected 0 before 7.0; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.