net/sched: fq: add overflow bounds to quantum and initial quantum (Linux Linux)

CVE-2026-90076
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: fq: add overflow bounds to quantum and initial quantum fq_init() computes quantum = 2 * psched_mtu() and initial_quantum = 10 * psched_mtu() with no overflow check. A device with a huge MTU (e.g. dummy with max_mtu == 0 accepting MTU 2147483634) makes psched_mtu() return 0x80000000; the 2 * and 10 * multiplications wrap to 0 in 32-bit arithmetic, so q->quantum == 0. Then in fq_dequeue() the credit-refill loop adds 0 to f->credit (which stays <= 0) and goto begin loops forever under the qdisc lock, creating a soft lockup. Clamp psched_mtu() to [1, 1 << 20] before multiplying so the product cannot wrap, then cap the result at 1 << 20, matching the bound already enforced on TCA_FQ_QUANTUM in fq_change(). Conditions to recreate the bug: a device whose MTU (plus hard_header_len) is large enough that 2 * psched_mtu() wraps (e.g. a dummy device with max_mtu == 0 accepting MTU 2147483634). Requires CAP_NET_ADMIN in a user namespace.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ afe4fd062416b158a8a8538b23adc1930a9b88dc < cf398f67d9caa71af3b9fb9319058b22fe6b524e
affectée : ≥ afe4fd062416b158a8a8538b23adc1930a9b88dc < fd63409b669f9951f1cc6b02486a5254103800d1
affectée : ≥ afe4fd062416b158a8a8538b23adc1930a9b88dc < d16dac3925be95ad46e986d4b139c9898b6e227f
affectée : ≥ afe4fd062416b158a8a8538b23adc1930a9b88dc < f6b3e3848a5fca63438984acd6d9eceac80814c1
affectée : ≥ afe4fd062416b158a8a8538b23adc1930a9b88dc < e35acd56f244d94355f9ab237c2ecc8fba5e6f04
affectée : ≥ afe4fd062416b158a8a8538b23adc1930a9b88dc < 709f34f7c28dc4dd6c40343d101850f11e172312
Autres versions : non affectée
Linux · Linux
affectée : 3.12
non affectée : ≥ 0 < 3.12
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.110 ≤ 6.12.*
non affectée : ≥ 6.18.52 ≤ 6.18.*
non affectée : ≥ 7.2.6 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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