{
  "id": "openbsd-sysv-sem-context-uaf",
  "title": "OpenAI models find OpenBSD System V semaphore context-switch use-after-free",
  "product": "OpenBSD kernel System V semaphores",
  "ai_system": "OpenAI models (specific model not named)",
  "organization": "OpenAI",
  "summary": "A semaphore object could be freed while a thread slept in sys_semget(), leaving the resumed context with a stale pointer. OpenAI says researchers reproduced the kernel use-after-free and confirmed local privilege-escalation potential.",
  "ai_role": "OpenAI states its models identified this 23-year-old issue; OpenAI researchers reproduced it. The public OpenBSD fix commit describes the context-switch use-after-free in sys_semget().",
  "disclosure_date": "2026-06-22",
  "ai_attribution_date": "2026-06-22",
  "classification": "pre-release",
  "classification_note": "The public OpenBSD fix commit is dated 2026-05-22; OpenAI publicly attributed the model-assisted finding on 2026-06-22. This chronology does not establish when defenders first knew of it.",
  "cves": [],
  "source_url": "https://openai.com/index/patch-the-planet/",
  "ai_source_url": "https://openai.com/index/patch-the-planet/",
  "remediation": "fix documented",
  "remediation_note": "OpenBSD’s public fix commit is dated 2026-05-22, before OpenAI’s June 22 public attribution. No CVE is listed in the cited sources.",
  "advisory_url": "https://github.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d",
  "checked_date": "2026-11-14",
  "impacts": [
    {
      "cves": [],
      "consequences": [
        "other"
      ],
      "conditions": "The OpenBSD commit identifies a use-after-free after tsleep during System V semaphore context-switch handling. This records the memory-safety defect only; the source does not establish a downstream consequence.",
      "exploitation": "Exploitation in the wild is not established by the cited source.",
      "source_url": "https://github.com/openbsd/src/commit/1957873d2063db11dab780eca75b5e629d1e838d",
      "checked_date": "2026-11-16"
    }
  ]
}
