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

- Severity: High 8.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-19T07:28:28.502Z
- Modified: 2026-10-27T12:10:00.343Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: freebsd

## 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.

(As written by CVE List.)

## Affected

- FreeBSD FreeBSD: from 15.1-RELEASE before p2; 15.1

## References

- <https://security.freebsd.org/advisories/FreeBSD-SA-26:50.kqueue.asc> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-58083](https://www.cve.org/CVERecord?id=CVE-2026-58083), CVE Terms of Use, modified 2026-08-20
- NVD: [CVE-2026-58083](https://nvd.nist.gov/vuln/detail/CVE-2026-58083), Public domain, modified 2026-10-27

---

Page: https://cve.day/CVE-2026-58083 · Whole record: https://cve.day/CVE-2026-58083.json · Rebuilt by cve.day 2026-11-25T22:59:33.912Z
