Menu

Star on GitHub · 3.2k

CVE-2024-45016

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: netem: fix return value if duplicate enqueue fails There is a bug in netem_enqueue() introduced by commit 5845f706388a ("net: n…

Published Sep 11, 2024CWE-416EPSS 0.28%

Overview

CVE-2024-45016 is a high-severity vulnerability. It was published on September 11, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

netem: fix return value if duplicate enqueue fails

There is a bug in netem_enqueue() introduced by

commit 5845f706388a ("net: netem: fix skb length BUG_ON in __skb_to_sgvec")

that can lead to a use-after-free.

This commit made netem_enqueue() always return NET_XMIT_SUCCESS

when a packet is duplicated, which can cause the parent qdisc's q.qlen

to be mistakenly incremented. When this happens qlen_notify() may be

skipped on the parent during destruction, leaving a dangling pointer

for some classful qdiscs like DRR.

There are two ways for the bug happen:

- If the duplicated packet is dropped by rootq->enqueue() and then

the original packet is also dropped.

- If rootq->enqueue() sends the duplicated packet to a different qdisc

and the original packet is dropped.

In both cases NET_XMIT_SUCCESS is returned even though no packets

are enqueued at the netem qdisc.

The fix is to defer the enqueue of the duplicate packe

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-45016?

CVE-2024-45016 is a high-severity vulnerability. It was published on September 11, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-45016?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-45016?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-45016?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-45016 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all