GHSA-QFM3-CG56-68JJ

Vulnerability from github – Published: 2026-12-03 12:31 – Updated: 2026-12-03 12:31
VLAI
Details

In the Linux kernel, the following vulnerability has been resolved:

net/sched: sch_teql: reject qdiscs from another network namespace

Reported by shaos shawnq1@163.com 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.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-143131"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-12-03T10:17:46Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_teql: reject qdiscs from another network namespace\n\nReported by shaos \u003cshawnq1@163.com\u003e with a reproducer, which was\nreproduced and verified in our test environment.\n\nThe issue:\nThe teql master devices are created once in the initial network\nnamespace and their Qdisc_ops are global. teql_qdisc_init() takes the\nteql_master embedded in the registered sch-\u003eops and uses it without\nchecking whether the new qdisc\u0027s device lives in the same network\nnamespace as the master. A qdisc created in another netns can therefore\nattach to the init-net master and change its MTU and flags.\n\nThe Fix:\nReject a teql qdisc whose device is not in the master\u0027s network\nnamespace with -EOPNOTSUPP and an extack message; same-netns teql still\nworks.\n\nInitialize the private skb queue before any validation so every\nconstructor failure path, including qdisc_create_dflt(), which resets the\nqdisc before destroying it, sees an initialized empty queue.\n\nConditions to recreate the bug:\nCONFIG_NET_SCH_TEQL=y, CONFIG_DUMMY=y, CONFIG_USER_NS=y, CONFIG_NET_NS=y.\nAs an unprivileged UID, unshare a user and network namespace, create a\ndummy device, set its MTU to 60000, and add a root teql0 qdisc:\n\n  unshare -Urn\n  ip link add dummy0 type dummy\n  ip link set dummy0 mtu 60000\n  tc qdisc add dev dummy0 root teql0\n\nThe init-net teql0 device changes from MTU 1500 to 60000. A pfifo control\non the same device leaves the MTU unchanged, and a direct MTU change on\ninit-net teql0 is denied. The namespace needs CAP_NET_ADMIN; no init-net\nprivilege is required. With the fix the attach fails with\n\"Operation not supported\" and the init-net MTU stays 1500.",
  "id": "GHSA-qfm3-cg56-68jj",
  "modified": "2026-12-03T12:31:06Z",
  "published": "2026-12-03T12:31:06Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143131"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1ae84bdd736f8fab30180159996e1d193f8029ff"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7e012cb327f654ab606e8db0c83bf5d3d4943d35"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b80aeac7d677ac1fad61a228dd1775b8888fc13a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bcbfa113dcb769888b66ae20417307b93a97bbf9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c60b4e6002f08456a975e2c7c32bf2d6f484da56"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fda4263f036ec4c4672e17d407a3070d95481dad"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.