{"schemaVersion":3,"id":"CVE-2026-58099","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.\n\nAn unprivileged local user may be able to exploit these races to escalate privileges.","dates":{"published":"2026-10-15T06:31:18.042Z","modified":"2026-10-19T14:10:47.179Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00096,"percentile":0.00677,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-15T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00096,"percentile":0.00677}],"last30":[{"date":"2026-10-15T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0014,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00096,"percentile":0.00677}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"},{"id":"CWE-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"freebsd","product":"freebsd","name":"freebsd","label":"freebsd","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"≥ 15.1-RELEASE, < p4","noFixRecorded":false,"fixedIn":null},{"text":"15.1","noFixRecorded":false,"fixedIn":null},{"text":"15.1:p1","noFixRecorded":false,"fixedIn":null},{"text":"15.1:p2","noFixRecorded":false,"fixedIn":null},{"text":"15.1:p3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 15.1-RELEASE, < p4 | 15.1 | 15.1:p1 | 15.1:p2 | 15.1:p3","eol":{"isEol":false,"eolDate":"2027-03-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"releng/15.1","eolFrom":"2027-03-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":null},"product":{"name":"freebsd","label":"FreeBSD","category":"os"}},"hubHref":"/vendor/freebsd/freebsd"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc","label":"security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc","hostname":"security.freebsd.org","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-15T06:31:18.042Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-19T14:10:47.179Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T13:37:04.810Z","stale":false,"partial":false}}