Description
In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix refcount leak when updating the sk_ctx

Currently update_sk_ctx() transfers the plabel reference, unfortunately
it is also unconditionally put in the caller. Ideally we would make
the caller conditionally put the reference based on whether it was
transferred but for now just fix the bug by getting a reference.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During a reference count update for the AppArmor socket context, the function unduly increments the reference of the plabel object while still freeing it in the caller, causing a reference count leak. The leak can accumulate over time, eventually exhausting kernel memory or corrupting internal structures, which may lead to a kernel crash or degraded system stability. Because the flaw resides in low‑level kernel networking code, it potentially affects any kernel instance where AppArmor is active and sockets are managed.

Affected Systems

All Linux kernel implementations that include the AppArmor loadable module are affected until the patch resolving the refcount leak is applied. Since the CWEs associated with this weakness involve improper resource release, it applies broadly across kernel releases prior to the inclusion of the fix commit.

Risk and Exploitability

The risk of exploitation is limited by the requirement to trigger the faulty update path, which is not publicly documented as an attack vector. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, indicating a low probability of widespread exploitation. Nevertheless, a local or privileged attacker that can inject traffic or otherwise manipulate socket contexts could potentially accelerate the refcount leak, leading to resource exhaustion or a denial‑of‑service scenario.

Generated by OpenCVE AI on August 15, 2026 at 11:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the AppArmor refcount leak fix commit (e.g., 045dbe89ac31709abd73390d0805d52fece7ef39).
  • Ensure that AppArmor policies and modules are kept current, as they interact directly with the sk_ctx update logic.
  • If an immediate kernel upgrade is not possible, monitor kernel memory usage for abnormal growth and consider restarting affected services to relieve the leak, although this is a temporary mitigation.

Generated by OpenCVE AI on August 15, 2026 at 11:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: apparmor: fix refcount leak when updating the sk_ctx Currently update_sk_ctx() transfers the plabel reference, unfortunately it is also unconditionally put in the caller. Ideally we would make the caller conditionally put the reference based on whether it was transferred but for now just fix the bug by getting a reference.
Title apparmor: fix refcount leak when updating the sk_ctx
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T05:57:06.042Z

Reserved: 2026-08-09T03:40:39.933Z

Link: CVE-2026-72461

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:20.113

Modified: 2026-08-15T06:22:20.113

Link: CVE-2026-72461

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T11:45:03Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime