CVE-2026-58099
JSON

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 packageVersionsReported by
FreeBSD FreeBSDfrom 15.1-RELEASE before p4, 15.1CVE List, NVD

Classification

CWE-362CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58099 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-58099 changed 2026-10-19Public domain