7.0High

CVE-2026-58100Memory safety bugs in kqueue copy-on-fork implementation

FreeBSD FreeBSD Published: (1 month ago)

Description

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.

Weakness (CWE): CWE-362CWE-125

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
FreeBSD FreeBSD 15.1-RELEASE – < p4

References and patches

CPE matches (NVD) (4)

  • cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.1:p1:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.1:p2:*:*:*:*:*:*
  • cpe:2.3:o:freebsd:freebsd:15.1:p3:*:*:*:*:*:*