{"id":"CVE-2026-72462","summary":"apparmor: fix race in unix socket mediation when peer_path is used","details":"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.","modified":"2026-08-18T03:56:26.016261410Z","published":"2026-08-15T05:57:06.705Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72462.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/b1aea2c1960771a276d7e68c7424168eccd0c3da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d680472db98823d90fc91362910901e468269318"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8ea44f6090c087fe255d9512fb808574b4d88e8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72462.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72462"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.40"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72462.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}