VDB

CVE-2026-98629

CVE-2026-98629 PUBLISHED

net/sched: cls_u32: fix manual hash table handle IDR aliasing

Reported by linux · Published October 18, 2026

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.

EPSS 0.21% · 10.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perfAmazon Linux1:6.1.189-236.399.amzn2023
kernel-livepatch-6.1.189-236.399Amazon Linux1:1.0-0.amzn2023
kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.113-138.209.amzn2023
kernel-livepatch-6.12.113-138.209Amazon Linux1:1.0-0.amzn2023
kernel-tools-develAmazon Linux1:6.1.189-236.399.amzn2023
microvm-kernelAmazon Linux1:6.1.189-236.399.amzn2023
kernel-modules-extraAmazon Linux1:6.1.189-236.399.amzn2023
python3-perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
LinuxLinux6.12, 6.6.158

Risk scores

EPSS Score
0.21%
10.6th percentile

Affected products

VendorProductVersions
LinuxLinux9b2c3184e126b941dfa716b8128ed6db92a64e2f, 789f9963bd031c3a185605665b744912df8e7eda, 73af53d82076bbe184d9ece9e14b0dc8599e6055
LinuxLinux6.12, 0, 6.1.189
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.189-236.3990
amazon:2023kernel6.180
amazon:2023kernel6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel-livepatch-6.12.113-138.2090
amazon:2023kernel-tools-devel0
amazon:2023microvm-kernel0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf6.180
LinuxLinux6.1.119, 7.3, 7.2.9
amazon:2023perf0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-headers0
amazon:2023perf6.120
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.120
amazon:2023python3-perf6.120

…and 19 more

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98629
vulnetix vdb fixes CVE-2026-98629

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98629/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›