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.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s network emulator, netem, incorrectly re‑enqueues duplicated packets at the root queuing discipline. When a duplicate is performed, the copy can be re‑duplicated by additional netem instances in the queuing tree, leading to uncontrolled recursion until the kernel stack or memory is exhausted. The flaw originates from a guard that is per‑qdisc and shared across concurrent enqueue paths, which is unsafe without additional synchronization. The mitigation uses the skb tc_depth field to prevent duplication for packets that have already been duplicated, ensuring that the packet itself carries the duplication flag rather than modifying shared queuing discipline state. This vulnerability can cause a resource depletion condition that potentially crashes the networking stack or the entire system.

Affected Systems

The issue affects all Linux kernel implementations that include the netem component, regardless of distribution. No specific kernel release is singled out, but the defect exists in the current netem implementation and was corrected in a recent patch.

Risk and Exploitability

The EPSS score is less than 1% and the vulnerability is not listed in CISA’s KEV catalog, indicating a low probability of exploitation in the wild. The CVSS score of 5.5 classifies it as medium severity. An attacker could trigger the loop by forcing traffic through a netem duplicate qdisc, consuming kernel resources. The attack surface is limited to systems where netem is actively configured, and the vulnerability requires kernel-level access to the queuing discipline state.

Generated by OpenCVE AI on August 4, 2026 at 06:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the netem packet‑loop fix or apply the patch from the latest kernel source repository directly.
  • Reboot the system so that the updated kernel and corrected qdisc logic are loaded in active use.
  • If a kernel upgrade cannot be performed immediately, temporarily remove or disable the netem duplicate qdisc on affected network interfaces until the patch is applied.

Generated by OpenCVE AI on August 4, 2026 at 06:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Sat, 01 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Wed, 22 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-835
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Tue, 21 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title net/sched: fix packet loop on netem when duplicate is on
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T14:56:06.047Z

Reserved: 2026-07-19T07:54:57.025Z

Link: CVE-2026-63983

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63983 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T06:30:05Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')