Skip to content
OpenAdvisories
High · 7.0 CVE-2026-58099 EUVD-2026-101856GHSA-f53j-rp59-76p7

Memory safety bugs in kqueue copy-on-fork implementation

Published Oct 15, 2026 · Updated Oct 19, 2026 · Assigned by freebsd

Description

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 products

VendorProductAffectedFixed
FreeBSD FreeBSD 15.1-RELEASE – < p4 p4

Advisories 1

References