# CVE-2026-63983: net/sched: fix packet loop on netem when duplicate is on

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T14:56:06.047Z
- Modified: 2026-11-12T17:40:12.627Z
- Assigned by: Linux

## Description

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

net/sched: fix packet loop on netem when duplicate is on

When netem duplicates a packet it re-enqueues the copy at the root qdisc.
If another netem sits in the tree the copy can be duplicated
again, recursing until the stack or memory is exhausted.

The original duplication guard temporarily zeroed q->duplicate around
the re-enqueue, but that does not cover all cases because it is
per-qdisc state shared across all concurrent enqueue paths
and is not safe without additional locking.

Use the skb tc_depth field introduced in an earlier patch:
 - increment it on the duplicate before re-enqueue
 - skip duplication for any skb whose tc_depth is already non-zero.

This marks the packet itself rather than mutating qdisc state,
therefore it is safe regardless of tree topology or concurrency.

(As written by CVE List.)

## Affected

- Linux Linux: from 0afb51e72855971dba83b3c6b70c547c2d1161fd before 1a298a514ce766c6d0c232991a390fec67af81ad; from 0afb51e72855971dba83b3c6b70c547c2d1161fd before 4ec3a8ca97394f17e73a4d8d4c79c1c78b322772; from 0afb51e72855971dba83b3c6b70c547c2d1161fd before cfb2616042767ab31260d4f39190c381bec8b12e; from 0afb51e72855971dba83b3c6b70c547c2d1161fd before 9552b11e3edabc97cfcd9f29103d5afbce7ae183; 2.6.12 (not affected: before 2.6.12; from 6.12.93 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 2.6.12.1 before 6.12.93; from 6.13 before 6.18.57; from 6.19 before 7.0.12; 2.6.12; 7.1

## References

- <https://git.kernel.org/stable/c/1a298a514ce766c6d0c232991a390fec67af81ad> (patch)
- <https://git.kernel.org/stable/c/4ec3a8ca97394f17e73a4d8d4c79c1c78b322772> (patch)
- <https://git.kernel.org/stable/c/cfb2616042767ab31260d4f39190c381bec8b12e> (patch)
- <https://git.kernel.org/stable/c/9552b11e3edabc97cfcd9f29103d5afbce7ae183> (patch)

## Sources

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

---

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