CVE-2024-46800

sch/netem: fix use after free in netem_dequeue

HIGH
7.8
CVSS Score
Published: September 18, 2024 at 07:12 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: sch/netem: fix use after free in netem_dequeue If netem_dequeue() enqueues packet to inner qdisc and that qdisc returns __NET_XMIT_STOLEN. The packet is dropped but qdisc_tree_reduce_backlog() is not called to update the parent's q.qlen, leading to the similar use-after-free as Commit e04991a48dbaf382 ("netem: fix return value if duplicate enqueue fails") Commands to trigger KASAN UaF: ip link add type dummy ip link set lo up ip link set dummy0 up tc qdisc add dev lo parent root handle 1: drr tc filter add dev lo parent 1: basic classid 1:1 tc class add dev lo classid 1:1 drr tc qdisc add dev lo parent 1:1 handle 2: netem tc qdisc add dev lo parent 2: handle 3: drr tc filter add dev lo parent 3: basic classid 3:1 action mirred egress redirect dev dummy0 tc class add dev lo classid 3:1 drr ping -c1 -W0.01 localhost # Trigger bug tc class del dev lo classid 1:1 tc class add dev lo classid 1:1 drr ping -c1 -W0.01 localhost # UaF

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 4.19.3223.3 ≤ v < 5.10.2263.3 ≤ v < 5.15.1673.3 ≤ v < 5.4.2843.3 ≤ v < 6.1.1103.3 ≤ v < 6.10.103.3 ≤ v < 6.113.3 ≤ v < 6.6.514.20 ≤ v < 5.4.2845.11 ≤ v < 5.15.1675.16 ≤ v < 6.1.1105.5 ≤ v < 5.10.2266.2 ≤ v < 6.6.516.7 ≤ v < 6.10.1050612537e9ab29693122fab20fc1eed235054ffe6.11 rc16.11 rc26.11 rc36.11 rc46.11 rc56.11 rc6
Vendor states this is fixed in 14f91ab8d391f249b845916820a56f42cf747241 (fixed)
Vendor states this is fixed in 295ad5afd9efc5f67b86c64fce28fb94e26dc4c9 (fixed)
Vendor states this is fixed in 32008ab989ddcff1a485fa2b4906234c25dc5cd6 (fixed)
Vendor states this is fixed in 3b3a2a9c6349e25a025d2330f479bc33a6ccb54a (fixed)
Vendor states this is fixed in 98c75d76187944296068d685dfd8a1e9fd8c4fdc (fixed)
Vendor states this is fixed in db2c235682913a63054e741fe4e19645fdf2d68e (fixed)
Vendor states this is fixed in dde33a9d0b80aae0c69594d1f462515d7ff1cb3d (fixed)
Vendor states this is fixed in f0bddb4de043399f16d1969dad5ee5b984a64e7b (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.19.322 (unaffected)
Vendor states this is fixed in 5.10.226 (unaffected)
Vendor states this is fixed in 5.15.167 (unaffected)
Vendor states this is fixed in 5.4.284 (unaffected)
Vendor states this is fixed in 6.1.110 (unaffected)
Vendor states this is fixed in 6.10.10 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.51 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/14f91ab8d391f249b845916820a56f42cf747241
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/295ad5afd9efc5f67b86c64fce28fb94e26dc4c9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/32008ab989ddcff1a485fa2b4906234c25dc5cd6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b3a2a9c6349e25a025d2330f479bc33a6ccb54a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/98c75d76187944296068d685dfd8a1e9fd8c4fdc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/db2c235682913a63054e741fe4e19645fdf2d68e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dde33a9d0b80aae0c69594d1f462515d7ff1cb3d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f0bddb4de043399f16d1969dad5ee5b984a64e7b

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card