CVE-2026-58083: Use-after-free in kqueue copy-on-fork
CVE-2026-58083 affects 4 listed versions of FreeBSD in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
FreeBSD
4 of 250 listed versions are affected. Fixed in 15.1-RELEASE-p2. The newest release, 15.1-p7, is not affected.
15.1-p1 15.1 15.1-rc3-p1 15.1-rc2
What it is
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (Freebsd)
Published by Freebsd on 19 August 2026. Last changed 27 October 2026.
Sources
Check one version you run: look CVE-2026-58083 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.