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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.4 · freebsdNVD modified 2026-10-27 12:10
Affected (CPE criteria) 4
cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.1:rc2:*:*:*:*:*:*cpe:2.3:o:freebsd:freebsd:15.1:rc3-p1:*:*:*:*:*:*