CVE-2026-99796 (GCVE-0-2026-99796)

Vulnerability from cvelistv5 – Published: 2026-11-20 07:02 – Updated: 2026-11-23 08:07
VLAI
Title
io_uring/poll: cancel all matching requests in one pass
Summary
In the Linux kernel, the following vulnerability has been resolved: io_uring/poll: cancel all matching requests in one pass With IORING_ASYNC_CANCEL_ALL, __io_async_cancel() calls io_try_cancel() until nothing is found, and io_poll_cancel() cancels one request per call, starting each lookup at the beginning of the hash. A cancelled request stays hashed until its task work runs, so every lookup walks past the ones already cancelled. Cancelling K of N pending polls visits about K*N/2 requests in one io_uring_enter(), with uring_lock held. A single CANCEL_FD|ALL on 80000 polls on one eventfd takes 17.06s, 0.02s with this change. With voluntary preemption the soft lockup watchdog fires: watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [repro:100] RIP: 0010:io_cancel_req_match+0x19/0xa0 io_poll_cancel+0x73/0x170 io_try_cancel+0x7b/0xf0 __io_async_cancel+0x41/0x110 Walk the hash once and cancel every match, as io_cancel_remove() does for futex and waitid. Cancel by user_data only needs its own bucket. __io_async_cancel() still loops until nothing is found, so a request that io-wq parks in the poll hash meanwhile is still cancelled. A cancel that matches one request now walks the whole hash twice instead of stopping at the match.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 8e29da69feade64ec7fe9e1a2824b967c5183a21 , < 58fb2b7c71d94fb88b689d44efd33490abfa7baa (git)
Affected: 8e29da69feade64ec7fe9e1a2824b967c5183a21 , < f206ca81adf22efe05eacf2dd54a520249db38ad (git)
Affected: 8e29da69feade64ec7fe9e1a2824b967c5183a21 , < 9073da4d5bd87c71235d909512c478e8a13a5818 (git)
Affected: 8e29da69feade64ec7fe9e1a2824b967c5183a21 , < 5310b477e619209b0cceb00b71ebc05a3e89360b (git)
Affected: 8e29da69feade64ec7fe9e1a2824b967c5183a21 , < e409e1b03059c544d271c7f8e1215c5c0c62f278 (git)
Affected: 8e29da69feade64ec7fe9e1a2824b967c5183a21 , < 9eff9c07e927dcd9c57150cd6fb3d4ec76f00480 (git)
Create a notification for this product.
Linux Linux Affected: 5.19
Unaffected: 0 , < 5.19 (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "io_uring/cancel.c",
            "io_uring/poll.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "58fb2b7c71d94fb88b689d44efd33490abfa7baa",
              "status": "affected",
              "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
              "versionType": "git"
            },
            {
              "lessThan": "f206ca81adf22efe05eacf2dd54a520249db38ad",
              "status": "affected",
              "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
              "versionType": "git"
            },
            {
              "lessThan": "9073da4d5bd87c71235d909512c478e8a13a5818",
              "status": "affected",
              "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
              "versionType": "git"
            },
            {
              "lessThan": "5310b477e619209b0cceb00b71ebc05a3e89360b",
              "status": "affected",
              "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
              "versionType": "git"
            },
            {
              "lessThan": "e409e1b03059c544d271c7f8e1215c5c0c62f278",
              "status": "affected",
              "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
              "versionType": "git"
            },
            {
              "lessThan": "9eff9c07e927dcd9c57150cd6fb3d4ec76f00480",
              "status": "affected",
              "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "io_uring/cancel.c",
            "io_uring/poll.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/poll: cancel all matching requests in one pass\n\nWith IORING_ASYNC_CANCEL_ALL, __io_async_cancel() calls io_try_cancel()\nuntil nothing is found, and io_poll_cancel() cancels one request per\ncall, starting each lookup at the beginning of the hash. A cancelled\nrequest stays hashed until its task work runs, so every lookup walks\npast the ones already cancelled. Cancelling K of N pending polls visits\nabout K*N/2 requests in one io_uring_enter(), with uring_lock held.\n\nA single CANCEL_FD|ALL on 80000 polls on one eventfd takes 17.06s,\n0.02s with this change. With voluntary preemption the soft lockup\nwatchdog fires:\n\n  watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [repro:100]\n  RIP: 0010:io_cancel_req_match+0x19/0xa0\n   io_poll_cancel+0x73/0x170\n   io_try_cancel+0x7b/0xf0\n   __io_async_cancel+0x41/0x110\n\nWalk the hash once and cancel every match, as io_cancel_remove() does\nfor futex and waitid. Cancel by user_data only needs its own bucket.\n__io_async_cancel() still loops until nothing is found, so a request\nthat io-wq parks in the poll hash meanwhile is still cancelled.\n\nA cancel that matches one request now walks the whole hash twice instead\nof stopping at the match."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:07:29.805Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/58fb2b7c71d94fb88b689d44efd33490abfa7baa"
        },
        {
          "url": "https://git.kernel.org/stable/c/f206ca81adf22efe05eacf2dd54a520249db38ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/9073da4d5bd87c71235d909512c478e8a13a5818"
        },
        {
          "url": "https://git.kernel.org/stable/c/5310b477e619209b0cceb00b71ebc05a3e89360b"
        },
        {
          "url": "https://git.kernel.org/stable/c/e409e1b03059c544d271c7f8e1215c5c0c62f278"
        },
        {
          "url": "https://git.kernel.org/stable/c/9eff9c07e927dcd9c57150cd6fb3d4ec76f00480"
        }
      ],
      "title": "io_uring/poll: cancel all matching requests in one pass",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99796",
    "datePublished": "2026-11-20T07:02:20.389Z",
    "dateReserved": "2026-09-25T10:25:14.435Z",
    "dateUpdated": "2026-11-23T08:07:29.805Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99796",
      "date": "2026-11-23",
      "epss": "0.00304",
      "percentile": "0.23597"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-21T01:19:04.000Z",
      "cve": "CVE-2026-99796",
      "id": "msrc_CVE-2026-99796",
      "initial_release_date": "2026-11-20T18:10:10.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "io_uring/poll: cancel all matching requests in one pass",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99796.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "io_uring/cancel.c",
                  "io_uring/poll.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "58fb2b7c71d94fb88b689d44efd33490abfa7baa",
                    "status": "affected",
                    "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f206ca81adf22efe05eacf2dd54a520249db38ad",
                    "status": "affected",
                    "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9073da4d5bd87c71235d909512c478e8a13a5818",
                    "status": "affected",
                    "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5310b477e619209b0cceb00b71ebc05a3e89360b",
                    "status": "affected",
                    "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e409e1b03059c544d271c7f8e1215c5c0c62f278",
                    "status": "affected",
                    "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9eff9c07e927dcd9c57150cd6fb3d4ec76f00480",
                    "status": "affected",
                    "version": "8e29da69feade64ec7fe9e1a2824b967c5183a21",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "io_uring/cancel.c",
                  "io_uring/poll.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.19"
                  },
                  {
                    "lessThan": "5.19",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring/poll: cancel all matching requests in one pass\n\nWith IORING_ASYNC_CANCEL_ALL, __io_async_cancel() calls io_try_cancel()\nuntil nothing is found, and io_poll_cancel() cancels one request per\ncall, starting each lookup at the beginning of the hash. A cancelled\nrequest stays hashed until its task work runs, so every lookup walks\npast the ones already cancelled. Cancelling K of N pending polls visits\nabout K*N/2 requests in one io_uring_enter(), with uring_lock held.\n\nA single CANCEL_FD|ALL on 80000 polls on one eventfd takes 17.06s,\n0.02s with this change. With voluntary preemption the soft lockup\nwatchdog fires:\n\n  watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [repro:100]\n  RIP: 0010:io_cancel_req_match+0x19/0xa0\n   io_poll_cancel+0x73/0x170\n   io_try_cancel+0x7b/0xf0\n   __io_async_cancel+0x41/0x110\n\nWalk the hash once and cancel every match, as io_cancel_remove() does\nfor futex and waitid. Cancel by user_data only needs its own bucket.\n__io_async_cancel() still loops until nothing is found, so a request\nthat io-wq parks in the poll hash meanwhile is still cancelled.\n\nA cancel that matches one request now walks the whole hash twice instead\nof stopping at the match."
          }
        ],
        "id": "CVE-2026-99796",
        "lastModified": "2026-11-23T09:17:09.753",
        "metrics": {},
        "published": "2026-11-20T08:18:37.177",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5310b477e619209b0cceb00b71ebc05a3e89360b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/58fb2b7c71d94fb88b689d44efd33490abfa7baa"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9073da4d5bd87c71235d909512c478e8a13a5818"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9eff9c07e927dcd9c57150cd6fb3d4ec76f00480"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e409e1b03059c544d271c7f8e1215c5c0c62f278"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f206ca81adf22efe05eacf2dd54a520249db38ad"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-20T11:58:52+00:00",
      "cve": "CVE-2026-99796",
      "id": "CVE-2026-99796",
      "initial_release_date": "2026-11-20T07:02:20.389000+00:00",
      "product_status:known_affected": "111",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via inefficient poll cancellation in io_uring",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99796.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…