ACK: [SRU][O/N/J/F][PATCH 0/1] CVE-2025-21971
Kuba Pawlak
kuba.pawlak at canonical.com
Sun Apr 6 08:59:43 UTC 2025
On 4.04.2025 20:40, Tim Whisonant wrote:
> SRU Justification:
>
> [Impact]
>
> net_sched: Prevent creation of classes with TC_H_ROOT
>
> The function qdisc_tree_reduce_backlog() uses TC_H_ROOT as a termination
> condition when traversing up the qdisc tree to update parent backlog
> counters. However, if a class is created with classid TC_H_ROOT, the
> traversal terminates prematurely at this class instead of reaching the
> actual root qdisc, causing parent statistics to be incorrectly maintained.
> In case of DRR, this could lead to a crash as reported by Mingi Cho.
>
> Prevent the creation of any Qdisc class with classid TC_H_ROOT
> (0xFFFFFFFF) across all qdisc types, as suggested by Jamal.
>
> [Fix]
>
> Oracular: cherry picked from upstream
> Noble: cherry picked from upstream
> Jammy: cherry picked from upstream
> Focal: cherry picked from upstream
> Bionic: patch sent to ESM ML
> Xenial: patch sent to ESM ML
> Trusty: out of scope (medium CVE)
>
> [Test Plan]
>
> Compile and boot tested.
>
> [Where problems could occur]
>
> The change affects the core network scheduling code in the traffic
> class creation logic. Errors may concern failure to create certain
> types of queueing discipline objects (Qdisc).
>
> Cong Wang (1):
> net_sched: Prevent creation of classes with TC_H_ROOT
>
> net/sched/sch_api.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
Acked-by: Kuba Pawlak <kuba.pawlak at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x216A9D7E3B63DCB4.asc
Type: application/pgp-keys
Size: 3139 bytes
Desc: OpenPGP public key
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250406/4f5ccd63/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250406/4f5ccd63/attachment.sig>
More information about the kernel-team
mailing list