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

apparmor: fix race in unix socket mediation when peer_path is used

The holding a reference to the peer_sk is not enough to ensure access
to the peer sk path. Accessing the path outside of the state lock
allows for a race with unix_release_sock(). Fix this by taking the
state lock and getting a reference to the path under lock.

Ideally for connected sockets we would cache this information so we
don't have to take the lock here. But for now just fix the race.
Published: 2026-08-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The root cause is a race condition in the Linux kernel’s AppArmor subsystem that occurs when a Unix domain socket’s peer_path is accessed outside of the socket’s state lock. The bug allows a reference to the peer socket’s path to exist while the socket may concurrently be released by unix_release_sock(), which can result in a use‑after‑free or leakage of the path string. Based on the description, it is inferred that this race could expose privileged file locations or enable memory corruption, potentially leading to information disclosure or privilege escalation in a kernel context.

Affected Systems

The flaw is present in every Linux kernel version released before the patch that adds the state‑lock guard for peer_path. Because the affected product is listed as Linux:Linux with no version specifics, any Linux distribution that has not applied the commit that implements this fix is potentially exposed.

Risk and Exploitability

The CVSS score of 8.8 indicates high severity. The EPSS score of < 1% indicates a very low probability of exploitation, and the vulnerability is not listed in CISA KEV. The likely attack vector is a local user manipulating Unix domain sockets to trigger the race condition. If an attacker can control a socket’s peer_path, they may observe sensitive path information or cause a kernel memory corruption that could lead to privilege escalation. The risk is therefore considered medium to high, with the severity increasing if the exposed paths point to privileged assets.

Generated by OpenCVE AI on August 22, 2026 at 03:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that contains the AppArmor race‑condition fix (see commit b1aea2c1960771a276d7e68c7424168eccd0c3da and subsequent releases).
  • Reboot the system to load the patched kernel and enable the new locking behavior.
  • Reload AppArmor profiles with the command `apparmor_parser -r` or the distribution’s profile management tool to ensure the updated policy is active.

Generated by OpenCVE AI on August 22, 2026 at 03:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-367
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


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

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

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 race in unix socket mediation when peer_path is used The holding a reference to the peer_sk is not enough to ensure access to the peer sk path. Accessing the path outside of the state lock allows for a race with unix_release_sock(). Fix this by taking the state lock and getting a reference to the path under lock. Ideally for connected sockets we would cache this information so we don't have to take the lock here. But for now just fix the race.
Title apparmor: fix race in unix socket mediation when peer_path is used
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-17T05:44:28.507Z

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

Link: CVE-2026-72462

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-08-17T06:19:13.913

Link: CVE-2026-72462

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72462 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T03:15:04Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-416

    Use After Free