Skip to content

CVE-2026-58083 Use-after-free in kqueue copy-on-fork

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

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
freebsd = 15.1; = 15.1-p1; = 15.1-rc2; = 15.1-rc3-p1 +1 more p2 Fixed

Affected products

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

References