CVE-2025-37992

net_sched: Flush gso_skb list too during ->change()

MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 12 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: net_sched: Flush gso_skb list too during ->change() Previously, when reducing a qdisc's limit via the ->change() operation, only the main skb queue was trimmed, potentially leaving packets in the gso_skb list. This could result in NULL pointer dereference when we only check sch->limit against sch->q.qlen. This patch introduces a new helper, qdisc_dequeue_internal(), which ensures both the gso_skb list and the main queue are properly flushed when trimming excess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie) are updated to use this helper in their ->change() routines.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
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 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 < ea1132ccb112f51ba749c56a912f67970c2cd542 ; affected 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 < d3336f746f196c6a53e0480923ae93939f047b6c ; affected 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 < d38939ebe0d992d581acb6885c1723fa83c1fb2c ; affected 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 < a7d6e0ac0a8861f6b1027488062251a8e28150fd ; affected 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 < d1365ca80b012d8a7863e45949e413fb61fa4861 ; affected 76e3cc126bb223013a6b9a0e2a51238d1ef2e409 < fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76
Linux · Linuxaffected 3.5 ; unaffected 0 < 3.5 ; unaffected 5.10.238 ≤ 5.10.* ; unaffected 5.15.184 ≤ 5.15.* ; unaffected 6.1.140 ≤ 6.1.* ; unaffected 6.6.92 ≤ 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