CVE-2026-72462

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxbc6e5f6933b8e7b74858ac830d5b9b4ca10a099a < d8ea44f6090c087fe255d9512fb808574b4d88e8affected
LinuxLinuxbc6e5f6933b8e7b74858ac830d5b9b4ca10a099a < d680472db98823d90fc91362910901e468269318affected
LinuxLinuxbc6e5f6933b8e7b74858ac830d5b9b4ca10a099a < b1aea2c1960771a276d7e68c7424168eccd0c3daaffected
LinuxLinux6.17affected
LinuxLinux0 < 6.17unaffected
LinuxLinux6.18.40 <= 6.18.*unaffected
LinuxLinux7.1.5 <= 7.1.*unaffected
LinuxLinux7.2 <= *unaffected

Weaknesses

References