CVE-2026-58099: Memory safety bugs in kqueue copy-on-fork implementation
CVE-2026-58099 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-p4. The newest release, 15.1-p7, is not affected.
What it is
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.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (Freebsd)
Published by Freebsd on 15 October 2026. Last changed 19 October 2026.
Sources
Check one version you run: look CVE-2026-58099 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.