{"api_version":"1","generated_at":"2026-08-21T21:42:29+00:00","cve":"CVE-2026-72462","urls":{"html":"https://cve.report/CVE-2026-72462","api":"https://cve.report/api/cve/CVE-2026-72462.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-72462","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-72462"},"summary":{"title":"apparmor: fix race in unix socket mediation when peer_path is used","description":"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't have to take the lock here. But for now just fix the race.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:20","updated_at":"2026-08-17 06:19:13"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"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"}}],"references":[{"url":"https://git.kernel.org/stable/c/d8ea44f6090c087fe255d9512fb808574b4d88e8","name":"https://git.kernel.org/stable/c/d8ea44f6090c087fe255d9512fb808574b4d88e8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d680472db98823d90fc91362910901e468269318","name":"https://git.kernel.org/stable/c/d680472db98823d90fc91362910901e468269318","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b1aea2c1960771a276d7e68c7424168eccd0c3da","name":"https://git.kernel.org/stable/c/b1aea2c1960771a276d7e68c7424168eccd0c3da","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-72462","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72462","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a d8ea44f6090c087fe255d9512fb808574b4d88e8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a d680472db98823d90fc91362910901e468269318 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a b1aea2c1960771a276d7e68c7424168eccd0c3da git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"72462","cve":"CVE-2026-72462","epss":"0.001360000","percentile":"0.035430000","score_date":"2026-08-17","updated_at":"2026-08-18 00:11:47"},"legacy_qids":[]},"source_records":{"cve_program":{"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't 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'ing 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's 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"},"nvd":{"publishedDate":"2026-08-15 06:22:20","lastModifiedDate":"2026-08-17 06:19:13","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"72462","Ordinal":"1","Title":"apparmor: fix race in unix socket mediation when peer_path is us","CVE":"CVE-2026-72462","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"72462","Ordinal":"1","NoteData":"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't have to take the lock here. But for now just fix the race.","Type":"Description","Title":"apparmor: fix race in unix socket mediation when peer_path is us"}]}}}