CVE-2026-58099: Memory safety bugs in kqueue copy-on-fork implementation

Published Oct 15, 2026
·
Updated

When copying knotes from a parent kqueue to a child, the copy code did not correctly exclude marker knotes (used internally to track list traversal position) before marking them as in-flux and releasing the kqueue lock. If another thread freed a marker while the lock was dropped, the subsequent in-flux decrement operated on freed memory.

An unprivileged local user may be able to exploit these races to escalate privileges.

Affected Software

1 affected component
FreeBSD FreeBSD

Event History

Oct 15, 2026
CVE Published
via MITRE·06:31 AM
Data Sourced
via MITRE·06:31 AM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

FreeBSD systems are exposed where an unprivileged local user can run code. The described impact is local privilege escalation; no remote attack path is stated.

2

What does an attacker need to exploit it?

An attacker needs local, unprivileged access and must trigger a race involving kqueue copy-on-fork activity and concurrent freeing of an internal marker knote. The issue depends on timing while the kqueue lock is released.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203