Description
While the kernel was copying knotes during fork, a knote with a timer-based filter could fire and be enqueued on the kqueue's active list before the copy was complete. The copy routine did not account for this and could enqueue the new knote a second time, corrupting the active list. In addition, the copy routine did not hold the appropriate locks while reading knote state, allowing further races.

An unprivileged local user can trigger a use-after-free in the kernel, potentially leading to privilege escalation.
Published: 2026-08-19
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During a fork, the kernel copies knote objects for kqueue. When a timer‑based knote fires while this copy is underway, the knote can be enqueued twice, corrupting the active list. Because the copy routine does not lock the structure or verify state, the list corruption leads to a use‑after‑free in the kernel. The weakness is classified as CWE‑416 and enables an unprivileged local user to gain elevated privileges.

Affected Systems

The affected vendor is FreeBSD; the vulnerability is in the FreeBSD kernel kqueue subsystem. No specific version ranges are listed, so any kernel build that has not applied the vendor’s patch is potentially vulnerable.

Risk and Exploitability

The CVSS score of 8.4 indicates high severity. The EPSS score is below 1 %, showing a low probability of exploitation at present, and the issue is not in the CISA KEV catalog. Nevertheless, because the attack requires only local access and can be triggered by any unprivileged user, the risk of privilege escalation remains significant for administrators. Prompt remediation is advisable.

Generated by OpenCVE AI on August 20, 2026 at 17:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest FreeBSD security patch that addresses the kqueue copy‑on‑fork issue.
  • Upgrade to the newest FreeBSD release whose kernel includes the fix.
  • If a patch is unavailable, restrict unprivileged users from accessing kqueue timers by configuring appropriate kernel parameters or ACLs and monitor for unusual kqueue activity.

Generated by OpenCVE AI on August 20, 2026 at 17:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 19:15:00 +0000

Type Values Removed Values Added
CPEs 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:rc2:*:*:*:*:*:*
cpe:2.3:o:freebsd:freebsd:15.1:rc3-p1:*:*:*:*:*:*

Wed, 19 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 19 Aug 2026 11:00:00 +0000

Type Values Removed Values Added
First Time appeared Freebsd
Freebsd freebsd
Vendors & Products Freebsd
Freebsd freebsd

Wed, 19 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Description While the kernel was copying knotes during fork, a knote with a timer-based filter could fire and be enqueued on the kqueue's active list before the copy was complete. The copy routine did not account for this and could enqueue the new knote a second time, corrupting the active list. In addition, the copy routine did not hold the appropriate locks while reading knote state, allowing further races. An unprivileged local user can trigger a use-after-free in the kernel, potentially leading to privilege escalation.
Title Use-after-free in kqueue copy-on-fork
Weaknesses CWE-416
References

cve-icon MITRE

Status: PUBLISHED

Assigner: freebsd

Published:

Updated: 2026-08-20T03:55:44.831Z

Reserved: 2026-06-29T01:40:17.498Z

Link: CVE-2026-58083

cve-icon Vulnrichment

Updated: 2026-08-19T11:56:46.032Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-19T08:17:12.470

Modified: 2026-08-31T19:02:30.440

Link: CVE-2026-58083

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T18:00:04Z

Weaknesses