CVE-2026-72462 (GCVE-0-2026-72462)
Vulnerability from cvelistv5
Published
2026-08-15 05:57
Modified
2026-08-17 05:44
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"security/apparmor/af_unix.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "d8ea44f6090c087fe255d9512fb808574b4d88e8",
"status": "affected",
"version": "bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a",
"versionType": "git"
},
{
"lessThan": "d680472db98823d90fc91362910901e468269318",
"status": "affected",
"version": "bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a",
"versionType": "git"
},
{
"lessThan": "b1aea2c1960771a276d7e68c7424168eccd0c3da",
"status": "affected",
"version": "bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"security/apparmor/af_unix.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.17"
},
{
"lessThan": "6.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.40",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "6.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "6.17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: fix race in unix socket mediation when peer_path is used\n\nThe holding a reference to the peer_sk is not enough to ensure access\nto the peer sk path. Accessing the path outside of the state lock\nallows for a race with unix_release_sock(). Fix this by taking the\nstate lock and getting a reference to the path under lock.\n\nIdeally for connected sockets we would cache this information so we\ndon\u0027t have to take the lock here. But for now just fix the race."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - Exploitation requires local Unix domain socket syscalls (connect/read/write/close) that reach the AppArmor file_permission LSM hook on a connected PF_UNIX socket; there is no network packet or remote protocol path to this code.\nAC:L - The attacker controls both ends of the race by concurrently I/O\u0027ing on an abstract/anonymous socket connected to a filesystem-bound peer while closing the peer socket, repeatedly timing read/write against peer teardown until the window is hit.\nPR:L - Any unprivileged local user can create and connect Unix sockets and trigger revalidation on confined workloads (snaps, containers, desktop services on AppArmor-enabled Ubuntu/Debian); no real-root or init-namespace capabilities are required.\nUI:N - Exploitation is fully attacker-driven through automated concurrent socket operations and does not require any victim user action such as opening files or mounting filesystems.\nS:C - Winning the race can bypass AppArmor Unix peer_path mediation (implicit allow when dentry is cleared) or corrupt kernel objects via dentry UAF, crossing the AppArmor confinement boundary that normally separates confined from unconfined authority.\nC:H - Use-after-free of the peer socket\u0027s dentry/inode during unix_fs_perm/aa_path_perm allows dereferencing freed kernel heap memory, which per kernel CVSS guidance for UAF enables arbitrary kernel memory disclosure primitives.\nI:H - The UAF on struct path/dentry/inode is heap memory corruption that can be leveraged for arbitrary kernel writes and control-flow hijack; the race can also silently bypass AppArmor peer filesystem permission enforcement.\nA:H - Dereferencing a released peer_path dentry in unix_fs_perm can cause kernel oops/panic; UAF during active socket I/O on production AppArmor-confined services (D-Bus, journald, snap apps) enables repeatable denial of service."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:44:28.507Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/d8ea44f6090c087fe255d9512fb808574b4d88e8"
},
{
"url": "https://git.kernel.org/stable/c/d680472db98823d90fc91362910901e468269318"
},
{
"url": "https://git.kernel.org/stable/c/b1aea2c1960771a276d7e68c7424168eccd0c3da"
}
],
"title": "apparmor: fix race in unix socket mediation when peer_path is used",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-72462",
"datePublished": "2026-08-15T05:57:06.705Z",
"dateReserved": "2026-08-09T03:40:39.933Z",
"dateUpdated": "2026-08-17T05:44:28.507Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…