7.8
HIGH
CVE-2024-46800
Linux Kernel - Netem Use After Free Vulnerability
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

INFO

Published Date :

Sept. 18, 2024, 8:15 a.m.

Last Modified :

Sept. 20, 2024, 5:18 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-46800 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-46800 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-46800 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Sep. 20, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/14f91ab8d391f249b845916820a56f42cf747241 No Types Assigned https://git.kernel.org/stable/c/14f91ab8d391f249b845916820a56f42cf747241 Patch
    Changed Reference Type https://git.kernel.org/stable/c/295ad5afd9efc5f67b86c64fce28fb94e26dc4c9 No Types Assigned https://git.kernel.org/stable/c/295ad5afd9efc5f67b86c64fce28fb94e26dc4c9 Patch
    Changed Reference Type https://git.kernel.org/stable/c/32008ab989ddcff1a485fa2b4906234c25dc5cd6 No Types Assigned https://git.kernel.org/stable/c/32008ab989ddcff1a485fa2b4906234c25dc5cd6 Patch
    Changed Reference Type https://git.kernel.org/stable/c/3b3a2a9c6349e25a025d2330f479bc33a6ccb54a No Types Assigned https://git.kernel.org/stable/c/3b3a2a9c6349e25a025d2330f479bc33a6ccb54a Patch
    Changed Reference Type https://git.kernel.org/stable/c/98c75d76187944296068d685dfd8a1e9fd8c4fdc No Types Assigned https://git.kernel.org/stable/c/98c75d76187944296068d685dfd8a1e9fd8c4fdc Patch
    Changed Reference Type https://git.kernel.org/stable/c/db2c235682913a63054e741fe4e19645fdf2d68e No Types Assigned https://git.kernel.org/stable/c/db2c235682913a63054e741fe4e19645fdf2d68e Patch
    Changed Reference Type https://git.kernel.org/stable/c/dde33a9d0b80aae0c69594d1f462515d7ff1cb3d No Types Assigned https://git.kernel.org/stable/c/dde33a9d0b80aae0c69594d1f462515d7ff1cb3d Patch
    Changed Reference Type https://git.kernel.org/stable/c/f0bddb4de043399f16d1969dad5ee5b984a64e7b No Types Assigned https://git.kernel.org/stable/c/f0bddb4de043399f16d1969dad5ee5b984a64e7b Patch
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.3 up to (excluding) 4.19.322 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.284 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.226 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.167 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.110 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.51 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.10 *cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Sep. 18, 2024

    Action Type Old Value New Value
    Added 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
    Added Reference kernel.org https://git.kernel.org/stable/c/f0bddb4de043399f16d1969dad5ee5b984a64e7b [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/295ad5afd9efc5f67b86c64fce28fb94e26dc4c9 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/98c75d76187944296068d685dfd8a1e9fd8c4fdc [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/14f91ab8d391f249b845916820a56f42cf747241 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/db2c235682913a63054e741fe4e19645fdf2d68e [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/dde33a9d0b80aae0c69594d1f462515d7ff1cb3d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/32008ab989ddcff1a485fa2b4906234c25dc5cd6 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/3b3a2a9c6349e25a025d2330f479bc33a6ccb54a [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-46800 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-46800 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability