# CVE-2026-74739: net/sched: cls_u32: skip hash tables in u32_bind_class()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-08-26T14:36:51.746Z
- Modified: 2026-10-30T13:20:05.420Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/sched: cls_u32: skip hash tables in u32_bind_class()

u32_walk() enumerates both struct tc_u_hnode and struct tc_u_knode
through the walker callback. u32_bind_class() unconditionally casts the
passed fh to tc_u_knode and accesses &n->res, so when fh is actually a
tc_u_hnode, which has no tcf_result member, this results in a
slab-out-of-bounds read of res->classid in tc_cls_bind_class().

The issue can be reproduced with the following commands:

    tc qdisc add dev lo root handle 1: hfsc
    tc class add dev lo parent 1: classid 1:1 hfsc sc rate 1000kbit
    tc filter add dev lo parent 1:1 protocol ip prio 1 u32 match u32 0 0 flowid 1:1
    tc class add dev lo parent 1: classid 1:2 hfsc sc rate 2000kbit

Fix this by skipping hash tables via the TC_U32_KEY(handle) check.

(As written by CVE List.)

## Affected

- Linux Linux: from 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 before 43e1a952d534fc0e173b513a24b19ce99bb60974; from 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 before 07f57c7c47459e9bc75186b3af0fc2bc5be72f89; from 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 before ec5f3005586a785689fd568361b0c5925cb1548b; from 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 before 19d114b93c94bdef70496f26685c2a6b242f41b3; from 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 before 594a064d603202b9ee21e07679d854e5c1750cc4; from 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 before 31f26a95eeee926946809ac456c61a3217936a62; from 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 before e71f8e9ed6f311410b14741f6012afe01869c0fa; from 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 before 6d3724e616faf952c3adcf8414fc21a828ef3709; 4.14 (not affected: before 4.14; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.184 up to 6.1.*; from 6.6.153 up to 6.6.*; from 6.12.105 up to 6.12.*; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/43e1a952d534fc0e173b513a24b19ce99bb60974>
- <https://git.kernel.org/stable/c/07f57c7c47459e9bc75186b3af0fc2bc5be72f89>
- <https://git.kernel.org/stable/c/ec5f3005586a785689fd568361b0c5925cb1548b>
- <https://git.kernel.org/stable/c/19d114b93c94bdef70496f26685c2a6b242f41b3>
- <https://git.kernel.org/stable/c/594a064d603202b9ee21e07679d854e5c1750cc4>
- <https://git.kernel.org/stable/c/31f26a95eeee926946809ac456c61a3217936a62>
- <https://git.kernel.org/stable/c/e71f8e9ed6f311410b14741f6012afe01869c0fa>
- <https://git.kernel.org/stable/c/6d3724e616faf952c3adcf8414fc21a828ef3709>

## Sources

- CVE List: [CVE-2026-74739](https://www.cve.org/CVERecord?id=CVE-2026-74739), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-74739](https://nvd.nist.gov/vuln/detail/CVE-2026-74739), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-74739 · Whole record: https://cve.day/CVE-2026-74739.json · Rebuilt by cve.day 2026-11-25T22:59:35.375Z
