apparmor: fix race in unix socket mediation when peer_path is used
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.40, 7.1.5
- CVEs
- CVE-2026-72462
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 14:23 UTC · Revision 1
Source evidence
apparmor: fix race in unix socket mediation when peer_path is used
core-osv · Original sourcePublished 15 Aug 2026, 05:57 UTC
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.
osv:CVE-2026-72462
Kernel
Fixed versions: 6.18.40, 7.1.5
Complete source record
{
"id": "7170e7b9ef49f8130cc5ef059fc21d358859c9568dfa815759e1c2ab9ce4f98f",
"url": "https://osv.dev/vulnerability/CVE-2026-72462",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "apparmor: fix race in unix socket mediation when peer_path is used",
"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.",
"evidence": "osv:CVE-2026-72462",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-72462",
"aliases": [
"CVE-2026-72462"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a"
},
{
"fixed": "d8ea44f6090c087fe255d9512fb808574b4d88e8"
},
{
"fixed": "d680472db98823d90fc91362910901e468269318"
},
{
"fixed": "b1aea2c1960771a276d7e68c7424168eccd0c3da"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72462.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.17.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72462.json"
}
}
],
"modified": "2026-10-28T02:30:29.364482782Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/b1aea2c1960771a276d7e68c7424168eccd0c3da",
"https://git.kernel.org/stable/c/d680472db98823d90fc91362910901e468269318",
"https://git.kernel.org/stable/c/d8ea44f6090c087fe255d9512fb808574b4d88e8",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72462.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-72462",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72462.json"
}
},
"related_cves": [
{
"value": "CVE-2026-72462",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 496348,
"published_at": "2026-08-15T05:57:06.705+00:00"
}