CVE-2026-72462
apparmor: fix race in unix socket mediation when peer_path is used
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 17, 2026, 6:19 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to include the fix.
- Acquire the state lock before accessing peer path.
- Obtain a reference to the path under lock.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72462.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72462 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72462
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72462 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72462 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'd8ea44f6090c087fe255d9512fb808574b4d88e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'd680472db98823d90fc91362910901e468269318', 'versionType': 'git'}, {'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'b1aea2c1960771a276d7e68c7424168eccd0c3da', 'versionType': 'git'}], 'programFiles': ['security/apparmor/af_unix.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.17'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.17', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['security/apparmor/af_unix.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'd8ea44f6090c087fe255d9512fb808574b4d88e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'd680472db98823d90fc91362910901e468269318', 'versionType': 'git'}, {'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'b1aea2c1960771a276d7e68c7424168eccd0c3da', 'versionType': 'git'}], 'programFiles': ['security/apparmor/af_unix.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.17'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.17', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['security/apparmor/af_unix.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'd8ea44f6090c087fe255d9512fb808574b4d88e8', 'versionType': 'git'}, {'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'd680472db98823d90fc91362910901e468269318', 'versionType': 'git'}, {'status': 'affected', 'version': 'bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a', 'lessThan': 'b1aea2c1960771a276d7e68c7424168eccd0c3da', 'versionType': 'git'}], 'programFiles': ['security/apparmor/af_unix.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.17'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.17', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['security/apparmor/af_unix.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/b1aea2c1960771a276d7e68c7424168eccd0c3da Added Reference https://git.kernel.org/stable/c/d680472db98823d90fc91362910901e468269318 Added Reference https://git.kernel.org/stable/c/d8ea44f6090c087fe255d9512fb808574b4d88e8