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

CVE-2026-74739
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 < 43e1a952d534fc0e173b513a24b19ce99bb60974 ; affected 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 < 07f57c7c47459e9bc75186b3af0fc2bc5be72f89 ; affected 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 < ec5f3005586a785689fd568361b0c5925cb1548b ; affected 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 < 19d114b93c94bdef70496f26685c2a6b242f41b3 ; affected 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 < 594a064d603202b9ee21e07679d854e5c1750cc4 ; affected 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 < 31f26a95eeee926946809ac456c61a3217936a62
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.184 ≤ 6.1.* ; unaffected 6.6.153 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD