{"id":"CVE-2026-58099","title":"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","summary":"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 threa…","severity":"high","cwe":["CWE-362","CWE-416"],"vendor":"FreeBSD","product":"FreeBSD","affected":["FreeBSD >= 15.1-RELEASE < p4"],"published":"2026-10-15","updated":"2026-10-15","sourceUpdated":"2026-10-15T16:17:41.437","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-58099","references":[{"url":"https://security.freebsd.org/advisories/FreeBSD-SA-26:65.kqueue.asc","label":"secteam@freebsd.org"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-10-15T06:56:27.296Z","ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T03:56:54.101667Z"},"epss":0.001,"epssPercentile":0.00834,"cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"adp","slug":"CVE-2026-58099","body":"## Overview\n\nWhen 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":224961,"id":"CVE-2026-58099","ts":1792420238946,"field":"cvss","old":null,"new":"7"},{"seq":224960,"id":"CVE-2026-58099","ts":1792420238946,"field":"severity","old":"none","new":"high"}]}