CVE-2026-58099
7.0high
Memory safety bugs in kqueue copy-on-fork implementation
- Severity
- 7.0high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.10% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- freebsd
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeBSD FreeBSD | from 15.1-RELEASE before p4, 15.1 | CVE List, NVD |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58099 changed 2026-10-19 | CVE Terms of Use |
| NVD | CVE-2026-58099 changed 2026-10-19 | Public domain |