{"api_version":"1","generated_at":"2026-12-06T22:56:01+00:00","cve":"CVE-2026-143131","urls":{"html":"https://cve.report/CVE-2026-143131","api":"https://cve.report/api/cve/CVE-2026-143131.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143131","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143131"},"summary":{"title":"net/sched: sch_teql: reject qdiscs from another network namespace","description":"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 <shawnq1@163.com> 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->ops and uses it without\nchecking whether the new qdisc's 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's 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:46","updated_at":"2026-12-06 01:17:48"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7e012cb327f654ab606e8db0c83bf5d3d4943d35","name":"https://git.kernel.org/stable/c/7e012cb327f654ab606e8db0c83bf5d3d4943d35","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1ae84bdd736f8fab30180159996e1d193f8029ff","name":"https://git.kernel.org/stable/c/1ae84bdd736f8fab30180159996e1d193f8029ff","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bcbfa113dcb769888b66ae20417307b93a97bbf9","name":"https://git.kernel.org/stable/c/bcbfa113dcb769888b66ae20417307b93a97bbf9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fa03fec535f8634d11b480207e7aa7ef77212e77","name":"https://git.kernel.org/stable/c/fa03fec535f8634d11b480207e7aa7ef77212e77","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ca46887135ae9d551500f079eb430185a6c0e6b9","name":"https://git.kernel.org/stable/c/ca46887135ae9d551500f079eb430185a6c0e6b9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b80aeac7d677ac1fad61a228dd1775b8888fc13a","name":"https://git.kernel.org/stable/c/b80aeac7d677ac1fad61a228dd1775b8888fc13a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c60b4e6002f08456a975e2c7c32bf2d6f484da56","name":"https://git.kernel.org/stable/c/c60b4e6002f08456a975e2c7c32bf2d6f484da56","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fda4263f036ec4c4672e17d407a3070d95481dad","name":"https://git.kernel.org/stable/c/fda4263f036ec4c4672e17d407a3070d95481dad","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143131","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143131","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7316ae88c43d47f6503f4c29b4973204e33c3411 b80aeac7d677ac1fad61a228dd1775b8888fc13a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7316ae88c43d47f6503f4c29b4973204e33c3411 bcbfa113dcb769888b66ae20417307b93a97bbf9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7316ae88c43d47f6503f4c29b4973204e33c3411 fa03fec535f8634d11b480207e7aa7ef77212e77 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7316ae88c43d47f6503f4c29b4973204e33c3411 ca46887135ae9d551500f079eb430185a6c0e6b9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7316ae88c43d47f6503f4c29b4973204e33c3411 7e012cb327f654ab606e8db0c83bf5d3d4943d35 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7316ae88c43d47f6503f4c29b4973204e33c3411 c60b4e6002f08456a975e2c7c32bf2d6f484da56 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7316ae88c43d47f6503f4c29b4973204e33c3411 fda4263f036ec4c4672e17d407a3070d95481dad git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7316ae88c43d47f6503f4c29b4973204e33c3411 1ae84bdd736f8fab30180159996e1d193f8029ff git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.35","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.35 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.194 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.164 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143131","cve":"CVE-2026-143131","epss":"0.002150000","percentile":"0.126060000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/sched/sch_teql.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"b80aeac7d677ac1fad61a228dd1775b8888fc13a","status":"affected","version":"7316ae88c43d47f6503f4c29b4973204e33c3411","versionType":"git"},{"lessThan":"bcbfa113dcb769888b66ae20417307b93a97bbf9","status":"affected","version":"7316ae88c43d47f6503f4c29b4973204e33c3411","versionType":"git"},{"lessThan":"fa03fec535f8634d11b480207e7aa7ef77212e77","status":"affected","version":"7316ae88c43d47f6503f4c29b4973204e33c3411","versionType":"git"},{"lessThan":"ca46887135ae9d551500f079eb430185a6c0e6b9","status":"affected","version":"7316ae88c43d47f6503f4c29b4973204e33c3411","versionType":"git"},{"lessThan":"7e012cb327f654ab606e8db0c83bf5d3d4943d35","status":"affected","version":"7316ae88c43d47f6503f4c29b4973204e33c3411","versionType":"git"},{"lessThan":"c60b4e6002f08456a975e2c7c32bf2d6f484da56","status":"affected","version":"7316ae88c43d47f6503f4c29b4973204e33c3411","versionType":"git"},{"lessThan":"fda4263f036ec4c4672e17d407a3070d95481dad","status":"affected","version":"7316ae88c43d47f6503f4c29b4973204e33c3411","versionType":"git"},{"lessThan":"1ae84bdd736f8fab30180159996e1d193f8029ff","status":"affected","version":"7316ae88c43d47f6503f4c29b4973204e33c3411","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/sched/sch_teql.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.35"},{"lessThan":"2.6.35","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.194","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.164","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.194","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.164","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"2.6.35","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"2.6.35","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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 <shawnq1@163.com> 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->ops and uses it without\nchecking whether the new qdisc's 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's 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."}],"providerMetadata":{"dateUpdated":"2026-12-06T00:37:22.490Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/b80aeac7d677ac1fad61a228dd1775b8888fc13a"},{"url":"https://git.kernel.org/stable/c/bcbfa113dcb769888b66ae20417307b93a97bbf9"},{"url":"https://git.kernel.org/stable/c/fa03fec535f8634d11b480207e7aa7ef77212e77"},{"url":"https://git.kernel.org/stable/c/ca46887135ae9d551500f079eb430185a6c0e6b9"},{"url":"https://git.kernel.org/stable/c/7e012cb327f654ab606e8db0c83bf5d3d4943d35"},{"url":"https://git.kernel.org/stable/c/c60b4e6002f08456a975e2c7c32bf2d6f484da56"},{"url":"https://git.kernel.org/stable/c/fda4263f036ec4c4672e17d407a3070d95481dad"},{"url":"https://git.kernel.org/stable/c/1ae84bdd736f8fab30180159996e1d193f8029ff"}],"title":"net/sched: sch_teql: reject qdiscs from another network namespace","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143131","datePublished":"2026-12-03T09:19:39.201Z","dateReserved":"2026-12-03T03:10:28.352Z","dateUpdated":"2026-12-06T00:37:22.490Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:46","lastModifiedDate":"2026-12-06 01:17:48","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143131","Ordinal":"1","Title":"net/sched: sch_teql: reject qdiscs from another network namespac","CVE":"CVE-2026-143131","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143131","Ordinal":"1","NoteData":"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 <shawnq1@163.com> 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->ops and uses it without\nchecking whether the new qdisc's 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's 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.","Type":"Description","Title":"net/sched: sch_teql: reject qdiscs from another network namespac"}]}}}