{"id":"CVE-2026-58083","aliases":["CVE-2026-58083"],"related":[],"kind":"vulnerability","state":"published","title":"Use-after-free in kqueue copy-on-fork","summary":"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.\n\nAn unprivileged local user can trigger a use-after-free in the kernel, potentially leading to privilege escalation.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAn unprivileged local user can trigger a use-after-free in the kernel, potentially leading to privilege escalation.","source":"cvelist"},{"lang":"es","text":"Mientras el kernel copiaba knotes durante el fork, un knote con un filtro basado en temporizador podría activarse y ser encolado en la lista activa del kqueue antes de que la copia estuviera completa. La rutina de copia no tuvo esto en cuenta y podría encolar el nuevo knote una segunda vez, corrompiendo la lista activa. Además, la rutina de copia no mantenía los bloqueos apropiados mientras leía el estado del knote, permitiendo más condiciones de carrera.\n\nUn usuario local sin privilegios puede desencadenar un uso después de liberación en el kernel, lo que podría llevar a una escalada de privilegios.","source":"nvd"}],"published":"2026-08-19T07:28:28.502Z","modified":"2026-10-27T12:10:00.343Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"release","introduced":"15.1-RELEASE","fixed":"p2","status":"affected"}],"vendor":"FreeBSD","product":"FreeBSD","source":"cvelist"},{"ranges":[{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"},{"status":"affected","version":"15.1"}],"vendor":"freebsd","product":"freebsd","cpe":"cpe:2.3:o:freebsd:freebsd:15.1:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:50.kqueue.asc","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Hazley Samsudin of GovTech CSG"],"assigner":"freebsd","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-19T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58083","url":"https://www.cve.org/CVERecord?id=CVE-2026-58083","licence":"CVE Terms of Use","modified":"2026-08-20T03:55:44.831Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58083","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58083","licence":"Public domain","modified":"2026-10-27T12:10:00.343Z"}],"updatedAt":"2026-11-25T22:59:33.912Z","epss":{"score":0.00123,"percentile":0.02217,"date":"2026-12-01T12:00:22.000Z"}}