CVE-2026-58089

Summary

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.

Affected Software

VendorProductVersion RangeStatus
FreeBSDFreeBSD15.1-RELEASE < p3affected
FreeBSDFreeBSD15.0-RELEASE < p13affected
FreeBSDFreeBSD14.4-RELEASE < p9affected

Weaknesses

  • CWE-273: CWE-273: Improper Check for Dropped Privileges

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References