# CVE-2026-99282: net/sched: sch_teql: fix use-after-free on lower qdisc drop

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-02)
- Published: 2026-11-07T14:08:47.978Z
- Modified: 2026-11-23T08:17:32.757Z
- Assigned by: Linux

## Description

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

net/sched: sch_teql: fix use-after-free on lower qdisc drop

The issue: teql_master_xmit() tests the slave's ndo_start_xmit() return
value against NETDEV_TX_OK alone. A slave that consumes the skb but
returns an error code (rc < NET_XMIT_MASK, e.g. NET_XMIT_DROP) is treated
as if the skb were still owned, so the loop restores skb->dev and calls
__skb_pull() on it. A VLAN slave returns the result of dev_queue_xmit()
from its ndo_start_xmit() (propagated since cbbef5e18307), and when the
lower qdisc drops the packet that value is NET_XMIT_DROP after the skb
has been freed, giving a use-after-free in teql_master_xmit().

The Fix: test for consumption with dev_xmit_complete(), which accepts
NETDEV_TX_OK and every rc < NET_XMIT_MASK, matching other callers that
need to distinguish consumed results from busy. Only NETDEV_TX_OK keeps
the packet counted in tx_packets/tx_bytes and advances the slave; a
consumed result that is neither a success nor NET_XMIT_CN ends the
attempt and is charged to tx_dropped, so lower-qdisc drops are no longer
reported as good transmits. NET_XMIT_CN is counted like success because
it can accompany acceptance of the current packet: pfifo_head_drop drops
the old head, enqueues the current skb and returns NET_XMIT_CN.

Conditions to recreate the bug:
With CONFIG_NET_SCH_TEQL,
CONFIG_VLAN_8021Q and CONFIG_DUMMY enabled, add lkrdummy0 (dummy) and
lkrvlan0 (VLAN id 37 on lkrdummy0); set a pfifo limit 0 root on lkrdummy0
and a teql0 root on lkrvlan0; bring teql0 up with an address and send one
UDP packet to it. The VLAN xmit returns NET_XMIT_DROP from the lower
qdisc while holding a freed skb.

(As written by CVE List.)

## Affected

- Linux Linux: from 572a9d7b6fc7f20f573664063324c086be310c42 before b847e54010c49aa0ba458296ea13b3ef0e9f0b9d; from 572a9d7b6fc7f20f573664063324c086be310c42 before 5ca419582e7681060c6e3ae10849e6524b1d9768; from 572a9d7b6fc7f20f573664063324c086be310c42 before 77abedc14f38755ef5dcfaf660807043ab99d058; from 572a9d7b6fc7f20f573664063324c086be310c42 before b8e2df3e238be6b47394d03d4b05af6b15846682; from 572a9d7b6fc7f20f573664063324c086be310c42 before 8d5f768780e26cb82c389219ae7fdb1cd7255421; from 572a9d7b6fc7f20f573664063324c086be310c42 before fc55d92ae6a4b2e7d062cad6d4c67f6b061d9cde; from 572a9d7b6fc7f20f573664063324c086be310c42 before 2702ae318630787c640ec0d0403ffd9d95c43e9e; from 572a9d7b6fc7f20f573664063324c086be310c42 before 782d6bb8f9b8e9d8591181662222bf74cd3ecf79; 2.6.33 (not affected: before 2.6.33; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/b847e54010c49aa0ba458296ea13b3ef0e9f0b9d>
- <https://git.kernel.org/stable/c/5ca419582e7681060c6e3ae10849e6524b1d9768>
- <https://git.kernel.org/stable/c/77abedc14f38755ef5dcfaf660807043ab99d058>
- <https://git.kernel.org/stable/c/b8e2df3e238be6b47394d03d4b05af6b15846682>
- <https://git.kernel.org/stable/c/8d5f768780e26cb82c389219ae7fdb1cd7255421>
- <https://git.kernel.org/stable/c/fc55d92ae6a4b2e7d062cad6d4c67f6b061d9cde>
- <https://git.kernel.org/stable/c/2702ae318630787c640ec0d0403ffd9d95c43e9e>
- <https://git.kernel.org/stable/c/782d6bb8f9b8e9d8591181662222bf74cd3ecf79>

## Sources

- CVE List: [CVE-2026-99282](https://www.cve.org/CVERecord?id=CVE-2026-99282), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99282](https://nvd.nist.gov/vuln/detail/CVE-2026-99282), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99282 · Whole record: https://cve.day/CVE-2026-99282.json · Rebuilt by cve.day 2026-11-25T22:59:49.453Z
