| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-53164: net: sched: fix ordering of qlen adjustment |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| net: sched: fix ordering of qlen adjustment |
| |
| Changes to sch->q.qlen around qdisc_tree_reduce_backlog() need to happen |
| _before_ a call to said function because otherwise it may fail to notify |
| parent qdiscs when the child is about to become empty. |
| |
| The Linux kernel CVE team has assigned CVE-2024-53164 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Fixed in 5.4.289 with commit 44782565e1e6174c94bddfa72ac7267cd09c1648 |
| Fixed in 5.10.233 with commit 5e473f462a16f1a34e49ea4289a667d2e4f35b52 |
| Fixed in 5.15.176 with commit 33db36b3c53d0fda2699ea39ba72bee4de8336e8 |
| Fixed in 6.1.122 with commit 489422e2befff88a1de52b2acebe7b333bded025 |
| Fixed in 6.6.68 with commit 97e13434b5da8e91bdf965352fad2141d13d72d3 |
| Fixed in 6.12.7 with commit e3e54ad9eff8bdaa70f897e5342e34b76109497f |
| Fixed in 6.13 with commit 5eb7de8cd58e73851cd37ff8d0666517d9926948 |
| |
| 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-2024-53164 |
| 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: |
| net/sched/sch_cake.c |
| net/sched/sch_choke.c |
| |
| |
| 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/44782565e1e6174c94bddfa72ac7267cd09c1648 |
| https://git.kernel.org/stable/c/5e473f462a16f1a34e49ea4289a667d2e4f35b52 |
| https://git.kernel.org/stable/c/33db36b3c53d0fda2699ea39ba72bee4de8336e8 |
| https://git.kernel.org/stable/c/489422e2befff88a1de52b2acebe7b333bded025 |
| https://git.kernel.org/stable/c/97e13434b5da8e91bdf965352fad2141d13d72d3 |
| https://git.kernel.org/stable/c/e3e54ad9eff8bdaa70f897e5342e34b76109497f |
| https://git.kernel.org/stable/c/5eb7de8cd58e73851cd37ff8d0666517d9926948 |