{
  "id": "CVE-2026-99227",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-99227",
  "published_at": "2026-11-02T16:06:36.101Z",
  "title": "io_uring/waitid: prevent cancel reference wrap",
  "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: prevent cancel reference wrap\n\nio_waitid packs the cancellation state into bit 31 of -\u003erefs and uses\nbits 30:0 as a 31-bit reference counter:\n\n  #define IO_WAITID_CANCEL_FLAG BIT(31)\n  #define IO_WAITID_REF_MASK    GENMASK(30, 0)\n\n__io_waitid_cancel() marks a request canceled, then increments the low\nbits of -\u003erefs to claim completion ownership. When another path owns the\nrequest, the increment remains even though cancellation returns false.\nThe request remains discoverable by cancellation, so repeated failed\nattempts can wrap the 31-bit reference field to zero. A later\ncancellation can claim ownership and complete the request a second time.\n\nUse atomic_fetch_or() when setting the cancel flag and inspect the old\nflag value. The first cancel attempt continues to the existing ownership\nincrement, preserving its wake and issuer handoff semantics. Later\nattempts see the cancel flag and return without incrementing the\nreference field.\n\nThis makes repeated failed cancellation attempts idempotent while\nleaving the first-cancel state transitions unchanged.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f31ecf671ddc498f20219453395794ff2383e06b, \u003c 20b67288574c7c3df6b8ea7ed3b7af90a868006f",
          "\u003e= f31ecf671ddc498f20219453395794ff2383e06b, \u003c 5bfeee1774791602a0d53eb717f00f172127a017",
          "\u003e= f31ecf671ddc498f20219453395794ff2383e06b, \u003c 857aa2012b91cad6fdef54a4b6c632d9d0b6e64f",
          "\u003e= f31ecf671ddc498f20219453395794ff2383e06b, \u003c 22fb4a4518e305164c7f203608287564de292f34",
          "\u003e= f31ecf671ddc498f20219453395794ff2383e06b, \u003c 98787d3fa4e99564d2b2bc21255b21f670c450d0"
        ],
        "fixed_in": [
          "20b67288574c7c3df6b8ea7ed3b7af90a868006f",
          "5bfeee1774791602a0d53eb717f00f172127a017",
          "857aa2012b91cad6fdef54a4b6c632d9d0b6e64f",
          "22fb4a4518e305164c7f203608287564de292f34",
          "98787d3fa4e99564d2b2bc21255b21f670c450d0"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.7"
        ],
        "fixed_in": [
          "0",
          "6.12.115",
          "6.18.60",
          "7.2.14",
          "7.3.1",
          "7.4-rc1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 20b67288574c7c3df6b8ea7ed3b7af90a868006f or 5bfeee1774791602a0d53eb717f00f172127a017 or 857aa2012b91cad6fdef54a4b6c632d9d0b6e64f or 22fb4a4518e305164c7f203608287564de292f34 or 98787d3fa4e99564d2b2bc21255b21f670c450d0 or later.",
      "Upgrade Linux to 0 or 6.12.115 or 6.18.60 or 7.2.14 or 7.3.1 or 7.4-rc1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
