Bug 2516449 (CVE-2026-72462) - CVE-2026-72462 kernel: apparmor: fix race in unix socket mediation when peer_path is used
Summary: CVE-2026-72462 kernel: apparmor: fix race in unix socket mediation when peer_...
Keywords:
Status: NEW
Alias: CVE-2026-72462
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-15 06:13 UTC by OSIDB Bzimport
Modified: 2026-08-19 17:32 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-15 06:13:08 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.


Note You need to log in before you can comment on or make changes to this bug.