CVE-2026-58100 PUBLISHED

Memory safety bugs in kqueue copy-on-fork implementation

Assigner: freebsd
Reserved: 29.06.2026 Published: 15.10.2026 Updated: 15.10.2026

kqueue_fork_copy_knote() indexed into the child's file descriptor table using a knote's file descriptor number without a bounds check. Because the child's table is copied before knotes are transferred, a concurrent thread in the parent could grow the parent's table and register knotes with file descriptor numbers beyond the end of the child's table, causing an out-of-bounds read.

An unprivileged local user may be able to exploit these races to escalate privileges.

Product Status

Vendor FreeBSD
Product FreeBSD
Versions Default: unknown
  • affected from 15.1-RELEASE to p4 (excl.)

Credits

  • Reo Shiseki finder
  • Mark Johnston finder

References

Problem Types

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') CWE
  • CWE-125: Out-of-bounds Read CWE