net_sched: prio: fix a race in prio_tune() (Linux Linux)

CVE-2025-38083
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 5 ()
É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: prio: fix a race in prio_tune() Gerrard Tai reported a race condition in PRIO, 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.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/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 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 < 53d11560e957d53ee87a0653d258038ce12361b7 ; affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 < 4483d8b9127591c60c4eb789d6cab953bc4522a9 ; affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 < 20f68e6a9e41693cb0e55e5b9ebbcb40983a4b8f ; affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 < 3aaa7c01cf19d9b9bb64b88b65c3a6fd05da2eb4 ; affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 < 46c15c9d0f65c9ba857d63f53264f4b17e8a715f ; affected 7b8e0b6e659983154c8d7e756cdb833d89a3d4d7 < e3f6745006dc9423d2b065b90f191cfa11b1b584
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.4.295 ≤ 5.4.* ; unaffected 5.10.239 ≤ 5.10.* ; unaffected 5.15.186 ≤ 5.15.* ; unaffected 6.1.142 ≤ 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