net/sched: sch_teql: reject qdiscs from another network namespace
Summary
| CVE | CVE-2026-143131 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 10:17:46 UTC |
| Updated | 2026-12-06 01:17:48 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_teql: reject qdiscs from another network namespace Reported by shaos <[email protected]> with a reproducer, which was reproduced and verified in our test environment. The issue: The teql master devices are created once in the initial network namespace and their Qdisc_ops are global. teql_qdisc_init() takes the teql_master embedded in the registered sch->ops and uses it without checking whether the new qdisc's device lives in the same network namespace as the master. A qdisc created in another netns can therefore attach to the init-net master and change its MTU and flags. The Fix: Reject a teql qdisc whose device is not in the master's network namespace with -EOPNOTSUPP and an extack message; same-netns teql still works. Initialize the private skb queue before any validation so every constructor failure path, including qdisc_create_dflt(), which resets the qdisc before destroying it, sees an initialized empty queue. Conditions to recreate the bug: CONFIG_NET_SCH_TEQL=y, CONFIG_DUMMY=y, CONFIG_USER_NS=y, CONFIG_NET_NS=y. As an unprivileged UID, unshare a user and network namespace, create a dummy device, set its MTU to 60000, and add a root teql0 qdisc: unshare -Urn ip link add dummy0 type dummy ip link set dummy0 mtu 60000 tc qdisc add dev dummy0 root teql0 The init-net teql0 device changes from MTU 1500 to 60000. A pfifo control on the same device leaves the MTU unchanged, and a direct MTU change on init-net teql0 is denied. The namespace needs CAP_NET_ADMIN; no init-net privilege is required. With the fix the attach fails with "Operation not supported" and the init-net MTU stays 1500. |
Risk And Classification
EPSS: 0.002150000 probability, percentile 0.126060000 (date 2026-12-03)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 7316ae88c43d47f6503f4c29b4973204e33c3411 b80aeac7d677ac1fad61a228dd1775b8888fc13a git | Not specified |
| CNA | Linux | Linux | affected 7316ae88c43d47f6503f4c29b4973204e33c3411 bcbfa113dcb769888b66ae20417307b93a97bbf9 git | Not specified |
| CNA | Linux | Linux | affected 7316ae88c43d47f6503f4c29b4973204e33c3411 fa03fec535f8634d11b480207e7aa7ef77212e77 git | Not specified |
| CNA | Linux | Linux | affected 7316ae88c43d47f6503f4c29b4973204e33c3411 ca46887135ae9d551500f079eb430185a6c0e6b9 git | Not specified |
| CNA | Linux | Linux | affected 7316ae88c43d47f6503f4c29b4973204e33c3411 7e012cb327f654ab606e8db0c83bf5d3d4943d35 git | Not specified |
| CNA | Linux | Linux | affected 7316ae88c43d47f6503f4c29b4973204e33c3411 c60b4e6002f08456a975e2c7c32bf2d6f484da56 git | Not specified |
| CNA | Linux | Linux | affected 7316ae88c43d47f6503f4c29b4973204e33c3411 fda4263f036ec4c4672e17d407a3070d95481dad git | Not specified |
| CNA | Linux | Linux | affected 7316ae88c43d47f6503f4c29b4973204e33c3411 1ae84bdd736f8fab30180159996e1d193f8029ff git | Not specified |
| CNA | Linux | Linux | affected 2.6.35 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.35 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.276 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.227 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.194 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.164 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.120 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.66 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3.7 7.3.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.4-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/7e012cb327f654ab606e8db0c83bf5d3d4943d35 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/1ae84bdd736f8fab30180159996e1d193f8029ff | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/bcbfa113dcb769888b66ae20417307b93a97bbf9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/fa03fec535f8634d11b480207e7aa7ef77212e77 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ca46887135ae9d551500f079eb430185a6c0e6b9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b80aeac7d677ac1fad61a228dd1775b8888fc13a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c60b4e6002f08456a975e2c7c32bf2d6f484da56 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/fda4263f036ec4c4672e17d407a3070d95481dad | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.