CVE-2026-72461

apparmor: fix refcount leak when updating the sk_ctx

Published Aug 15, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 that resolves the refcount leak is applied. The weakness involves improper resource release, so 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. The EPSS score is < 1% and the vulnerability is not listed in the CISA KEV catalog, indicating a low probability of widespread exploitation. The CVSS score of 7.8 indicates high severity. 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.

Remediation

No solution or workaround provided in the CVE record.

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 22, 2026 at 04:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-401
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
Weaknesses
  • CWE-911

    Improper Update of Reference Count

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:44 AM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Aug 17, 2026, 6:19 AM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM