Skip to content
OpenAdvisories
High · 8.4 CVE-2026-58083 EUVD-2026-62351GHSA-j94h-9p69-vhvm

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

Published Aug 19, 2026 · Updated Aug 20, 2026 · Assigned by freebsd

Description

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.

Affected products

VendorProductAffectedFixed
FreeBSD FreeBSD 15.1-RELEASE – < p2 p2

Advisories 1

References