Aller au contenu
7.8 Élevée

CVE-2026-23074 In the Linux kernel, the following vulnerability has been resolved: net/sched: Enforce that teql can only be used as…

Description

In the Linux kernel, the following vulnerability has been resolved: net/sched: Enforce that teql can only be used as root qdisc Design intent of teql is that it is only supposed to be used as root qdisc. We need to check for that constraint. Although not important, I will describe the scenario that unearthed this issue for the curious. GangMin Kim <km.kim1503@gmail.com> managed to concot a scenario as follows: ROOT qdisc 1:0 (QFQ) ├── class 1:1 (weight=15, lmax=16384) netem with delay 6.4s └── class 1:2 (weight=1, lmax=1514) teql GangMin sends a packet which is enqueued to 1:1 (netem). Any invocation of dequeue by QFQ from this class will not return a packet until after 6.4s. In the meantime, a second packet is sent and it lands on 1:2. teql's enqueue will return success and this will activate class 1:2. Main issue is that teql only updates the parent visible qlen (sch->q.qlen) at dequeue. Since QFQ will only call dequeue if peek succeeds (and teql's peek always returns NULL), dequeue will never be called and thus the qlen will remain as 0. With that in mind, when GangMin updates 1:2's lmax value, the qfq_change_class calls qfq_deact_rm_from_agg. Since the child qdisc's qlen was not incremented, qfq fails to deactivate the class, but still frees its pointers from the aggregate. So when the first packet is rescheduled after 6.4 seconds (netem's delay), a dangling pointer is accessed causing GangMin's causing a UAF.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.19 premières → < 6.19 6.19
Linux 6.18 premières → < 6.18.8 6.18.8
Linux 6.12 premières → < 6.12.68 6.12.68
Linux 6.6 premières → < 6.6.122 6.6.122
Linux 6.1 premières → < 6.1.162 6.1.162
Linux 5.15 premières → < 5.15.199 5.15.199
Linux 5.10 premières → < 5.10.249 5.10.249
Linux 2.6.12 Pas de correctif indiqué
Red Hat Enterprise Linux Server -EXTENSION(v. 6 ELS-EXTENSION) Versions non publiées
Afficher les 29 autres branches
Produit Versions touchées Corrigé en
Red Hat Enterprise Linux Server Optional -EXTENSION (v. 6 ELS -EXTENSION) Versions non publiées
Red Hat Enterprise Linux Server (v. 7 ELS) Versions non publiées
Red Hat Enterprise Linux for Real Time (v. 7 ELS) Versions non publiées
Red Hat Enterprise Linux Server Optional (v. 7 ELS) Versions non publiées
Red Hat Enterprise Linux BaseOS (v. 8) Versions non publiées
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) Versions non publiées
Red Hat Enterprise Linux BaseOS AUS (v.8.4) Versions non publiées
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) Versions non publiées
Red Hat Enterprise Linux BaseOS AUS (v.8.6) Versions non publiées
Red Hat Enterprise Linux BaseOS E4S (v.8.6) Versions non publiées
Red Hat Enterprise Linux BaseOS TUS (v.8.6) Versions non publiées
Red Hat Enterprise Linux BaseOS E4S (v.8.8) Versions non publiées
Red Hat Enterprise Linux BaseOS TUS (v.8.8) Versions non publiées
Red Hat Enterprise Linux CRB (v. 8) Versions non publiées
Red Hat Enterprise Linux NFV (v. 8) Versions non publiées
Red Hat Enterprise Linux RT (v. 8) Versions non publiées
Red Hat Enterprise Linux 10 Versions non publiées
Red Hat Enterprise Linux 9 Versions non publiées
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION Versions non publiées
Red Hat Enterprise Linux 7 Extended Lifecycle Support Versions non publiées
Red Hat Enterprise Linux 8 Versions non publiées
Red Hat Enterprise Linux 8.2 Advanced Update Support Versions non publiées
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support Versions non publiées
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On Versions non publiées
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support Versions non publiées
Red Hat Enterprise Linux 8.6 Telecommunications Update Service Versions non publiées
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions Versions non publiées
Red Hat Enterprise Linux 8.8 Telecommunications Update Service Versions non publiées
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions Versions non publiées

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE