CVE-2026-98629 (GCVE-0-2026-98629)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:19 – Updated: 2026-10-19 09:22
VLAI
Title
net/sched: cls_u32: fix manual hash table handle IDR aliasing
Summary
In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_u32: fix manual hash table handle IDR aliasing A u32 hash table created with an explicit handle ('tc filter add ... handle 801: u32 divisor N') keys its IDR entry on the raw handle, while the destroy paths free it under handle2id(handle). The two key domains disagree for handles in the 0x800..0xFFF htid range: handle2id() folds them back into the auto-allocated id space (1..0x7FF). A manual table therefore leaves its raw-keyed IDR entry unreachable on delete (a permanent leak), and its delete can drop the idr entry of an unrelated live auto table. A later auto allocation can then hand out a handle that aliases the live manual table; u32_lookup_ht() first-match routes lookups and TCA_U32_LINK for that htid to the wrong table. Key the divisor-path alloc on handle2id(handle) so allocation and removal share one key domain. A manual handle that maps onto an id already in use is rejected with -ENOSPC, and auto allocation skips ids held by live manual tables. Conditions to recreate: ip link add test0 type dummy tc qdisc add dev test0 clsact tc filter add dev test0 ingress protocol ip pref 1 \ handle 801: u32 divisor 16 tc filter add dev test0 ingress protocol ip pref 2 u32 divisor 16 tc -d filter show dev test0 ingress | grep 'fh 801:' # unpatched: two live tables with handle 0x80100000 (the pref 2 root # hnode is auto-allocated id 1); patched: the auto hnode takes id 2. Also tested with a poc with a live u32 table on the block, add/delete a manual table 'handle 901: u32 divisor 1' twice; unpatched, the re-add fails with -ENOSPC because the raw key leaked on the first delete.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 9b2c3184e126b941dfa716b8128ed6db92a64e2f , < 21fc07924e996e1e661268ca269c86b8d59d25b3 (git)
Affected: 789f9963bd031c3a185605665b744912df8e7eda , < 0fac292d93fdb313099e98cce928b3a524c92c94 (git)
Affected: 73af53d82076bbe184d9ece9e14b0dc8599e6055 , < 54a454c5e41f5e2cb70c8163140ce095c5d5eefd (git)
Affected: 73af53d82076bbe184d9ece9e14b0dc8599e6055 , < f6696481eedfd5752b4b56eed715d0b0fe48b9c5 (git)
Affected: 73af53d82076bbe184d9ece9e14b0dc8599e6055 , < 2f898f9ec7c73c5697ee462681e7ea6984ee1f3d (git)
Affected: 73af53d82076bbe184d9ece9e14b0dc8599e6055 , < 0a5f5d9e94dead312d32c366b917c64e552b72f7 (git)
Affected: 4403f9293ce9ecc2a55c688d84ee37e3ba0fc1a8 (git)
Affected: 6.1.119 , < 6.1.189 (semver)
Affected: 6.6.63 , < 6.6.158 (semver)
Affected: 6.11.10 , < 6.12 (semver)
Create a notification for this product.
Linux Linux Affected: 6.12
Unaffected: 0 , < 6.12 (semver)
Unaffected: 6.1.189 , ≤ 6.1.* (semver)
Unaffected: 6.6.158 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.55 , ≤ 6.18.* (semver)
Unaffected: 7.2.9 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sched/cls_u32.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "21fc07924e996e1e661268ca269c86b8d59d25b3",
              "status": "affected",
              "version": "9b2c3184e126b941dfa716b8128ed6db92a64e2f",
              "versionType": "git"
            },
            {
              "lessThan": "0fac292d93fdb313099e98cce928b3a524c92c94",
              "status": "affected",
              "version": "789f9963bd031c3a185605665b744912df8e7eda",
              "versionType": "git"
            },
            {
              "lessThan": "54a454c5e41f5e2cb70c8163140ce095c5d5eefd",
              "status": "affected",
              "version": "73af53d82076bbe184d9ece9e14b0dc8599e6055",
              "versionType": "git"
            },
            {
              "lessThan": "f6696481eedfd5752b4b56eed715d0b0fe48b9c5",
              "status": "affected",
              "version": "73af53d82076bbe184d9ece9e14b0dc8599e6055",
              "versionType": "git"
            },
            {
              "lessThan": "2f898f9ec7c73c5697ee462681e7ea6984ee1f3d",
              "status": "affected",
              "version": "73af53d82076bbe184d9ece9e14b0dc8599e6055",
              "versionType": "git"
            },
            {
              "lessThan": "0a5f5d9e94dead312d32c366b917c64e552b72f7",
              "status": "affected",
              "version": "73af53d82076bbe184d9ece9e14b0dc8599e6055",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "4403f9293ce9ecc2a55c688d84ee37e3ba0fc1a8",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.189",
              "status": "affected",
              "version": "6.1.119",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.158",
              "status": "affected",
              "version": "6.6.63",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12",
              "status": "affected",
              "version": "6.11.10",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sched/cls_u32.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "6.1.119",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "6.6.63",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.11.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: cls_u32: fix manual hash table handle IDR aliasing\n\nA u32 hash table created with an explicit handle (\u0027tc filter add ...\nhandle 801: u32 divisor N\u0027) keys its IDR entry on the raw handle, while\nthe destroy paths free it under handle2id(handle). The two key domains\ndisagree for handles in the 0x800..0xFFF htid range:\nhandle2id() folds them back into the auto-allocated id space (1..0x7FF).\n\nA manual table therefore leaves its raw-keyed IDR entry unreachable on\ndelete (a permanent leak), and its delete can drop the idr entry of an\nunrelated live auto table. A later auto allocation can then hand out a\nhandle that aliases the live manual table; u32_lookup_ht() first-match\nroutes lookups and TCA_U32_LINK for that htid to the wrong table.\n\nKey the divisor-path alloc on handle2id(handle) so allocation and\nremoval share one key domain. A manual handle that maps onto an id\nalready in use is rejected with -ENOSPC, and auto allocation skips ids\nheld by live manual tables.\n\nConditions to recreate:\n  ip link add test0 type dummy\n  tc qdisc add dev test0 clsact\n  tc filter add dev test0 ingress protocol ip pref 1 \\\n          handle 801: u32 divisor 16\n  tc filter add dev test0 ingress protocol ip pref 2 u32 divisor 16\n  tc -d filter show dev test0 ingress | grep \u0027fh 801:\u0027\n  # unpatched: two live tables with handle 0x80100000 (the pref 2 root\n  # hnode is auto-allocated id 1); patched: the auto hnode takes id 2.\n\nAlso tested with a poc with a live u32 table on the block, add/delete a manual\ntable \u0027handle 901: u32 divisor 1\u0027 twice; unpatched, the re-add fails with\n-ENOSPC because the raw key leaked on the first delete."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:22:57.219Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/21fc07924e996e1e661268ca269c86b8d59d25b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/0fac292d93fdb313099e98cce928b3a524c92c94"
        },
        {
          "url": "https://git.kernel.org/stable/c/54a454c5e41f5e2cb70c8163140ce095c5d5eefd"
        },
        {
          "url": "https://git.kernel.org/stable/c/f6696481eedfd5752b4b56eed715d0b0fe48b9c5"
        },
        {
          "url": "https://git.kernel.org/stable/c/2f898f9ec7c73c5697ee462681e7ea6984ee1f3d"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a5f5d9e94dead312d32c366b917c64e552b72f7"
        }
      ],
      "title": "net/sched: cls_u32: fix manual hash table handle IDR aliasing",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98629",
    "datePublished": "2026-10-18T15:19:50.589Z",
    "dateReserved": "2026-09-25T10:25:14.361Z",
    "dateUpdated": "2026-10-19T09:22:57.219Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98629",
      "date": "2026-11-16",
      "epss": "0.00206",
      "percentile": "0.10673"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-12T17:46:39.000Z",
      "cve": "CVE-2026-98629",
      "id": "msrc_CVE-2026-98629",
      "initial_release_date": "2026-10-20T01:06:49.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "net/sched: cls_u32: fix manual hash table handle IDR aliasing",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98629.json",
      "version": "5"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/sched/cls_u32.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "21fc07924e996e1e661268ca269c86b8d59d25b3",
                    "status": "affected",
                    "version": "9b2c3184e126b941dfa716b8128ed6db92a64e2f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0fac292d93fdb313099e98cce928b3a524c92c94",
                    "status": "affected",
                    "version": "789f9963bd031c3a185605665b744912df8e7eda",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "54a454c5e41f5e2cb70c8163140ce095c5d5eefd",
                    "status": "affected",
                    "version": "73af53d82076bbe184d9ece9e14b0dc8599e6055",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f6696481eedfd5752b4b56eed715d0b0fe48b9c5",
                    "status": "affected",
                    "version": "73af53d82076bbe184d9ece9e14b0dc8599e6055",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2f898f9ec7c73c5697ee462681e7ea6984ee1f3d",
                    "status": "affected",
                    "version": "73af53d82076bbe184d9ece9e14b0dc8599e6055",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0a5f5d9e94dead312d32c366b917c64e552b72f7",
                    "status": "affected",
                    "version": "73af53d82076bbe184d9ece9e14b0dc8599e6055",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "4403f9293ce9ecc2a55c688d84ee37e3ba0fc1a8",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.1.189",
                    "status": "affected",
                    "version": "6.1.119",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.6.158",
                    "status": "affected",
                    "version": "6.6.63",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.12",
                    "status": "affected",
                    "version": "6.11.10",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/sched/cls_u32.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.12"
                  },
                  {
                    "lessThan": "6.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.189",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.158",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "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\nnet/sched: cls_u32: fix manual hash table handle IDR aliasing\n\nA u32 hash table created with an explicit handle (\u0027tc filter add ...\nhandle 801: u32 divisor N\u0027) keys its IDR entry on the raw handle, while\nthe destroy paths free it under handle2id(handle). The two key domains\ndisagree for handles in the 0x800..0xFFF htid range:\nhandle2id() folds them back into the auto-allocated id space (1..0x7FF).\n\nA manual table therefore leaves its raw-keyed IDR entry unreachable on\ndelete (a permanent leak), and its delete can drop the idr entry of an\nunrelated live auto table. A later auto allocation can then hand out a\nhandle that aliases the live manual table; u32_lookup_ht() first-match\nroutes lookups and TCA_U32_LINK for that htid to the wrong table.\n\nKey the divisor-path alloc on handle2id(handle) so allocation and\nremoval share one key domain. A manual handle that maps onto an id\nalready in use is rejected with -ENOSPC, and auto allocation skips ids\nheld by live manual tables.\n\nConditions to recreate:\n  ip link add test0 type dummy\n  tc qdisc add dev test0 clsact\n  tc filter add dev test0 ingress protocol ip pref 1 \\\n          handle 801: u32 divisor 16\n  tc filter add dev test0 ingress protocol ip pref 2 u32 divisor 16\n  tc -d filter show dev test0 ingress | grep \u0027fh 801:\u0027\n  # unpatched: two live tables with handle 0x80100000 (the pref 2 root\n  # hnode is auto-allocated id 1); patched: the auto hnode takes id 2.\n\nAlso tested with a poc with a live u32 table on the block, add/delete a manual\ntable \u0027handle 901: u32 divisor 1\u0027 twice; unpatched, the re-add fails with\n-ENOSPC because the raw key leaked on the first delete."
          }
        ],
        "id": "CVE-2026-98629",
        "lastModified": "2026-10-19T10:19:27.130",
        "metrics": {},
        "published": "2026-10-18T16:17:15.960",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0a5f5d9e94dead312d32c366b917c64e552b72f7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0fac292d93fdb313099e98cce928b3a524c92c94"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/21fc07924e996e1e661268ca269c86b8d59d25b3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/2f898f9ec7c73c5697ee462681e7ea6984ee1f3d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/54a454c5e41f5e2cb70c8163140ce095c5d5eefd"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f6696481eedfd5752b4b56eed715d0b0fe48b9c5"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-11-07T11:31:09+00:00",
      "cve": "CVE-2026-98629",
      "id": "CVE-2026-98629",
      "initial_release_date": "2026-10-18T00:00:00+00:00",
      "product_status:known_affected": "124",
      "product_status:known_not_affected": "79",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net/sched: cls_u32: fix manual hash table handle IDR aliasing",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98629.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-27T00:44:09Z",
      "cve": "CVE-2026-98629",
      "id": "CVE-2026-98629",
      "initial_release_date": "2026-10-18T23:44:26Z",
      "product_status:known_affected": "79",
      "product_status:known_not_affected": "269",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98629",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98629.json",
      "version": "4"
    }
  }
}



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…