CVE-2026-72462

apparmor: fix race in unix socket mediation when peer_path is used

State
Published
Severity
8.8 High
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a to before d8ea44f6090c087fe255d9512fb808574b4d88e8Affected
  • bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a to before d680472db98823d90fc91362910901e468269318Affected
  • bc6e5f6933b8e7b74858ac830d5b9b4ca10a099a to before b1aea2c1960771a276d7e68c7424168eccd0c3daAffected
LinuxLinux
  • 6.17Affected
  • before 6.17Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.