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.
Severity (CVSS)
| Base score | 8.4 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CISA-ADP |
Weaknesses
- CWE-416 — CWE-416: Use After Free
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeBSD | FreeBSD | 15.1-RELEASE to <p2 |
References
- https://security.freebsd.org/advisories/FreeBSD-SA-26:50.kqueue.asc (vendor-advisory)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.