CVE-2026-58099

Memory safety bugs in kqueue copy-on-fork implementation

State
Published
Severity
7.0 High
Published
Oct 15, 2026
Updated
Oct 19, 2026
Reserved
Jun 29, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-416 Use After Free

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.1-RELEASE to before p4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.