CVE-2022-50077
apparmor: fix reference count leak in aa_pivotroot()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix reference count leak in aa_pivotroot() The aa_pivotroot() function has a reference counting bug in a specific path. When aa_replace_current_label() returns on success, the function forgets to decrement the reference count of “target”, which is increased earlier by build_pivotroot(), causing a reference leak. Fix it by decreasing the refcount of “target” in that path.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.14
References 7
git.kernel.org
- stable/c/d53194707d2a1851be027cd74266b96ceff799d3
- stable/c/f4d5c7796571624e3f380b447ada52834270a287
- stable/c/ef6fb6f0d0d8440595b45a7e53c6162c737177f4
- stable/c/2ceeb3296e9dde1d5772348046affcefdea605e2
- stable/c/64103ea357734b82384c925cba4758fdb909be0c
- stable/c/3ca40ad7afae144169a43988ef1a3f16182faf0a
- stable/c/11c3627ec6b56c1525013f336f41b79a983b4d46