Skip to main content
← All vulnerabilities
CVE-2026-58083

Use-after-free in kqueue copy-on-fork

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in p2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

While the kernel was copying knotes during fork, a knote with a timer-based filter could fire and be enqueued on the kqueue's active list before the copy was complete. The copy routine did not account for this and could enqueue the new knote a second time, corrupting the active list. In addition, the copy routine did not hold the appropriate locks while reading knote state, allowing further races. An unprivileged local user can trigger a use-after-free in the kernel, potentially leading to privilege escalation.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • FreeBSD FreeBSD

    From 15.1-RELEASE · fixed in p2

References 1

security.freebsd.org