net/sched: fix packet loop on netem when duplicate is on
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.
CVE-2026-63983
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-63983
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "0afb51e72855971dba83b3c6b70c547c2d1161fd",
"lessThan": "1a298a514ce766c6d0c232991a390fec67af81ad",
"versionType": "git"
},
{
"status": "affected",
"version": "0afb51e72855971dba83b3c6b70c547c2d1161fd",
"lessThan": "4ec3a8ca97394f17e73a4d8d4c79c1c78b322772",
"versionType": "git"
},
{
"status": "affected",
"version": "0afb51e72855971dba83b3c6b70c547c2d1161fd",
"lessThan": "cfb2616042767ab31260d4f39190c381bec8b12e",
"versionType": "git"
},
{
"status": "affected",
"version": "0afb51e72855971dba83b3c6b70c547c2d1161fd",
"lessThan": "9552b11e3edabc97cfcd9f29103d5afbce7ae183",
"versionType": "git"
}
],
"programFiles": [
"net/sched/sch_netem.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.93",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.12",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/sched/sch_netem.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-63983
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #28616 · Revision 1
- Added to Heist Feed
- Publisher date