Skip to content

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

HighCVSS 7.0 EPSS 0.10%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
freebsd = 15.1; = 15.1-p1; = 15.1-p2; = 15.1-p3 +1 more p4 Fixed

Affected products

ProductAffected versionsFixed in
freebsd >= 15.1-RELEASE, < p4 p4
freebsd = 15.1 No fix listed
freebsd = 15.1-p1 No fix listed
freebsd = 15.1-p2 No fix listed
freebsd = 15.1-p3 No fix listed

References