CVE-2026-58089

hwpmc fails to detach PMCs during exec credential transitions

State
Published
Severity
7.8 High
Published
Aug 26, 2026
Updated
Aug 26, 2026
Reserved
Jun 29, 2026

Read the record on cve.org

Description

When a process calls execve(2) to execute a setuid or setgid image, hwpmc(4) is supposed to detach PMCs owned by unprivileged processes. An inverted check meant that this scenario was not handled properly.

An unprivileged local user who has attached PMCs to a process can continue monitoring it after the process executes a setuid or setgid binary, contrary to the intended policy.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-273 Improper Check for Dropped Privileges

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.1-RELEASE to before p3Affected
  • 15.0-RELEASE to before p13Affected
  • 14.4-RELEASE to before p9Affected

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.