Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-56770

MEDIUM 5.5EPSS 18%

net/sched: netem: account for backlog updates from child qdisc

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 50612537e9ab29693122fab20fc1eed235054ffe, < 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 216509dda290f6db92c816dd54b83c1df9da9e76; >= 50612537e9ab29693122fab20fc1eed235054ffe, < c2047b0e216c8edce227d7c42f99ac2877dad0e4; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 10df49cfca73dfbbdb6c4150d859f7e8926ae427; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 3824c5fad18eeb7abe0c4fc966f29959552dca3e; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 356078a5c55ec8d2061fcc009fb8599f5b0527f9; >= 50612537e9ab29693122fab20fc1eed235054ffe, < f8d4bc455047cf3903cd6f85f49978987dbb3027
  • Anyone running Linux 3.3

Vulnerability facts

Affected
Linux >= 50612537e9ab29693122fab20fc1eed235054ffe, < 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 216509dda290f6db92c816dd54b83c1df9da9e76; >= 50612537e9ab29693122fab20fc1eed235054ffe, < c2047b0e216c8edce227d7c42f99ac2877dad0e4; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 10df49cfca73dfbbdb6c4150d859f7e8926ae427; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 3824c5fad18eeb7abe0c4fc966f29959552dca3e; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 356078a5c55ec8d2061fcc009fb8599f5b0527f9; >= 50612537e9ab29693122fab20fc1eed235054ffe, < f8d4bc455047cf3903cd6f85f49978987dbb3027; Linux 3.3
Fixed in
Linux 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31, Linux 216509dda290f6db92c816dd54b83c1df9da9e76, Linux 10df49cfca73dfbbdb6c4150d859f7e8926ae427, Linux 3824c5fad18eeb7abe0c4fc966f29959552dca3e, Linux 356078a5c55ec8d2061fcc009fb8599f5b0527f9
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 50612537e9ab29693122fab20fc1eed235054ffe, < 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 216509dda290f6db92c816dd54b83c1df9da9e76; >= 50612537e9ab29693122fab20fc1eed235054ffe, < c2047b0e216c8edce227d7c42f99ac2877dad0e4; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 10df49cfca73dfbbdb6c4150d859f7e8926ae427; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 3824c5fad18eeb7abe0c4fc966f29959552dca3e; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 356078a5c55ec8d2061fcc009fb8599f5b0527f9; >= 50612537e9ab29693122fab20fc1eed235054ffe, < f8d4bc455047cf3903cd6f85f49978987dbb3027—cvelist
Linux3.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-56770. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56770.md
Affected: Linux >= 50612537e9ab29693122fab20fc1eed235054ffe, < 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 216509dda290f6db92c816dd54b83c1df9da9e76; >= 50612537e9ab29693122fab20fc1eed235054ffe, < c2047b0e216c8edce227d7c42f99ac2877dad0e4; >= 50612537e9ab29693122fab…
Fixed in: Linux 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31, Linux 216509dda290f6db92c816dd54b83c1df9da9e76, Linux 10df49cfca73dfbbdb6c4150d859f7e8926ae427, Linux 3824c5fad18eeb7abe0c4fc966f29959552dca3e, Linux 356078a5c55ec8d2061fcc009fb8599f5b0527f9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-56770 being exploited?

There is no confirmed exploitation: CVE-2024-56770 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-56770?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-56770?

Linux >= 50612537e9ab29693122fab20fc1eed235054ffe, < 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 216509dda290f6db92c816dd54b83c1df9da9e76; >= 50612537e9ab29693122fab20fc1eed235054ffe, < c2047b0e216c8edce227d7c42f99ac2877dad0e4; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 10df49cfca73dfbbdb6c4150d859f7e8926ae427; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 3824c5fad18eeb7abe0c4fc966f29959552dca3e; >= 50612537e9ab29693122fab20fc1eed235054ffe, < 356078a5c55ec8d2061fcc009fb8599f5b0527f9; >= 50612537e9ab29693122fab20fc1eed235054ffe, < f8d4bc455047cf3903cd6f85f49978987dbb3027; Linux 3.3.

Is there a fix for CVE-2024-56770?

Yes. Fixed in Linux 83c6ab12f08dcc09d4c5ac86fdb89736b28f1d31, Linux 216509dda290f6db92c816dd54b83c1df9da9e76, Linux 10df49cfca73dfbbdb6c4150d859f7e8926ae427, Linux 3824c5fad18eeb7abe0c4fc966f29959552dca3e, Linux 356078a5c55ec8d2061fcc009fb8599f5b0527f9. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-56770?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors