CVE-2026-74739

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

State
Published
Severity
7.8 High
Published
Aug 26, 2026
Updated
Oct 30, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 to before 43e1a952d534fc0e173b513a24b19ce99bb60974Affected
  • 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 to before 07f57c7c47459e9bc75186b3af0fc2bc5be72f89Affected
  • 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 to before ec5f3005586a785689fd568361b0c5925cb1548bAffected
  • 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 to before 19d114b93c94bdef70496f26685c2a6b242f41b3Affected
  • 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 to before 594a064d603202b9ee21e07679d854e5c1750cc4Affected
  • 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 to before 31f26a95eeee926946809ac456c61a3217936a62Affected
  • 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 to before e71f8e9ed6f311410b14741f6012afe01869c0faAffected
  • 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 to before 6d3724e616faf952c3adcf8414fc21a828ef3709Affected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.184 through 6.1.*Not affected
  • 6.6.153 through 6.6.*Not affected
  • 6.12.105 through 6.12.*Not affected
  • 6.18.46 through 6.18.*Not affected
  • 7.1.10 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.