{
  "id": "CVE-2026-99231",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-99231",
  "published_at": "2026-11-02T16:06:38.553Z",
  "title": "io_uring/waitid: own the request before clearing -\u003ehead",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/waitid: own the request before clearing -\u003ehead\n\nio_waitid_remove_wq() only takes the wait queue lock if -\u003ehead is set.\nio_waitid_wait() clears -\u003ehead first thing, before it tries to become the\nowner of the request by bumping -\u003erefs. If somebody else owns the request\nat that point, nothing keeps it from completing the request while the\nwake up handler is still going to touch it:\n\nCPU0 (io_waitid_wait)                 CPU1 (io_waitid, holds a ref)\nlist_del_init(\u0026wait-\u003eentry)\nsmp_store_release(\u0026iw-\u003ehead, NULL)\n                                      __do_wait() finds another child\n                                      io_waitid_remove_wq()\n                                        // -\u003ehead == NULL, no locking\n                                      io_waitid_finish(), IOU_COMPLETE\n                                      // request freed and reused\natomic_fetch_inc(\u0026iw-\u003erefs)\n\nThe same goes for __io_waitid_cancel() if it claims the request in that\nwindow. -\u003erefs is part of the per opcode data of the request, so this\nincrements whatever the next user of the request keeps there. If that\nhappens to be zero, the handler concludes that it owns the request, and\nqueues io_waitid_cb() for it. With the window held open by a delay, and\nthe request reused for a receive that is waiting for data:\n\n  BUG: KASAN: slab-use-after-free in __wake_up_common+0x1ca/0x1f0\n   __wake_up_sync_key+0x36/0x50\n   sock_def_readable+0xf1/0x420\n   unix_stream_sendmsg+0x60b/0x1110\n  Allocated by task 87:\n   io_arm_apoll+0x1ed/0x940\n  Freed by task 87:\n   __io_submit_flush_completions+0x118d/0x1a10\n   tctx_task_work_run+0x327/0x950\n\nOnly clear -\u003ehead once the handler owns the request. If it doesn't, the\nowner finds -\u003ehead set and has to wait for the lock, which is held by the\ncaller of the handler. Deleting the already deleted entry again is\nharmless.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 09951a4d37e33b0197afc7fb77e39f09a3213ee6, \u003c bf01da1a9cca4a54e5c30b8344e52c26afb87be7",
          "\u003e= 934ffdd1cdef232eb125e63c2ebafb7f2deff6af, \u003c 8381a912c65b8de16e8a848225c7c5a56b6ea834",
          "\u003e= ab673c1bcaf20ac70352eeb6bf5b828462676693, \u003c c10ad2813e15186fb51b37a4d17fafddc99e89a5",
          "\u003e= ab673c1bcaf20ac70352eeb6bf5b828462676693, \u003c 6e11ce129b34fb9a43b2bbe838df49ea52878d5c",
          "\u003e= ab673c1bcaf20ac70352eeb6bf5b828462676693, \u003c c254eec4364b9f4b4cbdce43be3fb4df5a651a70",
          "\u003e= 6.12.113, \u003c 6.12.115",
          "\u003e= 6.18.52, \u003c 6.18.60"
        ],
        "fixed_in": [
          "bf01da1a9cca4a54e5c30b8344e52c26afb87be7",
          "8381a912c65b8de16e8a848225c7c5a56b6ea834",
          "c10ad2813e15186fb51b37a4d17fafddc99e89a5",
          "6e11ce129b34fb9a43b2bbe838df49ea52878d5c",
          "c254eec4364b9f4b4cbdce43be3fb4df5a651a70",
          "6.12.115",
          "6.18.60"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.19"
        ],
        "fixed_in": [
          "0",
          "6.12.115",
          "6.18.60",
          "7.2.14",
          "7.3.2",
          "7.4-rc1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to bf01da1a9cca4a54e5c30b8344e52c26afb87be7 or 8381a912c65b8de16e8a848225c7c5a56b6ea834 or c10ad2813e15186fb51b37a4d17fafddc99e89a5 or 6e11ce129b34fb9a43b2bbe838df49ea52878d5c or c254eec4364b9f4b4cbdce43be3fb4df5a651a70 or 6.12.115 or 6.18.60 or later.",
      "Upgrade Linux to 0 or 6.12.115 or 6.18.60 or 7.2.14 or 7.3.2 or 7.4-rc1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
