CVE-2026-53079: net_sched: fix skb memory leak in deferred qdisc drops
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net_sched: fix skb memory leak in deferred qdisc drops
When the network stack cleans up the deferred list via qdisc_run_end(), it operates on the root qdisc. If the root qdisc do not implement the TCQ_F_DEQUEUE_DROPS flag the packets queue to free are never freed and gets stranded on the child's local to_free list.
Fix this by making qdisc_dequeue_drop() aware of the root qdisc. It fetches the root qdisc and check for the TCQ_F_DEQUEUE_DROPS flag. If the flag is present, the packet is appended directly to the root's to_free list. Otherwise, drop it directly as it was done before the optimization was implemented.
The Linux kernel CVE team has assigned CVE-2026-53079 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.19 with commit a6efc273ab8245722eee2150fa12cf75781dc410 and fixed in 7.0.10 with commit bf26ad92ffda7884825d67b46bd5efe615c3babf Issue introduced in 6.19 with commit a6efc273ab8245722eee2150fa12cf75781dc410 and fixed in 7.1 with commit a6bd339dbb3514bce690fdcf252e788dfab4ee76
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53079
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
include/net/sch_generic.h
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/bf26ad92ffda7884825d67b46bd5efe615c3babf https://git.kernel.org/stable/c/a6bd339dbb3514bce690fdcf252e788dfab4ee76