# CVE-2026-98629: net/sched: cls\_u32: fix manual hash table handle IDR aliasing

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-10-18T15:19:50.589Z
- **Modified:** 2026-10-19T10:19:27.130Z

## Who should check

- Anyone running Linux \>= 9b2c3184e126b941dfa716b8128ed6db92a64e2f, \< 21fc07924e996e1e661268ca269c86b8d59d25b3; \>= 789f9963bd031c3a185605665b744912df8e7eda, \< 0fac292d93fdb313099e98cce928b3a524c92c94; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 54a454c5e41f5e2cb70c8163140ce095c5d5eefd; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< f6696481eedfd5752b4b56eed715d0b0fe48b9c5; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 2f898f9ec7c73c5697ee462681e7ea6984ee1f3d; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 0a5f5d9e94dead312d32c366b917c64e552b72f7; 4403f9293ce9ecc2a55c688d84ee37e3ba0fc1a8; \>= 6.1.119, \< 6.1.189; \>= 6.6.63, \< 6.6.158; \>= 6.11.10, \< 6.12
- Anyone running Linux 6.12

## Description

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.

## Affected and fixed versions

- Linux: \>= 9b2c3184e126b941dfa716b8128ed6db92a64e2f, \< 21fc07924e996e1e661268ca269c86b8d59d25b3; \>= 789f9963bd031c3a185605665b744912df8e7eda, \< 0fac292d93fdb313099e98cce928b3a524c92c94; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 54a454c5e41f5e2cb70c8163140ce095c5d5eefd; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< f6696481eedfd5752b4b56eed715d0b0fe48b9c5; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 2f898f9ec7c73c5697ee462681e7ea6984ee1f3d; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 0a5f5d9e94dead312d32c366b917c64e552b72f7; 4403f9293ce9ecc2a55c688d84ee37e3ba0fc1a8; \>= 6.1.119, \< 6.1.189; \>= 6.6.63, \< 6.6.158; \>= 6.11.10, \< 6.12 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 6.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98629. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98629.md
Affected: Linux >= 9b2c3184e126b941dfa716b8128ed6db92a64e2f, < 21fc07924e996e1e661268ca269c86b8d59d25b3; >= 789f9963bd031c3a185605665b744912df8e7eda, < 0fac292d93fdb313099e98cce928b3a524c92c94; >= 73af53d82076bbe184d9ece9e14b0dc8599e6055, < 54a454c5e41f5e2cb70c8163140ce095c5d5eefd; >= 73af53d82076bbe184d9ece…
Fixed in: Linux 21fc07924e996e1e661268ca269c86b8d59d25b3, Linux 0fac292d93fdb313099e98cce928b3a524c92c94, Linux 54a454c5e41f5e2cb70c8163140ce095c5d5eefd, Linux 2f898f9ec7c73c5697ee462681e7ea6984ee1f3d, Linux 0a5f5d9e94dead312d32c366b917c64e552b72f7, Linux 6.1.189, Linux 6.6.158, Linux 6.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98629 being exploited?

There is no confirmed exploitation: CVE-2026-98629 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98629?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98629?

Linux \>= 9b2c3184e126b941dfa716b8128ed6db92a64e2f, \< 21fc07924e996e1e661268ca269c86b8d59d25b3; \>= 789f9963bd031c3a185605665b744912df8e7eda, \< 0fac292d93fdb313099e98cce928b3a524c92c94; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 54a454c5e41f5e2cb70c8163140ce095c5d5eefd; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< f6696481eedfd5752b4b56eed715d0b0fe48b9c5; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 2f898f9ec7c73c5697ee462681e7ea6984ee1f3d; \>= 73af53d82076bbe184d9ece9e14b0dc8599e6055, \< 0a5f5d9e94dead312d32c366b917c64e552b72f7; 4403f9293ce9ecc2a55c688d84ee37e3ba0fc1a8; \>= 6.1.119, \< 6.1.189; \>= 6.6.63, \< 6.6.158; \>= 6.11.10, \< 6.12; Linux 6.12.

### Is there a fix for CVE-2026-98629?

Yes. Fixed in Linux 21fc07924e996e1e661268ca269c86b8d59d25b3, Linux 0fac292d93fdb313099e98cce928b3a524c92c94, Linux 54a454c5e41f5e2cb70c8163140ce095c5d5eefd, Linux 2f898f9ec7c73c5697ee462681e7ea6984ee1f3d, Linux 0a5f5d9e94dead312d32c366b917c64e552b72f7, Linux 6.1.189, Linux 6.6.158, Linux 6.12. Upgrade Linux to 6.12 or later.

### How do I check if I'm affected by CVE-2026-98629?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/21fc07924e996e1e661268ca269c86b8d59d25b3>
- other: <https://git.kernel.org/stable/c/0fac292d93fdb313099e98cce928b3a524c92c94>
- other: <https://git.kernel.org/stable/c/54a454c5e41f5e2cb70c8163140ce095c5d5eefd>
- other: <https://git.kernel.org/stable/c/f6696481eedfd5752b4b56eed715d0b0fe48b9c5>
- other: <https://git.kernel.org/stable/c/2f898f9ec7c73c5697ee462681e7ea6984ee1f3d>
- other: <https://git.kernel.org/stable/c/0a5f5d9e94dead312d32c366b917c64e552b72f7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98629>

HTML: <https://flawdb.com/CVE-2026-98629> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98629>
