In the Linux kernel, the following vulnerability has been resolved:
net/sched: netem: account for backlog updates from child qdisc
In general, 'qlen' of any classful qdisc should keep track of the number of packets that the qdisc itself and all of its children holds. In case of netem, 'qlen' only accounts for the packets in its internal tfifo. When netem is used with a child qdisc, the child qdisc can use 'qdisc_tree_reduce_backlog' to inform its parent, netem, about created or dropped SKBs. This function updates 'qlen' and the backlog statistics of netem, but netem does not account for changes made by a child qdisc. 'qlen' then indicates the wrong number of packets in the tfifo. If a child qdisc creates new SKBs during enqueue and informs its parent about this, netem's 'qlen' value is increased. When netem dequeues the newly created SKBs from the child, the 'qlen' in netem is not updated. If 'qlen' reaches the configured sch->limit, the enqueue function stops working, even though the tfifo is not full.
Reproduce the bug: Ensure that the sender machine has GSO enabled. Configure netem as root qdisc and tbf as its child on the outgoing interface of the machine as follows: $ tc qdisc add dev <oif> root handle 1: netem delay 100ms limit 100 $ tc qdisc add dev <oif> parent 1:0 tbf rate 50Mbit burst 1542 latency 50ms
Send bulk TCP traffic out via this interface, e.g., by running an iPerf3 client on the machine. Check the qdisc statistics: $ tc -s qdisc show dev <oif>
Statistics after 10s of iPerf3 TCP test before the fix (note that netem's backlog > limit, netem stopped accepting packets): qdisc netem 1: root refcnt 2 limit 1000 delay 100ms Sent 2767766 bytes 1848 pkt (dropped 652, overlimits 0 requeues 0) backlog 4294528236b 1155p requeues 0 qdisc tbf 10: parent 1:1 rate 50Mbit burst 1537b lat 50ms Sent 2767766 bytes 1848 pkt (dropped 327, overlimits 7601 requeues 0) backlog 0b 0p requeues 0
Statistics after the fix: qdisc netem 1: root refcnt 2 limit 1000 delay 100ms Sent 37766372 bytes 24974 pkt (dropped 9, overlimits 0 requeues 0) backlog 0b 0p requeues 0 qdisc tbf 10: parent 1:1 rate 50Mbit burst 1537b lat 50ms Sent 37766372 bytes 24974 pkt (dropped 327, overlimits 96017 requeues 0) backlog 0b 0p requeues 0
tbf segments the GSO SKBs (tbf_segment) and updates the netem's 'qlen'. The interface fully stops transferring packets and "locks". In this case, the child qdisc and tfifo are empty, but 'qlen' indicates the tfifo is at its limit and no more packets are accepted.
This patch adds a counter for the entries in the tfifo. Netem's 'qlen' is only decreased when a packet is returned by its dequeue function, and not during enqueuing into the child qdisc. External updates to 'qlen' are thus accounted for and only the behavior of the backlog statistics changes. As in other qdiscs, 'qlen' then keeps track of how many packets are held in netem and all of its children. As before, sch->limit remains as the maximum number of packets in the tfifo. The same applies to netem's backlog statistics.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade kernelUpgrade kernel-debuginfo-common-aarch64Upgrade kernel-toolsUpgrade perfUpgrade perf-debuginfoUpgrade python-perf-debuginfoUpgrade kernel-tools-develUpgrade bpftool-debuginfoUpgrade kernel-debuginfoUpgrade python-perfUpgrade kernel-tools-debuginfoUpgrade kernel-develUpgrade bpftoolUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-headersUpgrade kernel-livepatch-5.15.176-118.170Upgrade kernel-livepatch-5.10.233-223.887 | Mar 14, 2025 | Jan 8, 2025 |
| Amazon_linux_2023 | — | Upgrade bpftool-debuginfoUpgrade python3-perf-debuginfoUpgrade kernel-tools-debuginfoUpgrade bpftoolUpgrade kernel-debuginfo-common-x86_64Upgrade kernel-headersUpgrade kernel-debuginfoUpgrade kernel-toolsUpgrade kernel-modules-extraUpgrade kernel-libbpfUpgrade kernel-libbpf-develUpgrade python3-perfUpgrade kernel-develUpgrade kernel-modules-extra-commonUpgrade kernel-tools-develUpgrade kernel-livepatch-6.1.124-134.200Upgrade kernelUpgrade kernel-libbpf-staticUpgrade perfUpgrade kernel-debuginfo-common-aarch64Upgrade perf-debuginfo | Mar 27, 2025 | Jan 8, 2025 |
| Debian | — | Upgrade linux-6.1Upgrade linux | Jan 13, 2025 | Jan 8, 2025 |
| Dell Powerstore Dsa2025429 | — | Upgrade Dell PowerStoreOS to the latest version | Dec 3, 2025 | Dec 2, 2025 |
| Dell Powerstore Dsa2026039 | — | Upgrade Dell PowerStoreOS to the latest version | Jan 13, 2026 | Jan 6, 2026 |
| Huawei Euleros 2_0_sp11 | — | Upgrade kernel-toolsUpgrade kernel-tools-libsUpgrade python3-perfUpgrade bpftoolUpgrade kernel-abi-stablelistsUpgrade kernel | Apr 11, 2025 | Jan 8, 2025 |
| Huawei Euleros 2_0_sp12 | — | Upgrade kernel-abi-stablelistsUpgrade bpftoolUpgrade kernel-tools-libsUpgrade kernel-toolsUpgrade kernelUpgrade python3-perf | Mar 19, 2025 | Jan 8, 2025 |
| Huawei Euleros 2_0_sp13 | — | Upgrade python3-perfUpgrade kernelUpgrade kernel-toolsUpgrade kernel-abi-stablelistsUpgrade kernel-tools-libsUpgrade bpftool | Apr 1, 2025 | Jan 8, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Jan 8, 2025 |
| Ubuntu | — | Upgrade linux-image-5.15.0-1080-awsUpgrade linux-image-generic-hwe-24.04Upgrade linux-image-awsUpgrade linux-image-lowlatency-64k-hwe-24.04Upgrade linux-image-6.11.0-1010-raspiUpgrade linux-image-oracleUpgrade linux-image-6.11.0-1011-lowlatency-64kUpgrade linux-image-aws-lts-24.04Upgrade linux-image-5.15.0-1074-raspiUpgrade linux-image-5.4.0-1129-raspiUpgrade linux-image-6.11.0-1011-gcp-64kUpgrade linux-image-6.8.0-1026-oracle-64kUpgrade linux-image-5.15.0-1074-ibmUpgrade linux-image-5.15.0-135-lowlatency-64kUpgrade linux-image-ibm-lts-20.04Upgrade linux-image-lowlatency-lts-xenialUpgrade linux-image-5.15.0-1062-gkeopUpgrade linux-image-4.15.0-2081-gcp-fipsUpgrade linux-image-aws-lts-20.04Upgrade linux-image-4.15.0-2118-aws-fipsUpgrade linux-image-4.4.0-1181-awsUpgrade linux-image-generic-hwe-18.04Upgrade linux-image-generic-lpae-hwe-20.04Upgrade linux-image-5.15.0-135-fipsUpgrade linux-image-5.15.0-135-generic-lpaeUpgrade linux-image-virtual-hwe-18.04Upgrade linux-image-6.8.0-60-lowlatencyUpgrade linux-image-6.8.0-60-genericUpgrade linux-image-lowlatency-hwe-20.04Upgrade linux-image-virtual-hwe-22.04Upgrade linux-image-5.4.0-211-genericUpgrade linux-image-oem-20.04dUpgrade linux-image-oem-20.04cUpgrade linux-image-oem-22.04bUpgrade linux-image-raspi-hwe-18.04Upgrade linux-image-5.15.0-1021-nvidia-tegra-igxUpgrade linux-image-5.15.0-1077-gkeUpgrade linux-image-6.11.0-21-generic-64kUpgrade linux-image-5.15.0-1073-intel-iot-realtimeUpgrade linux-image-5.15.0-136-generic-lpaeUpgrade linux-image-oracle-64k-lts-24.04Upgrade linux-image-6.11.0-1013-oracle-64kUpgrade linux-image-raspi2Upgrade linux-image-4.15.0-1188-azureUpgrade linux-image-gkeop-6.8Upgrade linux-image-5.4.0-1060-xilinx-zynqmpUpgrade linux-image-azure-fipsUpgrade linux-image-ibm-classicUpgrade linux-image-6.11.0-1012-azureUpgrade linux-image-5.15.0-1080-realtimeUpgrade linux-image-5.15.0-1074-nvidia-lowlatencyUpgrade linux-image-6.8.0-1016-azure-nvidiaUpgrade linux-image-kvmUpgrade linux-image-6.8.0-1029-azure-fdeUpgrade linux-image-azure-nvidiaUpgrade linux-image-5.4.0-1116-fipsUpgrade linux-image-4.4.0-268-lowlatencyUpgrade linux-image-virtual-hwe-24.04Upgrade linux-image-nvidia-64kUpgrade linux-image-4.4.0-1144-kvmUpgrade linux-image-4.4.0-268-genericUpgrade linux-image-azure-cvmUpgrade linux-image-oracle-64kUpgrade linux-image-nvidia-tegra-igx-rtUpgrade linux-image-realtimeUpgrade linux-image-6.8.0-1012-gkeopUpgrade linux-image-gcp-lts-18.04Upgrade linux-image-5.15.0-1086-azure-fdeUpgrade linux-image-oem-24.04aUpgrade linux-image-4.15.0-2097-azure-fipsUpgrade linux-image-6.8.0-1028-nvidia-lowlatencyUpgrade linux-image-5.15.0-1077-intel-iotgUpgrade linux-image-generic-hwe-22.04Upgrade linux-image-generic-64k-hwe-24.04Upgrade linux-image-generic-hwe-20.04Upgrade linux-image-ibm-lts-24.04Upgrade linux-image-virtualUpgrade linux-image-gcp-64kUpgrade linux-image-5.15.0-1084-azureUpgrade linux-image-oracle-lts-24.04Upgrade linux-image-6.11.0-21-genericUpgrade linux-image-gkeopUpgrade linux-image-4.15.0-1180-awsUpgrade linux-image-5.4.0-1145-gcp-fipsUpgrade linux-image-gke-5.15Upgrade linux-image-6.8.0-1025-gkeUpgrade linux-image-lowlatencyUpgrade linux-image-4.15.0-237-genericUpgrade linux-image-6.8.0-1028-raspiUpgrade linux-image-4.4.0-1143-awsUpgrade linux-image-gcp-64k-lts-24.04Upgrade linux-image-nvidiaUpgrade linux-image-5.4.0-1129-kvmUpgrade linux-image-5.15.0-1083-azure-fipsUpgrade linux-image-6.11.0-1017-oemUpgrade linux-image-4.15.0-1142-oracleUpgrade linux-image-5.15.0-1074-nvidiaUpgrade linux-image-fipsUpgrade linux-image-5.15.0-135-lowlatencyUpgrade linux-image-oem-osp1Upgrade linux-image-raspi-realtimeUpgrade linux-image-6.11.0-1011-awsUpgrade linux-image-nvidia-lowlatency-64kUpgrade linux-image-generic-hwe-16.04Upgrade linux-image-lowlatency-64kUpgrade linux-image-4.15.0-1163-kvmUpgrade linux-image-5.15.0-1033-nvidia-tegraUpgrade linux-image-6.8.0-1029-azureUpgrade linux-image-aws-lts-18.04Upgrade linux-image-lowlatency-hwe-16.04Upgrade linux-image-genericUpgrade linux-image-6.8.0-1030-gcp-64kUpgrade linux-image-5.4.0-1147-azure-fipsUpgrade linux-image-oracle-lts-20.04Upgrade linux-image-intel-iot-realtimeUpgrade linux-image-virtual-lts-xenialUpgrade linux-image-realtime-hwe-24.04Upgrade linux-image-oem-24.04bUpgrade linux-image-snapdragon-hwe-18.04Upgrade linux-image-6.8.0-1029-awsUpgrade linux-image-aws-fipsUpgrade linux-image-5.4.0-1140-oracleUpgrade linux-image-lowlatency-hwe-24.04Upgrade linux-image-nvidia-64k-hwe-22.04Upgrade linux-image-azureUpgrade linux-image-5.4.0-1142-awsUpgrade linux-image-nvidia-lowlatencyUpgrade linux-image-nvidia-64k-6.8Upgrade linux-image-lowlatency-64k-hwe-22.04Upgrade linux-image-6.11.0-1007-realtimeUpgrade linux-image-5.4.0-1142-aws-fipsUpgrade linux-image-5.15.0-1033-nvidia-tegra-rtUpgrade linux-image-5.15.0-135-genericUpgrade linux-image-5.15.0-1079-gcpUpgrade linux-image-oemUpgrade linux-image-generic-64kUpgrade linux-image-4.15.0-237-lowlatencyUpgrade linux-image-6.8.0-2023-raspi-realtimeUpgrade linux-image-5.15.0-135-generic-64kUpgrade linux-image-5.4.0-1145-gcpUpgrade linux-image-nvidia-hwe-22.04Upgrade linux-image-aws-hweUpgrade linux-image-nvidia-6.8Upgrade linux-image-oem-20.04Upgrade linux-image-bluefieldUpgrade linux-image-azure-lts-20.04Upgrade linux-image-nvidia-tegraUpgrade linux-image-6.8.0-1028-nvidia-64kUpgrade linux-image-oem-22.04cUpgrade linux-image-5.15.0-136-genericUpgrade linux-image-lowlatency-64k-hwe-20.04Upgrade linux-image-oem-22.04Upgrade linux-image-intel-iotgUpgrade linux-image-oem-22.04dUpgrade linux-image-6.8.0-60-lowlatency-64kUpgrade linux-image-5.15.0-1075-intel-iotgUpgrade linux-image-5.4.0-1101-bluefieldUpgrade linux-image-4.15.0-1135-fipsUpgrade linux-image-6.11.0-1011-lowlatencyUpgrade linux-image-5.15.0-1076-kvmUpgrade linux-image-nvidia-tegra-rtUpgrade linux-image-lowlatency-hwe-22.04Upgrade linux-image-5.15.0-1077-oracleUpgrade linux-image-oem-22.04aUpgrade linux-image-6.8.0-1030-gcpUpgrade linux-image-oracle-lts-22.04Upgrade linux-image-5.15.0-1072-ibmUpgrade linux-image-xilinx-zynqmpUpgrade linux-image-5.4.0-1147-azureUpgrade linux-image-raspiUpgrade linux-image-gkeUpgrade linux-image-6.8.0-1028-nvidia-lowlatency-64kUpgrade linux-image-6.8.0-60-generic-64kUpgrade linux-image-5.4.0-211-generic-lpaeUpgrade linux-image-5.15.0-136-generic-64kUpgrade linux-image-5.15.0-1079-gcp-fipsUpgrade linux-image-generic-lpaeUpgrade linux-image-oem-20.04bUpgrade linux-image-6.8.0-1026-oracleUpgrade linux-image-gkeop-5.15Upgrade linux-image-intelUpgrade linux-image-5.4.0-1088-ibmUpgrade linux-image-virtual-hwe-16.04Upgrade linux-image-6.8.0-1026-ibmUpgrade linux-image-raspi-nolpaeUpgrade linux-image-azure-lts-18.04Upgrade linux-image-6.8.0-1028-oemUpgrade linux-image-5.4.0-1090-ibmUpgrade linux-image-lowlatency-hwe-18.04Upgrade linux-image-oem-24.04Upgrade linux-image-generic-lts-xenialUpgrade linux-image-generic-64k-hwe-22.04Upgrade linux-image-6.8.0-1028-nvidiaUpgrade linux-image-6.11.0-1013-oracleUpgrade linux-image-6.11.0-1011-gcpUpgrade linux-image-5.15.0-1086-azureUpgrade linux-image-azure-lts-22.04Upgrade linux-image-gcp-lts-22.04Upgrade linux-image-5.15.0-1021-nvidia-tegra-igx-rtUpgrade linux-image-5.4.0-1048-iotUpgrade linux-image-5.4.0-211-lowlatencyUpgrade linux-image-6.11.0-1012-azure-fdeUpgrade linux-image-azure-fdeUpgrade linux-image-gcp-fipsUpgrade linux-image-gcp-lts-20.04Upgrade linux-image-4.15.0-1173-gcpUpgrade linux-image-4.4.0-1113-fipsUpgrade linux-image-aws-lts-22.04Upgrade linux-image-gcp-lts-24.04Upgrade linux-image-5.15.0-1044-xilinx-zynqmp | Mar 28, 2025 | Jan 8, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Jan 8, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub