sch_hfsc: make hfsc_qlen_notify() idempotent (Linux Linux)

CVE-2025-38177
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: sch_hfsc: make hfsc_qlen_notify() idempotent hfsc_qlen_notify() is not idempotent either and not friendly to its callers, like fq_codel_dequeue(). Let's make it idempotent to ease qdisc_tree_reduce_backlog() callers' life: 1. update_vf() decreases cl->cl_nactive, so we can check whether it is non-zero before calling it. 2. eltree_remove() always removes RB node cl->el_node, but we can use RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.

Faiblesses (CWE)

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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 9a5fd5c2f4d4afdd5e405083ee53e0789ce76956 ; affected 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7 ; affected 959466588aa7f84ccf79ae36a1d89542eaf9aaec < a5efc95a33bd4fcb879250852828cc58c7862970 ; affected 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87 ; affected 959466588aa7f84ccf79ae36a1d89542eaf9aaec < 9030a91235ae4845ec71902c3e0cecfc9ed1f2df ; affected 959466588aa7f84ccf79ae36a1d89542eaf9aaec < d06476714d2819b550e0cc39222347e2c8941c9d
Linux · Linuxaffected 4.14 ; unaffected 0 < 4.14 ; unaffected 5.4.297 ≤ 5.4.* ; unaffected 5.10.241 ≤ 5.10.* ; unaffected 5.15.190 ≤ 5.15.* ; unaffected 6.1.138 ≤ 6.1.*

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