net_sched: ets: fix a race in ets_qdisc_change() (Linux Linux)

CVE-2025-38107
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: net_sched: ets: fix a race in ets_qdisc_change() Gerrard Tai reported a race condition in ETS, whenever SFQ perturb timer fires at the wrong time. The race is as follows: CPU 0 CPU 1 [1]: lock root [2]: qdisc_tree_flush_backlog() [3]: unlock root | | [5]: lock root | [6]: rehash | [7]: qdisc_tree_reduce_backlog() | [4]: qdisc_put() This can be abused to underflow a parent's qlen. Calling qdisc_purge_queue() instead of qdisc_tree_flush_backlog() should fix the race, because all packets will be purged from the qdisc before releasing the lock.

Faiblesses (CWE)

  • CWE-362 — Situation de compétition

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.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/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 699d82e9a6db29d509a71f1f2f4316231e6232e6 < eb7b74e9754e1ba2088f914ad1f57a778b11894b ; affected ce881ddbdc028fb1988b66e40e45ca0529c23b46 < 0b479d0aa488cb478eb2e1d8868be946ac8afb4f ; affected b05972f01e7d30419987a1f221b5593668fd6448 < 347867cb424edae5fec1622712c8dd0a2c42918f ; affected b05972f01e7d30419987a1f221b5593668fd6448 < 0383b25488a545be168744336847549d4a2d3d6c ; affected b05972f01e7d30419987a1f221b5593668fd6448 < 073f64c03516bcfaf790f8edc772e0cfb8a84ec3 ; affected b05972f01e7d30419987a1f221b5593668fd6448 < fed94bd51d62d2e0e006aa61480e94e5cd0582b0
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 5.10.239 ≤ 5.10.* ; unaffected 5.15.186 ≤ 5.15.* ; unaffected 6.1.142 ≤ 6.1.* ; unaffected 6.6.94 ≤ 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